A B C E G H I L M N R S T U

A

AbstractCondition - Class in net.openai.util.fsm
A simple base class for conditions.
AbstractCondition() - Constructor for class net.openai.util.fsm.AbstractCondition
Constructs a new AbstractCondition object.
AbstractCondition(State) - Constructor for class net.openai.util.fsm.AbstractCondition
Constructs a new AbstractCondition with the given target state.
addMachineListener(MachineListener) - Method in class net.openai.util.fsm.Machine
Adds a MachineListener to this Machine that we will deliver events to.
addStateListener(StateListener) - Method in class net.openai.util.fsm.State
Adds a StateListener to this State that we will deliver events to.
addTransition(Condition) - Method in class net.openai.util.fsm.State
Adds a Condition to this State.
addTransition(Condition, State) - Method in class net.openai.util.fsm.State
Convenience method for adding a transition from this state to the next.
AnyCondition - Class in net.openai.util.fsm
This condition will be satisfield by any condition that is passed in.
AnyCondition() - Constructor for class net.openai.util.fsm.AnyCondition
Constructs an AnyCondition instance.
AnyCondition(State) - Constructor for class net.openai.util.fsm.AnyCondition
Constructs an AnyCondition with the target state.

B

BooleanCondition - Class in net.openai.util.fsm
BooleanCondition class
BooleanCondition() - Constructor for class net.openai.util.fsm.BooleanCondition
Constructs a BooleanCondition with it's target value set to true.
BooleanCondition(boolean) - Constructor for class net.openai.util.fsm.BooleanCondition
Constructs a BooleanCondition with the given target value.
BooleanCondition(Boolean) - Constructor for class net.openai.util.fsm.BooleanCondition
Constructs a BooleanCondition with the given target value.
BooleanCondition(State) - Constructor for class net.openai.util.fsm.BooleanCondition
Constructs a BooleanCondtion with it's target value set to true and it's target state set to the given state.
BooleanCondition(State, boolean) - Constructor for class net.openai.util.fsm.BooleanCondition
Constructs a BooleanCondition with the given target value and the given target state.
BooleanCondition(State, Boolean) - Constructor for class net.openai.util.fsm.BooleanCondition
Constructs a BooleanCondition with the given target value.

C

ComparableCondition - Class in net.openai.util.fsm
ComparableCondition class
ComparableCondition(Comparable) - Constructor for class net.openai.util.fsm.ComparableCondition
Constructs a new ComparableCondition with the default type of EQUALS_TO.
ComparableCondition(Comparable, int) - Constructor for class net.openai.util.fsm.ComparableCondition
Constructs a new ComparableCondition with the default type of EQUALS_TO.
ComparableCondition(byte) - Constructor for class net.openai.util.fsm.ComparableCondition
Constructs a new ComparableCondition with the default type of EQUALS_TO.
ComparableCondition(byte, int) - Constructor for class net.openai.util.fsm.ComparableCondition
Constructs a new ComparableCondition with the default type of EQUALS_TO.
ComparableCondition(char) - Constructor for class net.openai.util.fsm.ComparableCondition
Constructs a new ComparableCondition with the default type of EQUALS_TO.
ComparableCondition(char, int) - Constructor for class net.openai.util.fsm.ComparableCondition
Constructs a new ComparableCondition with the default type of EQUALS_TO.
ComparableCondition(double) - Constructor for class net.openai.util.fsm.ComparableCondition
Constructs a new ComparableCondition with the default type of EQUALS_TO.
ComparableCondition(double, int) - Constructor for class net.openai.util.fsm.ComparableCondition
Constructs a new ComparableCondition with the default type of EQUALS_TO.
ComparableCondition(float) - Constructor for class net.openai.util.fsm.ComparableCondition
Constructs a new ComparableCondition with the default type of EQUALS_TO.
ComparableCondition(float, int) - Constructor for class net.openai.util.fsm.ComparableCondition
Constructs a new ComparableCondition with the default type of EQUALS_TO.
ComparableCondition(int) - Constructor for class net.openai.util.fsm.ComparableCondition
Constructs a new ComparableCondition with the default type of EQUALS_TO.
ComparableCondition(int, int) - Constructor for class net.openai.util.fsm.ComparableCondition
Constructs a new ComparableCondition with the default type of EQUALS_TO.
ComparableCondition(long) - Constructor for class net.openai.util.fsm.ComparableCondition
Constructs a new ComparableCondition with the default type of EQUALS_TO.
ComparableCondition(long, int) - Constructor for class net.openai.util.fsm.ComparableCondition
Constructs a new ComparableCondition with the default type of EQUALS_TO.
ComparableCondition(short) - Constructor for class net.openai.util.fsm.ComparableCondition
Constructs a new ComparableCondition with the default type of EQUALS_TO.
ComparableCondition(short, int) - Constructor for class net.openai.util.fsm.ComparableCondition
Constructs a new ComparableCondition with the default type of EQUALS_TO.
ComparableCondition(State, Comparable) - Constructor for class net.openai.util.fsm.ComparableCondition
Constructs a new ComparableCondition with the default type of EQUALS_TO.
ComparableCondition(State, Comparable, int) - Constructor for class net.openai.util.fsm.ComparableCondition
Constructs a new ComparableCondition with the default type of EQUALS_TO.
ComparableCondition(State, byte) - Constructor for class net.openai.util.fsm.ComparableCondition
Constructs a new ComparableCondition with the default type of EQUALS_TO.
ComparableCondition(State, byte, int) - Constructor for class net.openai.util.fsm.ComparableCondition
Constructs a new ComparableCondition with the default type of EQUALS_TO.
ComparableCondition(State, char) - Constructor for class net.openai.util.fsm.ComparableCondition
Constructs a new ComparableCondition with the default type of EQUALS_TO.
ComparableCondition(State, char, int) - Constructor for class net.openai.util.fsm.ComparableCondition
Constructs a new ComparableCondition with the default type of EQUALS_TO.
ComparableCondition(State, double) - Constructor for class net.openai.util.fsm.ComparableCondition
Constructs a new ComparableCondition with the default type of EQUALS_TO.
ComparableCondition(State, double, int) - Constructor for class net.openai.util.fsm.ComparableCondition
Constructs a new ComparableCondition with the default type of EQUALS_TO.
ComparableCondition(State, float) - Constructor for class net.openai.util.fsm.ComparableCondition
Constructs a new ComparableCondition with the default type of EQUALS_TO.
ComparableCondition(State, float, int) - Constructor for class net.openai.util.fsm.ComparableCondition
Constructs a new ComparableCondition with the default type of EQUALS_TO.
ComparableCondition(State, int) - Constructor for class net.openai.util.fsm.ComparableCondition
Constructs a new ComparableCondition with the default type of EQUALS_TO.
ComparableCondition(State, int, int) - Constructor for class net.openai.util.fsm.ComparableCondition
Constructs a new ComparableCondition with the default type of EQUALS_TO.
ComparableCondition(State, long) - Constructor for class net.openai.util.fsm.ComparableCondition
Constructs a new ComparableCondition with the default type of EQUALS_TO.
ComparableCondition(State, long, int) - Constructor for class net.openai.util.fsm.ComparableCondition
Constructs a new ComparableCondition with the default type of EQUALS_TO.
ComparableCondition(State, short) - Constructor for class net.openai.util.fsm.ComparableCondition
Constructs a new ComparableCondition with the default type of EQUALS_TO.
ComparableCondition(State, short, int) - Constructor for class net.openai.util.fsm.ComparableCondition
Constructs a new ComparableCondition with the default type of EQUALS_TO.
Condition - Interface in net.openai.util.fsm
This is the base class for all Conditions

E

END_FLAG_CHANGE - Static variable in class net.openai.util.fsm.event.StateEvent
This type of StateEvent indicates a toggling of the end state flag on the state.
enter(Object) - Method in class net.openai.util.fsm.State
This method is called when the state is entered.
ENTER_END - Static variable in class net.openai.util.fsm.event.StateEvent
This type of StateEvent indicates a state is done being entered.
ENTER_START - Static variable in class net.openai.util.fsm.event.StateEvent
This type of StateEvent indicates a state is about to be entered.
EQ - Static variable in class net.openai.util.fsm.ComparableCondition
A shorthand for the "equal to" operation.
EQUAL_TO - Static variable in class net.openai.util.fsm.ComparableCondition
Indicates that this is an "equal to" operation.
EqualsCondition - Class in net.openai.util.fsm
EqualsCondition class
EqualsCondition() - Constructor for class net.openai.util.fsm.EqualsCondition
Constructs a new EqualsCondition.
EqualsCondition(State) - Constructor for class net.openai.util.fsm.EqualsCondition
Constructs a new EqualsCondtion with the given target state.
EqualsCondition(Object) - Constructor for class net.openai.util.fsm.EqualsCondition
Constructs a new EqualsCondition with the target target.
EqualsCondition(State, Object) - Constructor for class net.openai.util.fsm.EqualsCondition
Constructs a new EqualsCondition with the target target and the given target state.
exit() - Method in class net.openai.util.fsm.State
This method is called when the state is exited via a transition to another state.
EXIT_END - Static variable in class net.openai.util.fsm.event.StateEvent
This type of StateEvent indicates a state is done exiting.
EXIT_START - Static variable in class net.openai.util.fsm.event.StateEvent
This type of StateEvent indicates a state is about to be exited.

G

getCondition() - Method in exception net.openai.util.fsm.UnhandledConditionException
Returns a handle to the source condition object.
getCurrentState() - Method in class net.openai.util.fsm.Machine
Returns the current state of this machine.
getEndStateFlag() - Method in class net.openai.util.fsm.State
Returns true if this state is an end state, false otherwise.
getName() - Method in class net.openai.util.fsm.State
Returns the name of this state.
getStartState() - Method in class net.openai.util.fsm.Machine
Returns a handle to the starting state for this machine.
getStartStateFlag() - Method in class net.openai.util.fsm.State
Returns true if this state is a start state, false otherwise.
getState() - Method in exception net.openai.util.fsm.UnhandledConditionException
Returns a handle to the source State.
getTarget() - Method in class net.openai.util.fsm.BooleanCondition
Returns the target value that will satisfy this condition.
getTarget() - Method in class net.openai.util.fsm.EqualsCondition
Returns the target of this equals condition.
getTargetState() - Method in class net.openai.util.fsm.AbstractCondition
Returns a handle to this AbstractCondition's current target state.
getTargetState() - Method in interface net.openai.util.fsm.Condition
Returns a handle to this Condition's current target state.
getTransitions() - Method in class net.openai.util.fsm.State
Returns a Vector of the current Conditions/Transitions for this State.
getType() - Method in class net.openai.util.fsm.ComparableCondition
Returns the type of ComparableCondition this is.
getType() - Method in class net.openai.util.fsm.event.MachineEvent
Returns the type of this MachineEvent.
getType() - Method in class net.openai.util.fsm.event.StateEvent
Returns the type of this StateEvent.
GREATER_THAN - Static variable in class net.openai.util.fsm.ComparableCondition
Indicates that this is a "greater than" operation.
GREATER_THAN_OR_EQUAL_TO - Static variable in class net.openai.util.fsm.ComparableCondition
Indicates that this is a "greater than or equal to" operation.
GT - Static variable in class net.openai.util.fsm.ComparableCondition
A shorthand for the "greater than" operation.
GTE - Static variable in class net.openai.util.fsm.ComparableCondition
A shorthand for the "greater than or equal to" operation.

H

handleMachineEvent(MachineEvent) - Method in interface net.openai.util.fsm.event.MachineListener
Implement this method to handle MachineEvents.
handleStateEvent(StateEvent) - Method in interface net.openai.util.fsm.event.StateListener
Implement this method to handle StateEvents.

I

input(Object) - Method in class net.openai.util.fsm.Machine
Takes input and passes it to the current State.
input(boolean) - Method in class net.openai.util.fsm.Machine
Convenience method to handle the boolean primitive as an input condition.
input(byte) - Method in class net.openai.util.fsm.Machine
Convenience method to handle the byte primitive type as an input condition.
input(char) - Method in class net.openai.util.fsm.Machine
Convience method to handle the char primitive type as an input condition.
input(double) - Method in class net.openai.util.fsm.Machine
Convience method to handle the double primitive type as an input condition.
input(float) - Method in class net.openai.util.fsm.Machine
Convience method to handle the float primitive type as an input condition.
input(int) - Method in class net.openai.util.fsm.Machine
Convience method to handle the int primitive type as an input condition.
input(long) - Method in class net.openai.util.fsm.Machine
Convience method to handle the long primitive type as an input condition.
input(short) - Method in class net.openai.util.fsm.Machine
Convience method to handle the Short primitive type as an input condition.

L

LESS_THAN - Static variable in class net.openai.util.fsm.ComparableCondition
Indicates that this is a "less than" operation.
LESS_THAN_OR_EQUAL_TO - Static variable in class net.openai.util.fsm.ComparableCondition
Indicates that this is a "less than or equal to" operation.
LT - Static variable in class net.openai.util.fsm.ComparableCondition
A shorthand for the "less than" operation.
LTE - Static variable in class net.openai.util.fsm.ComparableCondition
A shorthand for the "less than or equal to" operation.

M

Machine - Class in net.openai.util.fsm
The controlling Machine class for the Finite State Machine
Machine() - Constructor for class net.openai.util.fsm.Machine
Constructs a new Machine object with no start state.
Machine(State) - Constructor for class net.openai.util.fsm.Machine
Constructs a new Machine object.
MachineEvent - Class in net.openai.util.fsm.event
The Event object that will interface between the Machines and their listeners.
MachineEvent(Machine, int) - Constructor for class net.openai.util.fsm.event.MachineEvent
Constructs a new MachineEvent.
MachineListener - Interface in net.openai.util.fsm.event
An interface for listening to Machines.

N

NE - Static variable in class net.openai.util.fsm.ComparableCondition
A shorthand for the "not equal to" operation.
net.openai.util.fsm - package net.openai.util.fsm
 
net.openai.util.fsm.event - package net.openai.util.fsm.event
 
NOT_EQUAL_TO - Static variable in class net.openai.util.fsm.ComparableCondition
Indicates that this is a "not equal to" operation.
NotCondition - Class in net.openai.util.fsm
This condition works as a negation operator to another condition.
NotCondition(Condition) - Constructor for class net.openai.util.fsm.NotCondition
Constructs a new NotCondition for the given condition.
NotCondition(State, Condition) - Constructor for class net.openai.util.fsm.NotCondition
Constructs a new NotCondition for the given target state and condition.
NullCondition - Class in net.openai.util.fsm
This condition will be satisfied whenever a null is passed in as an input to the machine.
NullCondition() - Constructor for class net.openai.util.fsm.NullCondition
Constructs a new NullCondition.
NullCondition(State) - Constructor for class net.openai.util.fsm.NullCondition
Constructs a new NullCondition for the given target state.

R

removeMachineListener(MachineListener) - Method in class net.openai.util.fsm.Machine
Removes a MachineListener from this Machine.
removeStateListener(StateListener) - Method in class net.openai.util.fsm.State
Removes a StateListener from this State.
removeTransition(Condition) - Method in class net.openai.util.fsm.State
Removes a Condition as a Transition from this State.
reset() - Method in class net.openai.util.fsm.Machine
Resets this machine so that its current State is the start state.
reset(boolean, boolean) - Method in class net.openai.util.fsm.Machine
Resets this machine so that its current State is the start state.

S

satisfiedBy(Object) - Method in class net.openai.util.fsm.AnyCondition
Called to check if the conditional meets the criteria defined by this state.
satisfiedBy(Object) - Method in class net.openai.util.fsm.BooleanCondition
Called to check if the conditional meets the criteria defined by this state.
satisfiedBy(Object) - Method in class net.openai.util.fsm.ComparableCondition
Implemented method for the Condition interface.
satisfiedBy(Object) - Method in interface net.openai.util.fsm.Condition
Called to check if the conditional meets the criteria defined by this state.
satisfiedBy(Object) - Method in class net.openai.util.fsm.EqualsCondition
Implemented method for the Condition interface Called to check if the condition meets the criteria defined by this state.
satisfiedBy(Object) - Method in class net.openai.util.fsm.NotCondition
Called to check if the conditional meets the criteria defined by this condition.
satisfiedBy(Object) - Method in class net.openai.util.fsm.NullCondition
Called to check if the conditional meets the criteria defined by this condition.
setCurrentState(State) - Method in class net.openai.util.fsm.Machine
Forcibly sets the current state of this machine.
setEndStateFlag(boolean) - Method in class net.openai.util.fsm.State
Sets the value of this state's end state flag.
setName(String) - Method in class net.openai.util.fsm.State
Sets the name for this state.
setStartState(State) - Method in class net.openai.util.fsm.Machine
Sets the start state for this machine.
setTarget(boolean) - Method in class net.openai.util.fsm.BooleanCondition
Sets the target boolean value that will satisfy this condition.
setTarget(Boolean) - Method in class net.openai.util.fsm.BooleanCondition
Sets the target Boolean value that will satisfy this condition.
setTarget(Object) - Method in class net.openai.util.fsm.EqualsCondition
Sets the target of this equals condition.
setTargetState(State) - Method in class net.openai.util.fsm.AbstractCondition
Sets the target state for this Condition.
setTargetState(State) - Method in interface net.openai.util.fsm.Condition
Sets the target state for this Condition.
setType(int) - Method in class net.openai.util.fsm.ComparableCondition
Sets the type of ComparableCondition this is.
START_FLAG_CHANGE - Static variable in class net.openai.util.fsm.event.StateEvent
This type of StateEvent indicates a toggling of the start state flag on the state.
State - Class in net.openai.util.fsm
State abstract class
State() - Constructor for class net.openai.util.fsm.State
Constructs a new State.
StateEvent - Class in net.openai.util.fsm.event
The Event object that will be the interface between the States and their listeners.
StateEvent(State, int) - Constructor for class net.openai.util.fsm.event.StateEvent
Constructs a StateEvent object.
StateListener - Interface in net.openai.util.fsm.event
An interface for listening to States.

T

toString() - Method in class net.openai.util.fsm.event.StateEvent
Returns a string representation of this event.
toString() - Method in exception net.openai.util.fsm.UnhandledConditionException
Returns a String represention of this object.

U

UnhandledConditionException - Exception in net.openai.util.fsm
An Exception for when a Condition is not satisfied by the input into the Machine.
UnhandledConditionException(State, Object) - Constructor for exception net.openai.util.fsm.UnhandledConditionException
Constructs a new UnhandledConditionException

A B C E G H I L M N R S T U