org.jbpm.sim.jpdl
Class SimAction
java.lang.Object
org.jbpm.graph.def.Action
org.jbpm.sim.jpdl.SimAction
- All Implemented Interfaces:
- java.io.Serializable, ActionHandler, Parsable
public class SimAction
- extends Action
The SimAction class adds behavior to check, if the action should be executed in a simulation run.
Default behavior is: not execute.
To execute an action during a simulation run, you have to configure either
the attribute simulation with the value 'execute' or to add a
element, which defines a special handler for the simulation.
Another way is to define not a , but a , which is only
executed in simulation runs
- Author:
- bernd.ruecker@camunda.com
- See Also:
- Serialized Form
| Methods inherited from class org.jbpm.graph.def.Action |
acceptsPropagatedEvents, equals, getActionDelegation, getActionExpression, getEvent, getId, getName, getProcessDefinition, getReferencedAction, isAsync, isAsyncExclusive, isPropagationAllowed, setActionDelegation, setActionExpression, setAsync, setEvent, setName, setProcessDefinition, setPropagationAllowed, setReferencedAction, toString, write |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SimAction
public SimAction()
read
public void read(org.dom4j.Element actionElement,
JpdlXmlReader jpdlReader)
- Specified by:
read in interface Parsable- Overrides:
read in class Action
execute
public void execute(ExecutionContext executionContext)
throws java.lang.Exception
- Specified by:
execute in interface ActionHandler- Overrides:
execute in class Action
- Throws:
java.lang.Exception
Copyright © 2009 JBoss, a division of Red Hat. All Rights Reserved.