public class UnmodifiableActivationLifeCycle extends ActivationLifeCycle
|Modifier and Type||Method and Description|
Extends the life cycle with a new transition that is created from the given state, labeled with the given event and leading to the given state.
Creates an unmodifiable copy of the given life-cycle.
containsFrom, containsTo, create, getInactiveState, getStateTransitionTable, nextActivationState, toString
public boolean addStateTransition(ActivationState from, EventType event, ActivationState to)
from- the source state of the transition
event- the event causing the transition
to- the target state of the transition
public static UnmodifiableActivationLifeCycle copyOf(ActivationLifeCycle lifeCycle)