Package nl.tue.id.oocsi

# Class StateMachine

java.lang.Object
nl.tue.id.oocsi.StateMachine

    public class StateMachine
    extends java.lang.Object

- ## Nested Class Summary

  Nested Classes
  Modifier and Type | Class | Description
  --- | --- | ---
  `class` | `StateMachine.State` |

- ## Constructor Summary

  Constructors
  Constructor | Description
  --- | ---
  `StateMachine​(OOCSI oocsi)` |

- ## Method Summary

  Modifier and Type | Method | Description
  --- | --- | ---
  `StateMachine.State` | `addState​(java.lang.String name)` |
  `StateMachine.State` | `addState​(java.lang.String name, java.lang.String enterAction, java.lang.String executeAction, java.lang.String exitAction)` |
  `void` | `execute()` |
  `java.lang.String` | `get()` |
  `boolean` | `isInState​(java.lang.String state)` |
  `void` | `set​(java.lang.String newState)` |

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### StateMachine

    public StateMachine​(OOCSI oocsi)

- ## Method Details

  - ### addState

    public StateMachine.State addState​(java.lang.String name, java.lang.String enterAction, java.lang.String executeAction, java.lang.String exitAction)

  - ### addState

    public StateMachine.State addState​(java.lang.String name)

  - ### execute

    public void execute()

  - ### isInState

    public boolean isInState​(java.lang.String state)

  - ### get

    public java.lang.String get()

  - ### set

    public void set​(java.lang.String newState)