net.aerith.misao.util
Interface MultiTaskConductor

All Known Implementing Classes:
FileOperationTable, InformationDBConductor

public interface MultiTaskConductor

The MultiTaskConductor represents a conductor of multi task operation on several objects.


Method Summary
 java.awt.Container getPane()
          Gets the content pane.
 void operate(MultiTaskOperation operation)
          Operates the specified operation on several objects.
 boolean ready()
          Returns true if the objects are ready to be operated.
 

Method Detail

getPane

public java.awt.Container getPane()
Gets the content pane.
Returns:
the pane.

ready

public boolean ready()
Returns true if the objects are ready to be operated.
Returns:
true if the objects are ready to be operated.

operate

public void operate(MultiTaskOperation operation)
             throws java.lang.InterruptedException,
                    java.lang.Exception
Operates the specified operation on several objects.
Parameters:
operation - the operation.
Throws:
java.lang.InterruptedException - if the operatoin is stopped.
java.lang.Exception - if an error occurs.