org.openrdf.sesame.admin
Interface AdminListener

All Known Implementing Classes:
AdminMsgCollector, DummyAdminListener, HtmlAdminMsgWriter, StdOutAdminListener, XmlAdminMsgWriter

public interface AdminListener

A listener for messages that are reported during administrative operations.


Method Summary
 void error(String msg, int lineNo, int columnNo, Statement statement)
          An error message with optionally line and column number and the statement to indicate the source of the error.
 void notification(String msg, int lineNo, int columnNo, Statement statement)
          A notification message (not an error) with optionally line and column number and the statement to indicate the source of the notification.
 void status(String msg, int lineNo, int columnNo)
          A status message with optional line and column number to indicate progress.
 void transactionEnd()
          Indicates the end of a transaction.
 void transactionStart()
          Indicates the start of a transaction.
 void warning(String msg, int lineNo, int columnNo, Statement statement)
          A warning message with optionally line and column number and the statement to indicate the source of the warning.
 

Method Detail

transactionStart

public void transactionStart()
Indicates the start of a transaction.


transactionEnd

public void transactionEnd()
Indicates the end of a transaction.


status

public void status(String msg,
                   int lineNo,
                   int columnNo)
A status message with optional line and column number to indicate progress.

Parameters:
msg - The status message.
lineNo - A line number, or -1 if unavailable or irrelevant.
columnNo - A column number, or -1 if unavailable or irrelevant.

notification

public void notification(String msg,
                         int lineNo,
                         int columnNo,
                         Statement statement)
A notification message (not an error) with optionally line and column number and the statement to indicate the source of the notification.

Parameters:
msg - The notification message.
lineNo - A line number, or -1 if unavailable or irrelevant.
columnNo - A column number, or -1 if unavailable or irrelevant.
statement - The statement, or null if unavailable or irrelevant.

warning

public void warning(String msg,
                    int lineNo,
                    int columnNo,
                    Statement statement)
A warning message with optionally line and column number and the statement to indicate the source of the warning.

Parameters:
msg - The warning message.
lineNo - A line number, or -1 if unavailable or irrelevant.
columnNo - A column number, or -1 if unavailable or irrelevant.
statement - The statement, or null if unavailable or irrelevant.

error

public void error(String msg,
                  int lineNo,
                  int columnNo,
                  Statement statement)
An error message with optionally line and column number and the statement to indicate the source of the error.

Parameters:
msg - The error message.
lineNo - A line number, or -1 if unavailable or irrelevant.
columnNo - A column number, or -1 if unavailable or irrelevant.
statement - The statement, or null if unavailable or irrelevant.


Copyright © 2002-2006 Aduna BV, GNU LGPL License applies.