net.aerith.misao.toolkit.RawDatabaseConstruction
Class RawDatabaseConstructionInternalFrame.InformationDBObserver

java.lang.Object
  |
  +--net.aerith.misao.toolkit.RawDatabaseConstruction.RawDatabaseConstructionInternalFrame.InformationDBObserver
Enclosing class:
RawDatabaseConstructionInternalFrame

protected class RawDatabaseConstructionInternalFrame.InformationDBObserver
extends java.lang.Object
implements OperationObserver

The InformationDBObserver is an observer of an operation to construct the information database.


Constructor Summary
protected RawDatabaseConstructionInternalFrame.InformationDBObserver()
           
 
Method Summary
 void notifyEnd(java.lang.Exception exception)
          Invoked when the operation ends.
 void notifyFailed(java.lang.Object arg)
          Invoked when a task is failed.
 void notifyStart()
          Invoked when the operation starts.
 void notifySucceeded(java.lang.Object arg)
          Invoked when a task is succeeded.
 void notifyWarned(java.lang.Object arg)
          Invoked when a task is warned.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Constructor Detail

RawDatabaseConstructionInternalFrame.InformationDBObserver

protected RawDatabaseConstructionInternalFrame.InformationDBObserver()
Method Detail

notifyStart

public void notifyStart()
Invoked when the operation starts.
Specified by:
notifyStart in interface OperationObserver

notifyEnd

public void notifyEnd(java.lang.Exception exception)
Invoked when the operation ends.
Specified by:
notifyEnd in interface OperationObserver
Parameters:
exception - the exception if an error occurs, or null if succeeded.

notifySucceeded

public void notifySucceeded(java.lang.Object arg)
Invoked when a task is succeeded.
Specified by:
notifySucceeded in interface OperationObserver
Parameters:
arg - the argument.

notifyFailed

public void notifyFailed(java.lang.Object arg)
Invoked when a task is failed.
Specified by:
notifyFailed in interface OperationObserver
Parameters:
arg - the argument.

notifyWarned

public void notifyWarned(java.lang.Object arg)
Invoked when a task is warned.
Specified by:
notifyWarned in interface OperationObserver
Parameters:
arg - the argument.