public interface Semantics<S,T>
extends java.io.Serializable
Modifier and Type | Method and Description |
---|---|
ExecutionInformation |
executeExecutableTransition(T toExecute) |
S |
getCurrentState() |
java.util.Collection<T> |
getExecutableTransitions() |
void |
initialize(java.util.Collection<T> transitions,
S initialState)
Initializes this semantics.
|
void |
setCurrentState(S currentState) |
void setCurrentState(S currentState)
S getCurrentState()
java.util.Collection<T> getExecutableTransitions()
ExecutionInformation executeExecutableTransition(T toExecute) throws IllegalTransitionException
IllegalTransitionException
void initialize(java.util.Collection<T> transitions, S initialState)
transitions
- initialState
-