|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface Stateful
A stateful job implments this interface so that it's state can be discovered. State is used to control the flow of execution within Oddjob, as well as being a way of informing client applications of progress.
| Method Summary | |
|---|---|
void |
addJobStateListener(JobStateListener listener)
Add a job state listener. |
JobStateEvent |
lastJobStateEvent()
Get the last job state event. |
void |
removeJobStateListener(JobStateListener listener)
Remove a job state listener. |
| Method Detail |
|---|
void addJobStateListener(JobStateListener listener)
listener - The listener.void removeJobStateListener(JobStateListener listener)
listener - The listener.JobStateEvent lastJobStateEvent()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||