org.javasteps.steps
Class ConditionStep

java.lang.Object
  extended by org.javasteps.steps.ConditionStep
All Implemented Interfaces:
Step

public class ConditionStep
extends Object
implements Step

The ConditionStep class is used to hold conditional steps

Version:
1.1
Author:
Ran Kornfeld

Constructor Summary
ConditionStep(String paramName)
           
 
Method Summary
 void run(ProcessImpl process)
          Called by the ProcessInstance when a step must run
 void setCase(String value, StepsList steps)
           
 void setDefaultCase(StepsList steps)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConditionStep

public ConditionStep(String paramName)
Method Detail

run

public void run(ProcessImpl process)
Description copied from interface: Step
Called by the ProcessInstance when a step must run

Specified by:
run in interface Step
Parameters:
process - The ProcessInstance
See Also:
Step.run(org.javasteps.engine.ProcessImpl)

setCase

public void setCase(String value,
                    StepsList steps)

setDefaultCase

public void setDefaultCase(StepsList steps)