com.evelopers.unimod.debug.protocol.position
Class EventProcessingPosition
java.lang.Object
com.evelopers.unimod.debug.protocol.position.Position
com.evelopers.unimod.debug.protocol.position.EventProcessingPosition
- All Implemented Interfaces:
- java.io.Serializable
- public class EventProcessingPosition
- extends Position
Indicates that event processing was started or was finished depending on #started
field value.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
EventProcessingPosition
public EventProcessingPosition(StateMachineContext context,
StateMachinePath path,
Event event,
StateMachineConfig config,
boolean started)
getEvent
public Event getEvent()
setEvent
public void setEvent(Event event)
- Parameters:
event
- The event to set.
getConfig
public StateMachineConfig getConfig()
isStarted
public boolean isStarted()
getContainer
public ModelElement getContainer(Model m)
- Description copied from class:
Position
- Returns container element for position.
For example, if position is execution of input action on transition, it
will return transition that holds guard with input action.
Returns State or Transition only.
- Specified by:
getContainer
in class Position
- Parameters:
m
-
- Returns:
getTarget
public ModelElement getTarget(Model m)
- Description copied from class:
Position
- Returns target element of position.
- Specified by:
getTarget
in class Position
- Parameters:
m
-
- Returns:
hashCode
public int hashCode()
- Overrides:
hashCode
in class Position
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class Position
toString
public java.lang.String toString()
- Overrides:
toString
in class Position