org.pealfactory.bronze
Interface Trackable
- All Known Implementing Classes:
- 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
kERROR_NONE
public static final java.lang.String kERROR_NONE
reset
public void reset()
- Starts a new job
getProgress
public double getProgress()
- 0..100.0
isError
public boolean isError()
getErrorMsg
public java.lang.String getErrorMsg()
abort
public void abort()
pause
public void pause()
resume
public void resume()