public class FiniteStateMachine.ChangeStateTransition extends Object implements ITransition<STATE,EVENT,SUBJECT,Object>
transition
that changes the state
of a subject.Constructor and Description |
---|
ChangeStateTransition(STATE targetState) |
Modifier and Type | Method and Description |
---|---|
void |
execute(SUBJECT subject,
STATE state,
EVENT event,
Object data) |
STATE |
getTargetState() |
String |
toString() |
Copyright (c) 2011-2015 Eike Stepper (Berlin, Germany) and others.