com.googlecode.jinahya.util.fsm
Interface State

All Superinterfaces:
Serializable
All Known Implementing Classes:
AbstractState

public interface State
extends Serializable

State of a machine.

Author:
Jin Kwon

Field Summary
static State UNKNOWN
          Default state that every newly created machine has.
 
Method Summary
 int getCode()
          Returns code value of this State.
 String getName()
          Returns the name of this State.
 

Field Detail

UNKNOWN

static final State UNKNOWN
Default state that every newly created machine has.

Method Detail

getCode

int getCode()
Returns code value of this State.

Returns:
code

getName

String getName()
Returns the name of this State.

Returns:
name


Copyright © 2011. All Rights Reserved.