org.squirrelframework.foundation.fsm.EventKind 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;
/**
* Predefined event kind
*
* @author Henry.He
*/
public enum EventKind {
/**
* Indicate the event is fired when starting state machine
*/
START,
/**
* Indicate the event is fired when child states reached final state
*/
FINISH,
/**
* Indicate the event is fired when terminating state machine
*/
TERMINATE,
/**
* Indicate the event is defined by user
*/
CUSTOM
}