org.pealfactory.bronze
Interface Trackable

All Known Implementing Classes:
Composer, ComposerCalls, ComposerLH, Librarian, Tables, Tracker

public interface Trackable

Part of the BronzeAge Java support system, this interface helps manage lengthy tasks by allowing an implementing class to provide progress information, and to allow the user to pause or abort the task. Error reporting on task completion is also provided.

See Also:
Tracker

Field Summary
static java.lang.String kERROR_NONE
           
 
Method Summary
 void abort()
           
 java.lang.String getErrorMsg()
           
 double getProgress()
          0..100.0
 boolean isError()
           
 void pause()
           
 void reset()
          Starts a new job
 void resume()
           
 

Field Detail

kERROR_NONE

static final java.lang.String kERROR_NONE
See Also:
Constant Field Values
Method Detail

reset

void reset()
Starts a new job


getProgress

double getProgress()
0..100.0


isError

boolean isError()

getErrorMsg

java.lang.String getErrorMsg()

abort

void abort()

pause

void pause()

resume

void resume()