org.jbpm.graph.def
Class Event
java.lang.Object
org.jbpm.graph.def.Event
- All Implemented Interfaces:
- Serializable
public class Event
- extends Object
- implements Serializable
- See Also:
- Serialized Form
EVENTTYPE_TRANSITION
public static final String EVENTTYPE_TRANSITION
- See Also:
- Constant Field Values
EVENTTYPE_BEFORE_SIGNAL
public static final String EVENTTYPE_BEFORE_SIGNAL
- See Also:
- Constant Field Values
EVENTTYPE_AFTER_SIGNAL
public static final String EVENTTYPE_AFTER_SIGNAL
- See Also:
- Constant Field Values
EVENTTYPE_PROCESS_START
public static final String EVENTTYPE_PROCESS_START
- See Also:
- Constant Field Values
EVENTTYPE_PROCESS_END
public static final String EVENTTYPE_PROCESS_END
- See Also:
- Constant Field Values
EVENTTYPE_NODE_ENTER
public static final String EVENTTYPE_NODE_ENTER
- See Also:
- Constant Field Values
EVENTTYPE_NODE_LEAVE
public static final String EVENTTYPE_NODE_LEAVE
- See Also:
- Constant Field Values
EVENTTYPE_SUPERSTATE_ENTER
public static final String EVENTTYPE_SUPERSTATE_ENTER
- See Also:
- Constant Field Values
EVENTTYPE_SUPERSTATE_LEAVE
public static final String EVENTTYPE_SUPERSTATE_LEAVE
- See Also:
- Constant Field Values
EVENTTYPE_SUBPROCESS_CREATED
public static final String EVENTTYPE_SUBPROCESS_CREATED
- See Also:
- Constant Field Values
EVENTTYPE_SUBPROCESS_END
public static final String EVENTTYPE_SUBPROCESS_END
- See Also:
- Constant Field Values
EVENTTYPE_TASK_CREATE
public static final String EVENTTYPE_TASK_CREATE
- See Also:
- Constant Field Values
EVENTTYPE_TASK_ASSIGN
public static final String EVENTTYPE_TASK_ASSIGN
- See Also:
- Constant Field Values
EVENTTYPE_TASK_START
public static final String EVENTTYPE_TASK_START
- See Also:
- Constant Field Values
EVENTTYPE_TASK_END
public static final String EVENTTYPE_TASK_END
- See Also:
- Constant Field Values
EVENTTYPE_TIMER_CREATE
public static final String EVENTTYPE_TIMER_CREATE
- See Also:
- Constant Field Values
EVENTTYPE_TIMER
public static final String EVENTTYPE_TIMER
- See Also:
- Constant Field Values
eventType
protected String eventType
graphElement
protected GraphElement graphElement
actions
protected List actions
Event
public Event()
Event
public Event(String eventType)
Event
public Event(GraphElement graphElement,
String eventType)
getActions
public List getActions()
- is the list of actions associated to this event.
- Returns:
- an empty list if no actions are associated.
hasActions
public boolean hasActions()
addAction
public Action addAction(Action action)
removeAction
public void removeAction(Action action)
toString
public String toString()
- Overrides:
toString in class Object
equals
public boolean equals(Object o)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
getEventType
public String getEventType()
getGraphElement
public GraphElement getGraphElement()
getId
public long getId()
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.