|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Job
Field Summary | |
---|---|
static java.lang.String |
FINISHED
String used to set status when a task is finished |
static java.lang.String |
INITIALIZE
|
Method Summary | |
---|---|
void |
add(StatusListener listener)
Method setStatusListener adds a status listener to this Process that will be notified whenver the status changes |
java.lang.String |
getName()
Method getName returns a name for this process that succinctly describes its action |
java.lang.String |
getStatus()
Method getStatus is used to indicate the current status of this long running process |
boolean |
isFinished()
Method finished allows a process monitor to know if the process is finished. |
void |
runJob()
run acts like the run method of Runnable, but is wrapped by the Job system so that any exceptions are caught and the job is set to finished. |
Field Detail |
---|
static final java.lang.String FINISHED
static final java.lang.String INITIALIZE
Method Detail |
---|
java.lang.String getStatus()
void runJob()
java.lang.String getName()
void add(StatusListener listener)
boolean isFinished()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |