|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.refractions.udig.catalog.ui.workflow.Workflow.Runner
public static class Workflow.Runner
Method Summary | |
---|---|
void |
backward(Workflow.State current,
Workflow.State next)
Event thrown when the pipe moves to a new state in a backward direction. |
void |
finished(Workflow.State last)
Event thrown when workflow is finished. |
void |
forward(Workflow.State current,
Workflow.State prev)
Event thrown when the pipe moves to a new state in the forward direction. |
boolean |
run(IProgressMonitor monitor)
|
void |
started(Workflow.State first)
Event thrown when the workflow is started. |
void |
stateFailed(Workflow.State state)
Event thrown when a state can not complete its job. |
void |
statePassed(Workflow.State state)
Event thrown when a state successfully completes its job. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public boolean run(IProgressMonitor monitor)
public void forward(Workflow.State current, Workflow.State prev)
Workflow.Listener
forward
in interface Workflow.Listener
current
- The current state.prev
- The state before the current state.public void backward(Workflow.State current, Workflow.State next)
Workflow.Listener
backward
in interface Workflow.Listener
current
- The curent state.next
- The state after the current state.public void statePassed(Workflow.State state)
Workflow.Listener
statePassed
in interface Workflow.Listener
state
- The current state.public void stateFailed(Workflow.State state)
Workflow.Listener
stateFailed
in interface Workflow.Listener
state
- The current state.public void started(Workflow.State first)
Workflow.Listener
started
in interface Workflow.Listener
first
- The first state of the pipepublic void finished(Workflow.State last)
Workflow.Listener
finished
in interface Workflow.Listener
last
- The last state of the pipe
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |