public static interface SeaOfGatesEngine.Handler
Modifier and Type | Method and Description |
---|---|
boolean |
checkAbort()
Check if we are scheduled to abort.
|
void |
debug(java.lang.String msg)
Log a message at the DEBUG level.
|
void |
error(java.lang.String msg)
Log a message at the ERROR level.
|
void |
flush(boolean force)
flush changes
Can be called only from database thread
|
EditingPreferences |
getEditingPreferences()
Returns EditingPreferences
|
java.lang.String |
getRoutingCellName()
Method to tell the name of the cell where routing results are stored.
|
void |
info(java.lang.String msg)
Log a message at the INFO level.
|
void |
instantiate(SeaOfGatesEngine.RouteResolution resolution)
Method to instantiate RouteResolution.
|
void |
setProgressNote(java.lang.String message)
Method to set a text message in the progress dialog.
|
void |
setProgressValue(long done,
long total)
Method to update the progress bar
|
void |
startProgressDialog(java.lang.String msg)
Method to start the display of a progress dialog.
|
void |
stopProgressDialog()
Method to stop the progress bar
|
void |
termLogging(ErrorLogger errorLogger)
Method called when all errors are logged.
|
void |
trace(java.lang.String msg)
Log a message at the TRACE level.
|
void |
warn(java.lang.String msg)
Log a message at the WARN level.
|
EditingPreferences getEditingPreferences()
boolean checkAbort()
void trace(java.lang.String msg)
msg
- the message string to be loggedvoid debug(java.lang.String msg)
msg
- the message string to be loggedvoid info(java.lang.String msg)
msg
- the message string to be loggedvoid warn(java.lang.String msg)
msg
- the message string to be loggedvoid error(java.lang.String msg)
msg
- the message string to be loggedvoid termLogging(ErrorLogger errorLogger)
void startProgressDialog(java.lang.String msg)
msg
- the message to show in the progress dialog.void stopProgressDialog()
void setProgressNote(java.lang.String message)
message
- the new progress message.void setProgressValue(long done, long total)
done
- the amount done (from 0 to total-1).total
- the total amount to do.void instantiate(SeaOfGatesEngine.RouteResolution resolution)
resolution
- RouteResolutionjava.lang.String getRoutingCellName()
void flush(boolean force)
force
- unconditionally perform the final flush