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

C

com.googlecode.jinahya.util.fsm - package com.googlecode.jinahya.util.fsm
 

D

DEFAULT_RESOURCE_LOADER - Static variable in class com.googlecode.jinahya.util.fsm.TaskContext
Default implementation.

E

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

F

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.State
Returns code.
getId() - Method in class com.googlecode.jinahya.util.fsm.Task
Returns identifier.
getName() - Method in class com.googlecode.jinahya.util.fsm.State
Returns name.
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 an unmodifiable map of task if and tasks.
getTasks() - Method in class com.googlecode.jinahya.util.fsm.TaskContext
Returns an unmodifiable 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.State
 
hashCode() - Method in class com.googlecode.jinahya.util.fsm.Transition
 

I

instantiate(Set<Class<? extends Task>>) - Static method in class com.googlecode.jinahya.util.fsm.TaskContext
Creates a new instance of FSMContext.
INVALID - Static variable in class com.googlecode.jinahya.util.fsm.State
Constant 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

load(String, ClassLoader) - Static method in class com.googlecode.jinahya.util.fsm.TaskContext
Loads task classes.
load(String, ClassLoader, TaskContext.ResourceLoader) - Static method in class com.googlecode.jinahya.util.fsm.TaskContext
Loads task classes.
load(ClassLoader, String) - Method in interface com.googlecode.jinahya.util.fsm.TaskContext.ResourceLoader
Loads resource denoted by given resourceName using specified classLoader.

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.
matchesAny(TransitionMatcher...) - Method in class com.googlecode.jinahya.util.fsm.Transition
Check if this transition matches any of given matchers.

N

newInstance(String) - Static method in class com.googlecode.jinahya.util.fsm.TaskContext
 
newInstance(String, TaskContext.ResourceLoader) - Static method in class com.googlecode.jinahya.util.fsm.TaskContext
 
newInstance(String, ClassLoader) - Static method in class com.googlecode.jinahya.util.fsm.TaskContext
 
newInstance(String, ClassLoader, TaskContext.ResourceLoader) - Static method in class com.googlecode.jinahya.util.fsm.TaskContext
 

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.

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 - Class in com.googlecode.jinahya.util.fsm
State of a machine.
State(int, String) - Constructor for class com.googlecode.jinahya.util.fsm.State
Creates a new instance.
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<Class<? extends Task>>) - Constructor for class com.googlecode.jinahya.util.fsm.TaskContext
Creates a new instance.
TaskContext.ResourceLoader - Interface in com.googlecode.jinahya.util.fsm
Platform specific resource loader.
toString() - Method in class com.googlecode.jinahya.util.fsm.State
 
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 class com.googlecode.jinahya.util.fsm.State
Default state for all newly created machines.

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

Copyright © 2011. All Rights Reserved.