Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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.

Method Summary
`void` | `setState(Object s)` To set a new state.

Methods inherited from interface com.atomikos.finitestates.Stateful
`getState`

Method Detail

### 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.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2012. All Rights Reserved.