State Transition Event
class StateTransitionEvent(val agentProcess: AgentProcess, val newState: Any, val previousState: Any? = null) : AbstractAgentProcessEvent
The agent process has transitioned to a new state.
Parameters
new State
the new state instance
previous State
the previous state instance, or null if this is the initial state
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
True if this is the initial state entry (no previous state)
Link copied to clipboard
True if staying in the same state instance (return this)
Link copied to clipboard
True if transitioning to a new instance of the same state type
Link copied to clipboard
Link copied to clipboard