org.jbpm.graph.def
Class Action
java.lang.Object
org.jbpm.graph.def.Action
- All Implemented Interfaces:
- Serializable, ActionHandler, Parsable
- Direct Known Subclasses:
- CancelTimerAction, CreateTimerAction, MailAction, Script
public class Action
- extends Object
- implements ActionHandler, Parsable
- See Also:
- Serialized Form
name
protected String name
isPropagationAllowed
protected boolean isPropagationAllowed
isAsync
protected boolean isAsync
isAsyncExclusive
protected boolean isAsyncExclusive
referencedAction
protected Action referencedAction
actionDelegation
protected Delegation actionDelegation
actionExpression
protected String actionExpression
event
protected Event event
processDefinition
protected ProcessDefinition processDefinition
Action
public Action()
Action
public Action(Delegation actionDelegate)
toString
public String toString()
- Overrides:
toString in class Object
read
public void read(org.dom4j.Element actionElement,
JpdlXmlReader jpdlReader)
- Specified by:
read in interface Parsable
write
public void write(org.dom4j.Element actionElement)
- Specified by:
write in interface Parsable
execute
public void execute(ExecutionContext executionContext)
throws Exception
- Specified by:
execute in interface ActionHandler
- Throws:
Exception
equals
public boolean equals(Object o)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
acceptsPropagatedEvents
public boolean acceptsPropagatedEvents()
isPropagationAllowed
public boolean isPropagationAllowed()
setPropagationAllowed
public void setPropagationAllowed(boolean isPropagationAllowed)
getId
public long getId()
getName
public String getName()
setName
public void setName(String name)
getEvent
public Event getEvent()
setEvent
public void setEvent(Event event)
getProcessDefinition
public ProcessDefinition getProcessDefinition()
setProcessDefinition
public void setProcessDefinition(ProcessDefinition processDefinition)
getActionDelegation
public Delegation getActionDelegation()
setActionDelegation
public void setActionDelegation(Delegation instantiatableDelegate)
getReferencedAction
public Action getReferencedAction()
setReferencedAction
public void setReferencedAction(Action referencedAction)
isAsync
public boolean isAsync()
setAsync
public void setAsync(boolean isAsync)
isAsyncExclusive
public boolean isAsyncExclusive()
setAsyncExclusive
public void setAsyncExclusive(boolean asyncExclusive)
getActionExpression
public String getActionExpression()
setActionExpression
public void setActionExpression(String actionExpression)
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.