Serialized Form


Package net.openai.util.fsm

Class net.openai.util.fsm.AbstractCondition extends java.lang.Object implements Serializable

Serialized Fields

targetState

State targetState
A handle to our target State.

Class net.openai.util.fsm.AnyCondition extends AbstractCondition implements Serializable

Class net.openai.util.fsm.BooleanCondition extends AbstractCondition implements Serializable

Serialized Fields

targetValue

boolean targetValue
Our target boolean value.

Class net.openai.util.fsm.ComparableCondition extends AbstractCondition implements Serializable

Serialized Fields

type

int type
The type of ComparableCondition this instance is.


comparable

java.lang.Comparable<T> comparable
The Comparable object that this instance will be comparing to.

Class net.openai.util.fsm.EqualsCondition extends AbstractCondition implements Serializable

Serialized Fields

target

java.lang.Object target
The object that we are going to check against.

Class net.openai.util.fsm.Machine extends java.lang.Object implements Serializable

Serialized Fields

startState

State startState
A handle to the start state. This will be the first state added to the machine.


currentState

State currentState
A handle to the current state of the machine.


syncObject

java.lang.Integer syncObject
A dummy object to synchronize on across methods.


listeners

java.util.Vector<E> listeners
A list of listeners for this Machine.

Class net.openai.util.fsm.NotCondition extends AbstractCondition implements Serializable

Serialized Fields

condition

Condition condition
The Condition to negate.

Class net.openai.util.fsm.NullCondition extends AbstractCondition implements Serializable

Class net.openai.util.fsm.State extends java.lang.Object implements Serializable

Serialized Fields

conditions

java.util.Vector<E> conditions
A Vector of Conditions to check.


name

java.lang.String name
The name of this state.


startState

boolean startState
A flag to indicate that we are a start state. This can only be set by the Machine itself. If you wish to set a State as a start state you must call setStartState() on the machine itself.


endState

boolean endState
A flag to indicate that this is an end state. Unlike the start state flag, a state's end state flag can freely be changed on the state itself.


listeners

java.util.Vector<E> listeners
A list of listeners for this state.

Class net.openai.util.fsm.UnhandledConditionException extends java.lang.Exception implements Serializable

Serialized Fields

sourceState

State sourceState
A handle to the State that failed to have a matching Condition.


sourceCondition

java.lang.Object sourceCondition
A handle to the object that failed to match any of the Conditions.


Package net.openai.util.fsm.event

Class net.openai.util.fsm.event.MachineEvent extends java.util.EventObject implements Serializable

Serialized Fields

type

int type
The type of event that this MachineEvent is.

Class net.openai.util.fsm.event.StateEvent extends java.util.EventObject implements Serializable

Serialized Fields

type

int type
The type of event that this StateEvent is.