Skip navigation links
A C D E F G I O P R S T U V 

A

Action - Interface in com.github.oxo42.stateless4j.delegates
Represents an operation that accepts no input arguments and returns no result.
Action1<T> - Interface in com.github.oxo42.stateless4j.delegates
Represents an operation that accepts an input and returns no result
Action2<T,T1> - Interface in com.github.oxo42.stateless4j.delegates
Represents an operation that accepts an input and returns no result
Action3<T,T1,T2> - Interface in com.github.oxo42.stateless4j.delegates
Represents an operation that accepts an input and returns no result
Action4<T,T1,T2,T3> - Interface in com.github.oxo42.stateless4j.delegates
Represents an operation that accepts an input and returns no result
addEntryAction(T, Action2<Transition<S, T>, Object[]>) - Method in class com.github.oxo42.stateless4j.StateRepresentation
 
addEntryAction(Action2<Transition<S, T>, Object[]>) - Method in class com.github.oxo42.stateless4j.StateRepresentation
 
addExitAction(Action1<Transition<S, T>>) - Method in class com.github.oxo42.stateless4j.StateRepresentation
 
addSubstate(StateRepresentation<S, T>) - Method in class com.github.oxo42.stateless4j.StateRepresentation
 
addTriggerBehaviour(TriggerBehaviour<S, T>) - Method in class com.github.oxo42.stateless4j.StateRepresentation
 

C

call() - Method in interface com.github.oxo42.stateless4j.delegates.Func
Applies this function
call(T1) - Method in interface com.github.oxo42.stateless4j.delegates.Func2
Applies this function to the given input
call(T1, T2) - Method in interface com.github.oxo42.stateless4j.delegates.Func3
Applies this function to the given input
call(T1, T2, T3) - Method in interface com.github.oxo42.stateless4j.delegates.Func4
Applies this function to the given input
call() - Method in interface com.github.oxo42.stateless4j.delegates.FuncBoolean
 
canFire(T) - Method in class com.github.oxo42.stateless4j.StateMachine
Returns true if trigger can be fired in the current state
canHandle(T) - Method in class com.github.oxo42.stateless4j.StateRepresentation
 
com.github.oxo42.stateless4j - package com.github.oxo42.stateless4j
 
com.github.oxo42.stateless4j.conversion - package com.github.oxo42.stateless4j.conversion
 
com.github.oxo42.stateless4j.delegates - package com.github.oxo42.stateless4j.delegates
 
com.github.oxo42.stateless4j.transitions - package com.github.oxo42.stateless4j.transitions
 
com.github.oxo42.stateless4j.triggers - package com.github.oxo42.stateless4j.triggers
 
config - Variable in class com.github.oxo42.stateless4j.StateMachine
 
configure(S) - Method in class com.github.oxo42.stateless4j.StateMachine
 
configure(TState) - Method in class com.github.oxo42.stateless4j.StateMachineConfig
Begin configuration of the entry/exit actions and allowed transitions when the state machine is in a particular state

D

doIt() - Method in interface com.github.oxo42.stateless4j.delegates.Action
Performs this operation
doIt(T) - Method in interface com.github.oxo42.stateless4j.delegates.Action1
Performs this operation on the given input
doIt(T, T1) - Method in interface com.github.oxo42.stateless4j.delegates.Action2
Performs this operation on the given input
doIt(T, T1, T2) - Method in interface com.github.oxo42.stateless4j.delegates.Action3
Performs this operation on the given input
doIt(T, T1, T2, T3) - Method in interface com.github.oxo42.stateless4j.delegates.Action4
Performs this operation on the given input
DynamicTriggerBehaviour<S,T> - Class in com.github.oxo42.stateless4j.triggers
 
DynamicTriggerBehaviour(T, Func2<Object[], S>, FuncBoolean) - Constructor for class com.github.oxo42.stateless4j.triggers.DynamicTriggerBehaviour
 

E

enter(Transition<S, T>, Object...) - Method in class com.github.oxo42.stateless4j.StateRepresentation
 
exit(Transition<S, T>) - Method in class com.github.oxo42.stateless4j.StateRepresentation
 

F

fire(T) - Method in class com.github.oxo42.stateless4j.StateMachine
Transition from the current state via the specified trigger.
fire(TriggerWithParameters1<TArg0, S, T>, TArg0) - Method in class com.github.oxo42.stateless4j.StateMachine
Transition from the current state via the specified trigger.
fire(TriggerWithParameters2<TArg0, TArg1, S, T>, TArg0, TArg1) - Method in class com.github.oxo42.stateless4j.StateMachine
Transition from the current state via the specified trigger.
fire(TriggerWithParameters3<TArg0, TArg1, TArg2, S, T>, TArg0, TArg1, TArg2) - Method in class com.github.oxo42.stateless4j.StateMachine
Transition from the current state via the specified trigger.
Func<R> - Interface in com.github.oxo42.stateless4j.delegates
Represents a function that accepts no input and produces a result
Func2<T1,R> - Interface in com.github.oxo42.stateless4j.delegates
Represents a function that accepts an input and produces a result
Func3<T1,T2,R> - Interface in com.github.oxo42.stateless4j.delegates
Represents a function that accepts an input and produces a result
Func4<T1,T2,T3,R> - Interface in com.github.oxo42.stateless4j.delegates
Represents a function that accepts an input and produces a result
FuncBoolean - Interface in com.github.oxo42.stateless4j.delegates
 

G

generateDotFileInto(OutputStream) - Method in class com.github.oxo42.stateless4j.StateMachineConfig
 
get() - Method in class com.github.oxo42.stateless4j.OutVar
 
getDestination() - Method in class com.github.oxo42.stateless4j.transitions.Transition
The state transitioned to
getPermittedTriggers() - Method in class com.github.oxo42.stateless4j.StateMachine
The currently-permissible trigger values
getPermittedTriggers() - Method in class com.github.oxo42.stateless4j.StateRepresentation
 
getRepresentation(TState) - Method in class com.github.oxo42.stateless4j.StateMachineConfig
Return StateRepresentation for the specified state.
getSource() - Method in class com.github.oxo42.stateless4j.transitions.Transition
The state transitioned from
getState() - Method in class com.github.oxo42.stateless4j.StateMachine
The current state
getState() - Method in class com.github.oxo42.stateless4j.StateReference
 
getSuperstate() - Method in class com.github.oxo42.stateless4j.StateRepresentation
 
getTrigger() - Method in class com.github.oxo42.stateless4j.transitions.Transition
The trigger that caused the transition
getTrigger() - Method in class com.github.oxo42.stateless4j.triggers.TriggerBehaviour
 
getTrigger() - Method in class com.github.oxo42.stateless4j.triggers.TriggerWithParameters
Gets the underlying trigger value that has been configured
getTriggerBehaviours() - Method in class com.github.oxo42.stateless4j.StateRepresentation
 
getTriggerConfiguration(TTrigger) - Method in class com.github.oxo42.stateless4j.StateMachineConfig
 
getUnderlyingState() - Method in class com.github.oxo42.stateless4j.StateRepresentation
 

I

ignore(T) - Method in class com.github.oxo42.stateless4j.StateConfiguration
ignore the specified trigger when in the configured state
IgnoredTriggerBehaviour<TState,TTrigger> - Class in com.github.oxo42.stateless4j.triggers
 
IgnoredTriggerBehaviour(TTrigger, FuncBoolean) - Constructor for class com.github.oxo42.stateless4j.triggers.IgnoredTriggerBehaviour
 
ignoreIf(T, FuncBoolean) - Method in class com.github.oxo42.stateless4j.StateConfiguration
ignore the specified trigger when in the configured state, if the guard returns true
includes(S) - Method in class com.github.oxo42.stateless4j.StateRepresentation
 
insertEntryAction(Action2<Transition<S, T>, Object[]>) - Method in class com.github.oxo42.stateless4j.StateRepresentation
 
isGuardConditionMet() - Method in class com.github.oxo42.stateless4j.triggers.TriggerBehaviour
 
isIncludedIn(S) - Method in class com.github.oxo42.stateless4j.StateRepresentation
 
isInState(S) - Method in class com.github.oxo42.stateless4j.StateMachine
Determine if the state machine is in the supplied state
isReentry() - Method in class com.github.oxo42.stateless4j.transitions.Transition
True if the transition is a re-entry, i.e.

O

onEntry(Action) - Method in class com.github.oxo42.stateless4j.StateConfiguration
Specify an action that will execute when transitioning into the configured state
onEntry(Action1<Transition<S, T>>) - Method in class com.github.oxo42.stateless4j.StateConfiguration
Specify an action that will execute when transitioning into the configured state
onEntryFrom(T, Action) - Method in class com.github.oxo42.stateless4j.StateConfiguration
Specify an action that will execute when transitioning into the configured state
onEntryFrom(T, Action1<Transition<S, T>>) - Method in class com.github.oxo42.stateless4j.StateConfiguration
Specify an action that will execute when transitioning into the configured state
onEntryFrom(TriggerWithParameters1<TArg0, S, T>, Action1<TArg0>, Class<TArg0>) - Method in class com.github.oxo42.stateless4j.StateConfiguration
Specify an action that will execute when transitioning into the configured state
onEntryFrom(TriggerWithParameters1<TArg0, S, T>, Action2<TArg0, Transition<S, T>>, Class<TArg0>) - Method in class com.github.oxo42.stateless4j.StateConfiguration
Specify an action that will execute when transitioning into the configured state
onEntryFrom(TriggerWithParameters2<TArg0, TArg1, S, T>, Action2<TArg0, TArg1>, Class<TArg0>, Class<TArg1>) - Method in class com.github.oxo42.stateless4j.StateConfiguration
Specify an action that will execute when transitioning into the configured state
onEntryFrom(TriggerWithParameters2<TArg0, TArg1, S, T>, Action3<TArg0, TArg1, Transition<S, T>>, Class<TArg0>, Class<TArg1>) - Method in class com.github.oxo42.stateless4j.StateConfiguration
Specify an action that will execute when transitioning into the configured state
onEntryFrom(TriggerWithParameters3<TArg0, TArg1, TArg2, S, T>, Action3<TArg0, TArg1, TArg2>, Class<TArg0>, Class<TArg1>, Class<TArg2>) - Method in class com.github.oxo42.stateless4j.StateConfiguration
Specify an action that will execute when transitioning into the configured state
onEntryFrom(TriggerWithParameters3<TArg0, TArg1, TArg2, S, T>, Action4<TArg0, TArg1, TArg2, Transition<S, T>>, Class<TArg0>, Class<TArg1>, Class<TArg2>) - Method in class com.github.oxo42.stateless4j.StateConfiguration
Specify an action that will execute when transitioning into the configured state
onExit(Action) - Method in class com.github.oxo42.stateless4j.StateConfiguration
Specify an action that will execute when transitioning from the configured state
onExit(Action1<Transition<S, T>>) - Method in class com.github.oxo42.stateless4j.StateConfiguration
Specify an action that will execute when transitioning from the configured state
onUnhandledTrigger(Action2<S, T>) - Method in class com.github.oxo42.stateless4j.StateMachine
Override the default behaviour of throwing an exception when an unhandled trigger is fired
OutVar<T> - Class in com.github.oxo42.stateless4j
 
OutVar() - Constructor for class com.github.oxo42.stateless4j.OutVar
 

P

ParameterConversion - Class in com.github.oxo42.stateless4j.conversion
 
permit(T, S) - Method in class com.github.oxo42.stateless4j.StateConfiguration
Accept the specified trigger and transition to the destination state
permitDynamic(T, Func<S>) - Method in class com.github.oxo42.stateless4j.StateConfiguration
Accept the specified trigger and transition to the destination state, calculated dynamically by the supplied function
permitDynamic(TriggerWithParameters1<TArg0, S, T>, Func2<TArg0, S>) - Method in class com.github.oxo42.stateless4j.StateConfiguration
Accept the specified trigger and transition to the destination state, calculated dynamically by the supplied function
permitDynamic(TriggerWithParameters2<TArg0, TArg1, S, T>, Func3<TArg0, TArg1, S>) - Method in class com.github.oxo42.stateless4j.StateConfiguration
Accept the specified trigger and transition to the destination state, calculated dynamically by the supplied function
permitDynamic(TriggerWithParameters3<TArg0, TArg1, TArg2, S, T>, Func4<TArg0, TArg1, TArg2, S>) - Method in class com.github.oxo42.stateless4j.StateConfiguration
Accept the specified trigger and transition to the destination state, calculated dynamically by the supplied function
permitDynamicIf(T, Func<S>, FuncBoolean) - Method in class com.github.oxo42.stateless4j.StateConfiguration
Accept the specified trigger and transition to the destination state, calculated dynamically by the supplied function
permitDynamicIf(TriggerWithParameters1<TArg0, S, T>, Func2<TArg0, S>, FuncBoolean) - Method in class com.github.oxo42.stateless4j.StateConfiguration
Accept the specified trigger and transition to the destination state, calculated dynamically by the supplied function
permitDynamicIf(TriggerWithParameters2<TArg0, TArg1, S, T>, Func3<TArg0, TArg1, S>, FuncBoolean) - Method in class com.github.oxo42.stateless4j.StateConfiguration
Accept the specified trigger and transition to the destination state, calculated dynamically by the supplied function
permitDynamicIf(TriggerWithParameters3<TArg0, TArg1, TArg2, S, T>, Func4<TArg0, TArg1, TArg2, S>, FuncBoolean) - Method in class com.github.oxo42.stateless4j.StateConfiguration
Accept the specified trigger and transition to the destination state, calculated dynamically by the supplied function
permitIf(T, S, FuncBoolean) - Method in class com.github.oxo42.stateless4j.StateConfiguration
Accept the specified trigger and transition to the destination state
permitReentry(T) - Method in class com.github.oxo42.stateless4j.StateConfiguration
Accept the specified trigger, execute exit actions and re-execute entry actions.
permitReentryIf(T, FuncBoolean) - Method in class com.github.oxo42.stateless4j.StateConfiguration
Accept the specified trigger, execute exit actions and re-execute entry actions.
publicFire(T, Object...) - Method in class com.github.oxo42.stateless4j.StateMachine
 

R

resultsInTransitionFrom(S, Object[], OutVar<S>) - Method in class com.github.oxo42.stateless4j.transitions.TransitioningTriggerBehaviour
 
resultsInTransitionFrom(S, Object[], OutVar<S>) - Method in class com.github.oxo42.stateless4j.triggers.DynamicTriggerBehaviour
 
resultsInTransitionFrom(TState, Object[], OutVar<TState>) - Method in class com.github.oxo42.stateless4j.triggers.IgnoredTriggerBehaviour
 
resultsInTransitionFrom(S, Object[], OutVar<S>) - Method in class com.github.oxo42.stateless4j.triggers.TriggerBehaviour
 

S

set(T) - Method in class com.github.oxo42.stateless4j.OutVar
 
setState(S) - Method in class com.github.oxo42.stateless4j.StateReference
 
setSuperstate(StateRepresentation<S, T>) - Method in class com.github.oxo42.stateless4j.StateRepresentation
 
setTriggerParameters(TTrigger, Class<TArg0>) - Method in class com.github.oxo42.stateless4j.StateMachineConfig
Specify the arguments that must be supplied when a specific trigger is fired
setTriggerParameters(TTrigger, Class<TArg0>, Class<TArg1>) - Method in class com.github.oxo42.stateless4j.StateMachineConfig
Specify the arguments that must be supplied when a specific trigger is fired
setTriggerParameters(TTrigger, Class<TArg0>, Class<TArg1>, Class<TArg2>) - Method in class com.github.oxo42.stateless4j.StateMachineConfig
Specify the arguments that must be supplied when a specific trigger is fired
stateAccessor - Variable in class com.github.oxo42.stateless4j.StateMachine
 
StateConfiguration<S,T> - Class in com.github.oxo42.stateless4j
 
StateConfiguration(StateRepresentation<S, T>, Func2<S, StateRepresentation<S, T>>) - Constructor for class com.github.oxo42.stateless4j.StateConfiguration
 
StateMachine<S,T> - Class in com.github.oxo42.stateless4j
Models behaviour as transitions between a finite set of states
StateMachine(S) - Constructor for class com.github.oxo42.stateless4j.StateMachine
Construct a state machine
StateMachine(S, StateMachineConfig<S, T>) - Constructor for class com.github.oxo42.stateless4j.StateMachine
Construct a state machine
StateMachine(S, Func<S>, Action1<S>, StateMachineConfig<S, T>) - Constructor for class com.github.oxo42.stateless4j.StateMachine
Construct a state machine with external state storage.
StateMachineConfig<TState,TTrigger> - Class in com.github.oxo42.stateless4j
The state machine configuration.
StateMachineConfig() - Constructor for class com.github.oxo42.stateless4j.StateMachineConfig
 
stateMutator - Variable in class com.github.oxo42.stateless4j.StateMachine
 
StateReference<S,T> - Class in com.github.oxo42.stateless4j
 
StateReference() - Constructor for class com.github.oxo42.stateless4j.StateReference
 
StateRepresentation<S,T> - Class in com.github.oxo42.stateless4j
 
StateRepresentation(S) - Constructor for class com.github.oxo42.stateless4j.StateRepresentation
 
substateOf(S) - Method in class com.github.oxo42.stateless4j.StateConfiguration
Sets the superstate that the configured state is a substate of

T

toString() - Method in class com.github.oxo42.stateless4j.OutVar
 
toString() - Method in class com.github.oxo42.stateless4j.StateMachine
A human-readable representation of the state machine
Transition<S,T> - Class in com.github.oxo42.stateless4j.transitions
 
Transition(S, S, T) - Constructor for class com.github.oxo42.stateless4j.transitions.Transition
Construct a transition
TransitioningTriggerBehaviour<S,T> - Class in com.github.oxo42.stateless4j.transitions
 
TransitioningTriggerBehaviour(T, S, FuncBoolean) - Constructor for class com.github.oxo42.stateless4j.transitions.TransitioningTriggerBehaviour
 
TriggerBehaviour<S,T> - Class in com.github.oxo42.stateless4j.triggers
 
TriggerBehaviour(T, FuncBoolean) - Constructor for class com.github.oxo42.stateless4j.triggers.TriggerBehaviour
 
TriggerWithParameters<TState,TTrigger> - Class in com.github.oxo42.stateless4j.triggers
 
TriggerWithParameters(TTrigger, Class<?>...) - Constructor for class com.github.oxo42.stateless4j.triggers.TriggerWithParameters
Create a configured trigger
TriggerWithParameters1<TArg0,TState,TTrigger> - Class in com.github.oxo42.stateless4j.triggers
 
TriggerWithParameters1(TTrigger, Class<TArg0>) - Constructor for class com.github.oxo42.stateless4j.triggers.TriggerWithParameters1
Create a configured trigger
TriggerWithParameters2<TArg0,TArg1,TState,TTrigger> - Class in com.github.oxo42.stateless4j.triggers
 
TriggerWithParameters2(TTrigger, Class<TArg0>, Class<TArg1>) - Constructor for class com.github.oxo42.stateless4j.triggers.TriggerWithParameters2
Create a configured trigger
TriggerWithParameters3<TArg0,TArg1,TArg2,TState,TTrigger> - Class in com.github.oxo42.stateless4j.triggers
 
TriggerWithParameters3(TTrigger, Class<TArg0>, Class<TArg1>, Class<TArg2>) - Constructor for class com.github.oxo42.stateless4j.triggers.TriggerWithParameters3
Create a configured trigger
tryFindHandler(T) - Method in class com.github.oxo42.stateless4j.StateRepresentation
 

U

unhandledTriggerAction - Variable in class com.github.oxo42.stateless4j.StateMachine
 
unpack(Object[], Class<?>, int) - Static method in class com.github.oxo42.stateless4j.conversion.ParameterConversion
 

V

validate(Object[], Class<?>[]) - Static method in class com.github.oxo42.stateless4j.conversion.ParameterConversion
 
validateParameters(Object[]) - Method in class com.github.oxo42.stateless4j.triggers.TriggerWithParameters
Ensure that the supplied arguments are compatible with those configured for this trigger
A C D E F G I O P R S T U V 
Skip navigation links

Copyright © 2014. All Rights Reserved.