Class OOCSIStateMachine.Transition
java.lang.Object
nl.tue.id.oocsi.client.behavior.state.OOCSIStateMachine.Transition
- Enclosing class:
- OOCSIStateMachine
public class OOCSIStateMachine.Transition
extends java.lang.Object
internal transition representation
-
Constructor Summary
Constructors Constructor Description Transition(OOCSIStateMachine.State from, OOCSIStateMachine.State to)
constructor that sets the given source and destination state of this new transition -
Method Summary
Modifier and Type Method Description boolean
accept(OOCSIStateMachine.State from, OOCSIStateMachine.State to)
check if the given source and destination state match this transitionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Transition
constructor that sets the given source and destination state of this new transition- Parameters:
from
-to
-
-
-
Method Details
-
accept
check if the given source and destination state match this transition- Parameters:
from
-to
-- Returns:
-