A C E F G H I L M N P R S T U Y 

A

AbstractState - Class in com.googlecode.jinahya.util.fsm
State of a machine.
AbstractState(int, String) - Constructor for class com.googlecode.jinahya.util.fsm.AbstractState
Creates a new instance.
AbstractTask - Class in com.googlecode.jinahya.util.fsm
 
AbstractTask(String, TransitionMatcher...) - Constructor for class com.googlecode.jinahya.util.fsm.AbstractTask
Creates a new instance.
addPropertyChangeListener(PropertyChangeListener) - Method in class com.googlecode.jinahya.util.fsm.Machine
Adds a property change listener for property changes.
addTransitionListener(TransitionListener) - Method in class com.googlecode.jinahya.util.fsm.Machine
Adds given listener to this machine.

C

ClassResourceLoader - Class in com.googlecode.jinahya.util.fsm
A ResourceLoader implementation using a ClassLoader.
ClassResourceLoader(ClassLoader) - Constructor for class com.googlecode.jinahya.util.fsm.ClassResourceLoader
Creates a new instance.
com.googlecode.jinahya.util.fsm - package com.googlecode.jinahya.util.fsm
 

E

equals(Object) - Method in class com.googlecode.jinahya.util.fsm.AbstractState
 
equals(Object) - Method in class com.googlecode.jinahya.util.fsm.Transition
 

F

FileResourceLoader - Class in com.googlecode.jinahya.util.fsm
A ResourceLoader implementation using File I/O.
FileResourceLoader() - Constructor for class com.googlecode.jinahya.util.fsm.FileResourceLoader
 
FSMException - Exception in com.googlecode.jinahya.util.fsm
Exception for FSM.
FSMException(Throwable) - Constructor for exception com.googlecode.jinahya.util.fsm.FSMException
Creates a new instance with given cause.
FSMException(String, Throwable) - Constructor for exception com.googlecode.jinahya.util.fsm.FSMException
Creates a new instance with given message and cause.
FSMException(String) - Constructor for exception com.googlecode.jinahya.util.fsm.FSMException
Creates a new instance with given message.

G

getCode() - Method in class com.googlecode.jinahya.util.fsm.AbstractState
Returns code.
getCode() - Method in interface com.googlecode.jinahya.util.fsm.State
Returns code value of this State.
getId() - Method in class com.googlecode.jinahya.util.fsm.AbstractTask
 
getId() - Method in interface com.googlecode.jinahya.util.fsm.Task
Returns identifier.
getMachine() - Method in class com.googlecode.jinahya.util.fsm.Transition
Returns machine.
getName() - Method in class com.googlecode.jinahya.util.fsm.AbstractState
Returns name.
getName() - Method in interface com.googlecode.jinahya.util.fsm.State
Returns the name of this State.
getProperty(String) - Method in class com.googlecode.jinahya.util.fsm.Machine
Returns the property value mapped to given name.
getProperty(String) - Method in interface com.googlecode.jinahya.util.fsm.TransitionContext
Returns the property value mapped to given name.
getSource() - Method in class com.googlecode.jinahya.util.fsm.Transition
Returns the source state.
getState() - Method in class com.googlecode.jinahya.util.fsm.Machine
Returns current state.
getTarget() - Method in class com.googlecode.jinahya.util.fsm.Transition
Returns the target state.
getTasks() - Method in class com.googlecode.jinahya.util.fsm.TaskContext
Returns a map of <ID, Instance>.
getTransition() - Method in interface com.googlecode.jinahya.util.fsm.TransitionContext
Returns transition.
getTransition() - Method in class com.googlecode.jinahya.util.fsm.TransitionEvent
Returns transition.

H

hashCode() - Method in class com.googlecode.jinahya.util.fsm.AbstractState
 
hashCode() - Method in class com.googlecode.jinahya.util.fsm.Transition
 

I

INVALID - Static variable in interface com.googlecode.jinahya.util.fsm.State
A virtual State for invalid state.
isAllowed(Transition) - Method in class com.googlecode.jinahya.util.fsm.Machine
Checks if given transition is allowed.
isFinished() - Method in class com.googlecode.jinahya.util.fsm.Machine
Returns finished flag value.
isFinishing(Transition) - Method in class com.googlecode.jinahya.util.fsm.Machine
Checks if given transition is an finishing condition.
isStarted() - Method in class com.googlecode.jinahya.util.fsm.Machine
Returns started flag value.
isStarting(Transition) - Method in class com.googlecode.jinahya.util.fsm.Machine
Checks if given transition is a starting condition.

L

loadResource(String) - Method in class com.googlecode.jinahya.util.fsm.ClassResourceLoader
 
loadResource(String) - Method in class com.googlecode.jinahya.util.fsm.FileResourceLoader
 
loadResource(String) - Method in interface com.googlecode.jinahya.util.fsm.ResourceLoader
Loads resource denoted by given resourceName.

M

Machine - Class in com.googlecode.jinahya.util.fsm
A Finite State Machine.
Machine(TaskContext) - Constructor for class com.googlecode.jinahya.util.fsm.Machine
Creates a new instance.
matches(Transition) - Method in class com.googlecode.jinahya.util.fsm.AbstractTask
 
matches(Transition) - Method in class com.googlecode.jinahya.util.fsm.SwitchTask
 
matches(Transition) - Method in interface com.googlecode.jinahya.util.fsm.Task
Checks if given transition matches to any of matchers.
matches(Transition) - Method in interface com.googlecode.jinahya.util.fsm.TransitionMatcher
Matches given transition.
matchesAll(TransitionMatcher...) - Method in class com.googlecode.jinahya.util.fsm.Transition
checks if this transition matches all of given matchers.
matchesAll(List<TransitionMatcher>) - Method in class com.googlecode.jinahya.util.fsm.Transition
Checks if this transition matches all of given matchers.
matchesAny(TransitionMatcher...) - Method in class com.googlecode.jinahya.util.fsm.Transition
Checks if this transition matches any of given matchers.
matchesAny(List<TransitionMatcher>) - Method in class com.googlecode.jinahya.util.fsm.Transition
Checks if this transition matches any of given matchers.

N

newInstance(String, ResourceLoader, ClassLoader) - Static method in class com.googlecode.jinahya.util.fsm.TaskContext
Creates a new instance.
NO - Static variable in interface com.googlecode.jinahya.util.fsm.TransitionMatcher
A TransitionMatcher simply doesn't match.

P

perform(TransitionContext, Task...) - Method in class com.googlecode.jinahya.util.fsm.Machine
Performs each of given tasks with specified context.
perform(TransitionContext) - Method in class com.googlecode.jinahya.util.fsm.SwitchTask
 
perform(TransitionContext) - Method in interface com.googlecode.jinahya.util.fsm.Task
Performs desired actions for given transition.
performOff(TransitionContext) - Method in class com.googlecode.jinahya.util.fsm.SwitchTask
Performs for switched off.
performOn(TransitionContext) - Method in class com.googlecode.jinahya.util.fsm.SwitchTask
Performs for switched on.
prepare(TransitionContext) - Method in class com.googlecode.jinahya.util.fsm.SwitchTask
 
prepare(TransitionContext) - Method in interface com.googlecode.jinahya.util.fsm.Task
Prepares for given context.
prepareOff(TransitionContext) - Method in class com.googlecode.jinahya.util.fsm.SwitchTask
Prepares to be off.
prepareOn(TransitionContext) - Method in class com.googlecode.jinahya.util.fsm.SwitchTask
Prepares to be on.
PROPERTY_NAME_STATE - Static variable in class com.googlecode.jinahya.util.fsm.Machine
Property name for 'state'.

R

removePropertyChangeListener(PropertyChangeListener) - Method in class com.googlecode.jinahya.util.fsm.Machine
Removes a property change listener for property changes.
removeTransitionListener(TransitionListener) - Method in class com.googlecode.jinahya.util.fsm.Machine
Removes given listener from this machine.
ResourceLoader - Interface in com.googlecode.jinahya.util.fsm
Platform specific resource loader.

S

setPerformAfter(String) - Method in interface com.googlecode.jinahya.util.fsm.TransitionContext
Makes sure the task calling this method be performed after the task identified by sourceTaskId.
setPerformBefore(String) - Method in interface com.googlecode.jinahya.util.fsm.TransitionContext
Make sure the task calling this method be performed before the task identified by targetTaskId.
setProperty(String, Object) - Method in class com.googlecode.jinahya.util.fsm.Machine
Sets a property.
setProperty(String, Object) - Method in interface com.googlecode.jinahya.util.fsm.TransitionContext
Sets a property.
setState(State) - Method in class com.googlecode.jinahya.util.fsm.Machine
Sets state.
State - Interface in com.googlecode.jinahya.util.fsm
State of a machine.
SwitchTask - Class in com.googlecode.jinahya.util.fsm
Task for switching conditions.
SwitchTask(String, TransitionMatcher[], TransitionMatcher[]) - Constructor for class com.googlecode.jinahya.util.fsm.SwitchTask
Creates a new instance.

T

Task - Interface in com.googlecode.jinahya.util.fsm
 
TaskContext - Class in com.googlecode.jinahya.util.fsm
 
toString() - Method in class com.googlecode.jinahya.util.fsm.AbstractState
 
toString() - Method in class com.googlecode.jinahya.util.fsm.Transition
 
toString() - Method in class com.googlecode.jinahya.util.fsm.TransitionEvent
 
transited(TransitionEvent) - Method in interface com.googlecode.jinahya.util.fsm.TransitionListener
Notifies that the source machine has been transited.
Transition - Class in com.googlecode.jinahya.util.fsm
Transition between states.
Transition(Machine, State, State) - Constructor for class com.googlecode.jinahya.util.fsm.Transition
Creates a new instance.
TransitionContext - Interface in com.googlecode.jinahya.util.fsm
A context for a transition.
TransitionEvent - Class in com.googlecode.jinahya.util.fsm
Event for a Transition.
TransitionEvent(Transition) - Constructor for class com.googlecode.jinahya.util.fsm.TransitionEvent
Creates a new instance.
TransitionListener - Interface in com.googlecode.jinahya.util.fsm
An interface for listening transition events from machines.
TransitionMatcher - Interface in com.googlecode.jinahya.util.fsm
Interface for matching a transition.

U

UNKNOWN - Static variable in interface com.googlecode.jinahya.util.fsm.State
Default state that every newly created machine has.

Y

YES - Static variable in interface com.googlecode.jinahya.util.fsm.TransitionMatcher
A TransitionMatcher simply matches.
A C E F G H I L M N P R S T U Y 

Copyright © 2011. All Rights Reserved.