A C D E F G I M O P R S T W 

A

Action<T> - Interface in org.statefulj.fsm.model
Interface for an Action Class.
addState(State<T>) - Method in class org.statefulj.persistence.memory.MemoryPersisterImpl
 
addTransition(String, State<T>) - Method in class org.statefulj.fsm.model.impl.StateImpl
 
addTransition(String, State<T>, Action<T>) - Method in class org.statefulj.fsm.model.impl.StateImpl
 
addTransition(String, Transition<T>) - Method in class org.statefulj.fsm.model.impl.StateImpl
 
addTransition(String, Transition<T>) - Method in interface org.statefulj.fsm.model.State
Add a org.statefulj.fsm.model.Transtion
addTransition(String, State<T>, Action<T>) - Method in interface org.statefulj.fsm.model.State
Add a deterministic Transition with an Action
addTransition(String, State<T>) - Method in interface org.statefulj.fsm.model.State
Add a deterministic Transition with no Action

C

CompositeActionImpl<T> - Class in org.statefulj.fsm.model.impl
A "composite" Action which is composed of a set of Action.
CompositeActionImpl(List<Action<T>>) - Constructor for class org.statefulj.fsm.model.impl.CompositeActionImpl
 

D

DeterministicTransitionImpl<T> - Class in org.statefulj.fsm.model.impl
 
DeterministicTransitionImpl(State<T>, State<T>, String) - Constructor for class org.statefulj.fsm.model.impl.DeterministicTransitionImpl
 
DeterministicTransitionImpl(State<T>, State<T>, String, Action<T>) - Constructor for class org.statefulj.fsm.model.impl.DeterministicTransitionImpl
 
DeterministicTransitionImpl(State<T>, Action<T>) - Constructor for class org.statefulj.fsm.model.impl.DeterministicTransitionImpl
 
DeterministicTransitionImpl(State<T>) - Constructor for class org.statefulj.fsm.model.impl.DeterministicTransitionImpl
 

E

execute(T, String, Object...) - Method in interface org.statefulj.fsm.model.Action
Called to execute an action based off a State Transition.
execute(T, String, Object...) - Method in class org.statefulj.fsm.model.impl.CompositeActionImpl
 
execute(T, String, Object...) - Method in class org.statefulj.fsm.model.impl.WaitAndRetryActionImpl
 
executeAction(Action<T>, T, String, String, String, Object...) - Method in class org.statefulj.fsm.FSM
 

F

FSM<T> - Class in org.statefulj.fsm
The FSM is responsible for the processing the event with the current State and persisting the State with the composite Persister
FSM(String) - Constructor for class org.statefulj.fsm.FSM
FSM Constructor with the name of the FSM
FSM(Persister<T>) - Constructor for class org.statefulj.fsm.FSM
FSM Constructor with the Persister responsible for setting the State on the Entity
FSM(String, Persister<T>) - Constructor for class org.statefulj.fsm.FSM
FSM Constructor with the name of the FSM and Persister responsible for setting the State on the Entity
FSM(String, Persister<T>, int, int) - Constructor for class org.statefulj.fsm.FSM
FSM Constructor

G

getAction() - Method in class org.statefulj.fsm.model.impl.StateActionPairImpl
 
getAction() - Method in interface org.statefulj.fsm.model.StateActionPair
 
getCurrent(T) - Method in interface org.statefulj.fsm.Persister
Returns the current state.
getCurrent(T) - Method in class org.statefulj.persistence.memory.MemoryPersisterImpl
 
getCurrentState(T) - Method in class org.statefulj.fsm.FSM
 
getName() - Method in class org.statefulj.fsm.FSM
 
getName() - Method in class org.statefulj.fsm.model.impl.StateImpl
 
getName() - Method in interface org.statefulj.fsm.model.State
Name of the State.
getPersister() - Method in class org.statefulj.fsm.FSM
 
getRetryAttempts() - Method in class org.statefulj.fsm.FSM
 
getRetryInterval() - Method in class org.statefulj.fsm.FSM
 
getStart() - Method in class org.statefulj.persistence.memory.MemoryPersisterImpl
 
getState() - Method in class org.statefulj.fsm.model.impl.StateActionPairImpl
 
getState() - Method in interface org.statefulj.fsm.model.StateActionPair
 
getStateActionPair(T) - Method in class org.statefulj.fsm.model.impl.DeterministicTransitionImpl
 
getStateActionPair(T) - Method in interface org.statefulj.fsm.model.Transition
Return the StateActionPair
getStateFieldName() - Method in class org.statefulj.persistence.memory.MemoryPersisterImpl
 
getStates() - Method in class org.statefulj.persistence.memory.MemoryPersisterImpl
 
getTransition(String) - Method in class org.statefulj.fsm.model.impl.StateImpl
 
getTransition(String) - Method in interface org.statefulj.fsm.model.State
Returns the Transition for an Event
getTransitions() - Method in class org.statefulj.fsm.model.impl.StateImpl
 
getWait() - Method in exception org.statefulj.fsm.WaitAndRetryException
 

I

isBlocking() - Method in class org.statefulj.fsm.model.impl.StateImpl
 
isBlocking() - Method in interface org.statefulj.fsm.model.State
Whether this is a Blocking State.
isEndState() - Method in class org.statefulj.fsm.model.impl.StateImpl
 
isEndState() - Method in interface org.statefulj.fsm.model.State
Whether this State is an End State

M

MemoryPersisterImpl<T> - Class in org.statefulj.persistence.memory
Thread safe, in memory Persister.
MemoryPersisterImpl(Collection<State<T>>, State<T>) - Constructor for class org.statefulj.persistence.memory.MemoryPersisterImpl
 
MemoryPersisterImpl(List<State<T>>, State<T>, String) - Constructor for class org.statefulj.persistence.memory.MemoryPersisterImpl
 
MemoryPersisterImpl(T, List<State<T>>, State<T>) - Constructor for class org.statefulj.persistence.memory.MemoryPersisterImpl
 
MemoryPersisterImpl(T, List<State<T>>, State<T>, String) - Constructor for class org.statefulj.persistence.memory.MemoryPersisterImpl
 

O

onEvent(T, String, Object...) - Method in class org.statefulj.fsm.FSM
Process event.
org.statefulj.fsm - package org.statefulj.fsm
 
org.statefulj.fsm.model - package org.statefulj.fsm.model
 
org.statefulj.fsm.model.impl - package org.statefulj.fsm.model.impl
 
org.statefulj.persistence.annotations - package org.statefulj.persistence.annotations
 
org.statefulj.persistence.memory - package org.statefulj.persistence.memory
 

P

Persister<T> - Interface in org.statefulj.fsm
A Persister is responsible for maintaining the persistence of the current State of the FSM

R

removeState(State<T>) - Method in class org.statefulj.persistence.memory.MemoryPersisterImpl
 
removeState(String) - Method in class org.statefulj.persistence.memory.MemoryPersisterImpl
 
removeTransition(String) - Method in class org.statefulj.fsm.model.impl.StateImpl
 
removeTransition(String) - Method in interface org.statefulj.fsm.model.State
Remove a Transition from the State
RetryException - Exception in org.statefulj.fsm
Exception indicates that the FSM needs to retry the event
RetryException() - Constructor for exception org.statefulj.fsm.RetryException
 
RetryException(String) - Constructor for exception org.statefulj.fsm.RetryException
 

S

setAction(Action<T>) - Method in class org.statefulj.fsm.model.impl.StateActionPairImpl
 
setBlocking(boolean) - Method in class org.statefulj.fsm.model.impl.StateImpl
 
setBlocking(boolean) - Method in interface org.statefulj.fsm.model.State
Set whether or not this is a Blocking State
setCurrent(T, State<T>, State<T>) - Method in class org.statefulj.fsm.FSM
 
setCurrent(T, State<T>, State<T>) - Method in interface org.statefulj.fsm.Persister
Set the current state to the next state.
setCurrent(T, State<T>) - Method in class org.statefulj.persistence.memory.MemoryPersisterImpl
 
setCurrent(T, State<T>, State<T>) - Method in class org.statefulj.persistence.memory.MemoryPersisterImpl
 
setEndState(boolean) - Method in class org.statefulj.fsm.model.impl.StateImpl
 
setName(String) - Method in class org.statefulj.fsm.FSM
 
setName(String) - Method in class org.statefulj.fsm.model.impl.StateImpl
 
setPersister(Persister<T>) - Method in class org.statefulj.fsm.FSM
 
setRetryAttempts(int) - Method in class org.statefulj.fsm.FSM
 
setRetryInterval(int) - Method in class org.statefulj.fsm.FSM
 
setStart(State<T>) - Method in class org.statefulj.persistence.memory.MemoryPersisterImpl
 
setState(State<T>) - Method in class org.statefulj.fsm.model.impl.StateActionPairImpl
 
setStateActionPair(StateActionPair<T>) - Method in class org.statefulj.fsm.model.impl.DeterministicTransitionImpl
 
setStateFieldName(String) - Method in class org.statefulj.persistence.memory.MemoryPersisterImpl
 
setStates(Collection<State<T>>) - Method in class org.statefulj.persistence.memory.MemoryPersisterImpl
 
setTransitions(Map<String, Transition<T>>) - Method in class org.statefulj.fsm.model.impl.StateImpl
 
setWait(int) - Method in exception org.statefulj.fsm.WaitAndRetryException
 
StaleStateException - Exception in org.statefulj.fsm
Indicates that the evaluated State was inconsistent with the Persisted State
StaleStateException() - Constructor for exception org.statefulj.fsm.StaleStateException
 
StaleStateException(String) - Constructor for exception org.statefulj.fsm.StaleStateException
 
State<T> - Interface in org.statefulj.fsm.model
Represents a State with the FSM.
State - Annotation Type in org.statefulj.persistence.annotations
Indicates that the field contains the State value.
StateActionPair<T> - Interface in org.statefulj.fsm.model
A State/Action pair
StateActionPairImpl<T> - Class in org.statefulj.fsm.model.impl
 
StateActionPairImpl(State<T>, Action<T>) - Constructor for class org.statefulj.fsm.model.impl.StateActionPairImpl
 
StateImpl<T> - Class in org.statefulj.fsm.model.impl
 
StateImpl() - Constructor for class org.statefulj.fsm.model.impl.StateImpl
 
StateImpl(String) - Constructor for class org.statefulj.fsm.model.impl.StateImpl
 
StateImpl(String, boolean) - Constructor for class org.statefulj.fsm.model.impl.StateImpl
 
StateImpl(String, boolean, boolean) - Constructor for class org.statefulj.fsm.model.impl.StateImpl
 
StateImpl(String, Map<String, Transition<T>>, boolean) - Constructor for class org.statefulj.fsm.model.impl.StateImpl
 
StateImpl(String, Map<String, Transition<T>>, boolean, boolean) - Constructor for class org.statefulj.fsm.model.impl.StateImpl
 

T

TooBusyException - Exception in org.statefulj.fsm
Indicates that the number of retries has been exhausted
TooBusyException() - Constructor for exception org.statefulj.fsm.TooBusyException
 
toString() - Method in class org.statefulj.fsm.model.impl.DeterministicTransitionImpl
 
toString() - Method in class org.statefulj.fsm.model.impl.StateImpl
 
transition(T, State<T>, String, Transition<T>, Object...) - Method in class org.statefulj.fsm.FSM
 
Transition<T> - Interface in org.statefulj.fsm.model
A Transition is a "reaction" to an Event based off the State of the Stateful Entity.

W

WaitAndRetryActionImpl<T> - Class in org.statefulj.fsm.model.impl
Action with throws a WaitAndRetryException
WaitAndRetryActionImpl(int) - Constructor for class org.statefulj.fsm.model.impl.WaitAndRetryActionImpl
Constructor with a wait time expressed in milliseconds
WaitAndRetryException - Exception in org.statefulj.fsm
Indicates that the FSM should wait for a period before retrying the Event
WaitAndRetryException(int) - Constructor for exception org.statefulj.fsm.WaitAndRetryException
 
A C D E F G I M O P R S T W 

Copyright © 2015. All rights reserved.