org.javasteps.steps
Class ActionStep

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

public class ActionStep
extends Object
implements Step

The ActionStep class is used to hold action based steps

Version:
1.1
Author:
Ran Kornfeld

Constructor Summary
ActionStep(String name, String actionClassName)
           
 
Method Summary
 String getName()
           
 void run(ProcessImpl process)
          Called by the ProcessInstance when a step must run
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ActionStep

public ActionStep(String name,
                  String actionClassName)
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(ProcessImpl process)

getName

public String getName()
Returns:
Returns the name.

toString

public String toString()
Overrides:
toString in class Object
See Also:
Object.toString()