org.jbpm.sim.action
Class ProcessEndAction

java.lang.Object
  extended by org.jbpm.graph.def.Action
      extended by org.jbpm.sim.action.ProcessEndAction
All Implemented Interfaces:
java.io.Serializable, ActionHandler, Parsable

public class ProcessEndAction
extends Action

This action is called before the end of a process instance It's purpose is to record the process cycle time of the instance to the simulation model. Because we only deal with simulation time, and not real run time here, it doesn't matter if there are slowly computing actions afterwards or not, so we don't have to think about any order of actions here.

Author:
bernd.ruecker@camunda.com
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jbpm.graph.def.Action
actionDelegation, actionExpression, event, isAsync, isAsyncExclusive, isPropagationAllowed, name, processDefinition, referencedAction
 
Constructor Summary
ProcessEndAction()
           
 
Method Summary
 void execute(ExecutionContext executionContext)
           
 
Methods inherited from class org.jbpm.graph.def.Action
acceptsPropagatedEvents, equals, getActionDelegation, getActionExpression, getEvent, getId, getName, getProcessDefinition, getReferencedAction, isAsync, isAsyncExclusive, isPropagationAllowed, read, 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
 

Constructor Detail

ProcessEndAction

public ProcessEndAction()
Method Detail

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.