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

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.

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

getClassNames(String, ResourceLoader) - Static method in class com.googlecode.jinahya.util.fsm.TaskContext
Loads task classes.
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.Task
Returns identifier.
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.
getProprety(Task, String) - Method in interface com.googlecode.jinahya.util.fsm.TransitionContext
Returns a property value.
getProprety(String, String) - Method in interface com.googlecode.jinahya.util.fsm.TransitionContext
Returns a property value.
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.
getTaskMap() - Method in class com.googlecode.jinahya.util.fsm.TaskContext
Returns a map of task id and task instances.
getTasks() - Method in class com.googlecode.jinahya.util.fsm.TaskContext
Returns a collection of task instances.
getTransition() - Method in interface com.googlecode.jinahya.util.fsm.TransitionContext
Returns transition.

H

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

I

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

load(String) - Method in class com.googlecode.jinahya.util.fsm.ClassResourceLoader
 
load(String) - Method in class com.googlecode.jinahya.util.fsm.FileResourceLoader
 
load(String) - Method in interface com.googlecode.jinahya.util.fsm.ResourceLoader
Loads resource denoted by given resourceName.
loadClass(String) - Method in class com.googlecode.jinahya.util.fsm.TaskContext
Load class named as given className.

M

Machine - Class in com.googlecode.jinahya.util.fsm
A Finite State Machine.
Machine(MachineContext) - Constructor for class com.googlecode.jinahya.util.fsm.Machine
Creates a new instance.
MachineContext - Class in com.googlecode.jinahya.util.fsm
The machine context which performs tasks for every transition.
MachineContext(TaskContext) - Constructor for class com.googlecode.jinahya.util.fsm.MachineContext
Creates a new instance.
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(int, String) - Static method in class com.googlecode.jinahya.util.fsm.AbstractState
Creates a new State instance.

P

perform(TransitionContext, Task...) - Method in class com.googlecode.jinahya.util.fsm.MachineContext
Perform tasks.
perform(TransitionContext) - Method in class com.googlecode.jinahya.util.fsm.SwitchTask
 
perform(TransitionContext) - Method in class com.googlecode.jinahya.util.fsm.Task
Perform desired actions for given transition.
performOff(TransitionContext) - Method in class com.googlecode.jinahya.util.fsm.SimpleTask
 
performOff(TransitionContext) - Method in class com.googlecode.jinahya.util.fsm.SwitchTask
Performs for switching off.
performOn(TransitionContext) - Method in class com.googlecode.jinahya.util.fsm.SwitchTask
Performs for switching on.
prepare(TransitionContext) - Method in class com.googlecode.jinahya.util.fsm.SwitchTask
 
prepare(TransitionContext) - Method in class com.googlecode.jinahya.util.fsm.Task
 
prepareOff(TransitionContext) - Method in class com.googlecode.jinahya.util.fsm.SimpleTask
 
prepareOff(TransitionContext) - Method in class com.googlecode.jinahya.util.fsm.SwitchTask
Prepares for switching off.
prepareOn(TransitionContext) - Method in class com.googlecode.jinahya.util.fsm.SwitchTask
Prepares for switching on.

R

ResourceLoader - Interface in com.googlecode.jinahya.util.fsm
 

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(Task, 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.
SimpleTask - Class in com.googlecode.jinahya.util.fsm
Task for simple conditions.
SimpleTask(String, TransitionMatcher[]) - Constructor for class com.googlecode.jinahya.util.fsm.SimpleTask
Creates a new instance.
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 - Class in com.googlecode.jinahya.util.fsm
 
Task(String) - Constructor for class com.googlecode.jinahya.util.fsm.Task
Creates a new instance.
taskContext - Variable in class com.googlecode.jinahya.util.fsm.MachineContext
task context.
TaskContext - Class in com.googlecode.jinahya.util.fsm
 
TaskContext(Set<String>) - Constructor for class com.googlecode.jinahya.util.fsm.TaskContext
Creates a new instance.
toString() - Method in class com.googlecode.jinahya.util.fsm.AbstractState
 
toString() - Method in class com.googlecode.jinahya.util.fsm.Transition
 
transited(Transition) - Method in class com.googlecode.jinahya.util.fsm.MachineContext
Notifies a state transition.
Transition - Class in com.googlecode.jinahya.util.fsm
Transition between states.
Transition(State, State) - Constructor for class com.googlecode.jinahya.util.fsm.Transition
Creates a new instance.
TransitionContext - Interface in com.googlecode.jinahya.util.fsm
 
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.

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

Copyright © 2011. All Rights Reserved.