|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.zeroexchange.flow.AbstractFlow<D>
public abstract class AbstractFlow<D>
Field Summary |
---|
Fields inherited from interface org.zeroexchange.flow.Flow |
---|
FLOWNAME_DEFAULT |
Constructor Summary | |
---|---|
AbstractFlow()
|
Method Summary | |
---|---|
protected Step<D> |
getCurrentStep()
Returns the current step. |
protected abstract Step<D> |
getFirstStep()
Returns the first step |
protected abstract Step<D> |
getStep(String nextStepDiscriminator)
Returns the step by id |
protected abstract boolean |
isNextStepAllowed(String nextStepDiscriminator)
Returns true if the next step is allowed. |
void |
jumpBack(String stepDiscriminator)
Jumps to the one of previous steps. |
void |
next()
Moves to the default next step. |
void |
next(String nextStepDiscriminator)
Moves to the next step. |
void |
next(String nextStepDiscriminator,
Map<String,Object> actionData)
Moves to the next step. |
Object |
prev()
Moves to the previous step from the stack. |
void |
start(Map<String,?> actionData)
Moves to first step. |
protected void |
startNextStep(Step<D> step,
D flowData,
Map<String,?> actionData)
Starts the step. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.zeroexchange.flow.Flow |
---|
getStepManager |
Constructor Detail |
---|
public AbstractFlow()
Method Detail |
---|
public void start(Map<String,?> actionData)
start
in interface Flow<D>
public void next()
next
in interface Flow<D>
public void next(String nextStepDiscriminator)
next
in interface Flow<D>
public void next(String nextStepDiscriminator, Map<String,Object> actionData)
next
in interface Flow<D>
public Object prev()
prev
in interface Flow<D>
protected void startNextStep(Step<D> step, D flowData, Map<String,?> actionData)
protected Step<D> getCurrentStep()
public void jumpBack(String stepDiscriminator)
Flow
jumpBack
in interface Flow<D>
protected abstract boolean isNextStepAllowed(String nextStepDiscriminator)
protected abstract Step<D> getStep(String nextStepDiscriminator)
protected abstract Step<D> getFirstStep()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |