org.jbpm.graph.exe
Class RuntimeAction
java.lang.Object
org.jbpm.graph.exe.RuntimeAction
- All Implemented Interfaces:
- Serializable
public class RuntimeAction
- extends Object
- implements Serializable
is an action added at runtime to the execution of one process instance.
- See Also:
- Serialized Form
processInstance
protected ProcessInstance processInstance
graphElement
protected GraphElement graphElement
eventType
protected String eventType
action
protected Action action
RuntimeAction
public RuntimeAction()
RuntimeAction
public RuntimeAction(Event event,
Action action)
- creates a runtime action. Look up the event with
GraphElement.getEvent(String) and the action with
ProcessDefinition.getAction(String). You can only lookup named
actions easily.
RuntimeAction
public RuntimeAction(GraphElement graphElement,
String eventType,
Action action)
equals
public boolean equals(Object o)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
getId
public long getId()
getProcessInstance
public ProcessInstance getProcessInstance()
getAction
public Action getAction()
getEventType
public String getEventType()
getGraphElement
public GraphElement getGraphElement()
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.