com.atomikos.finitestates
Interface StateMutable
- All Superinterfaces:
- Stateful
- All Known Subinterfaces:
- FSM
- All Known Implementing Classes:
- FSMImp
public interface StateMutable
- extends Stateful
Abstract representation of an object that has a state and this state
can be set.
A state can be anything.
setState
void setState(Object s)
throws IllegalStateException
- To set a new state.
- Parameters:
s
- The new state.
- Throws:
IllegalStateException
- if the new state transition to
the new state is not allowed.
Copyright © 2011. All Rights Reserved.