org.squirrelframework.foundation.fsm.StateMachineStatus Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of squirrel-foundation Show documentation
Show all versions of squirrel-foundation Show documentation
foundation module of squirrel framework which provided event driven infrastructure and a finite state machine implementation.
package org.squirrelframework.foundation.fsm;
/**
* Indicate state machine running status
*
* @author Henry.He
*
*/
public enum StateMachineStatus {
/**
* State machine is instantiated but not started
*/
INITIALIZED,
/**
* State machine is started but not processing any event
*/
IDLE,
/**
* State machine is processing events
*/
BUSY,
/**
* State machine is terminated
*/
TERMINATED,
/**
* State machine is in error state
*/
ERROR
}