Skip navigation links
A B C D E F G I M N O P R S T W X 

A

AbstractTransitionModel<S,E,C> - Class in se.fearless.fettle.impl
 
AbstractTransitionModel(Class<S>, Class<E>, C) - Constructor for class se.fearless.fettle.impl.AbstractTransitionModel
 
Action<S,E,C> - Interface in se.fearless.fettle
 
addEntryAction(S, Action<S, E, C>) - Method in class se.fearless.fettle.impl.MutableTransitionModelImpl
 
addEntryAction(S, Action<S, E, C>) - Method in interface se.fearless.fettle.MutableTransitionModel
 
addExitAction(S, Action<S, E, C>) - Method in class se.fearless.fettle.impl.MutableTransitionModelImpl
 
addExitAction(S, Action<S, E, C>) - Method in interface se.fearless.fettle.MutableTransitionModel
 
addFromAllTransition(S, E, Condition<C>, List<Action<S, E, C>>) - Method in class se.fearless.fettle.impl.MutableTransitionModelImpl
 
addFromAllTransition(S, E, Condition<C>, List<Action<S, E, C>>) - Method in interface se.fearless.fettle.MutableTransitionModel
 
addToMachine(MutableTransitionModel<S, E, C>) - Method in class se.fearless.fettle.builder.EntryExitActionBuilder
 
addTransition(S, S, E, Condition<C>, List<Action<S, E, C>>) - Method in class se.fearless.fettle.impl.MutableTransitionModelImpl
 
addTransition(S, S, E, Condition<C>, List<Action<S, E, C>>) - Method in interface se.fearless.fettle.MutableTransitionModel
 
always() - Static method in class se.fearless.fettle.BasicConditions
 
and(Condition<C>, Condition<C>) - Static method in class se.fearless.fettle.BasicConditions
 
and(List<Condition<C>>) - Static method in class se.fearless.fettle.BasicConditions
 
Arguments - Class in se.fearless.fettle
 
Arguments(Object, Object...) - Constructor for class se.fearless.fettle.Arguments
 
asDot(OutputStream, boolean) - Method in class se.fearless.fettle.export.DotExporter
 

B

BasicConditions - Class in se.fearless.fettle
 
BasicTransition<S,E,C> - Class in se.fearless.fettle.impl
 
BasicTransition(S, Condition<C>, Collection<Action<S, E, C>>) - Constructor for class se.fearless.fettle.impl.BasicTransition
 
build(S) - Method in class se.fearless.fettle.builder.StateMachineBuilder
Builds a state machine with the transitions and states configured by the builder.
buildTransitionModel() - Method in class se.fearless.fettle.builder.StateMachineBuilder
Builds a state machine template capable of creating many instances all sharing the same state transitions and actions but all with their own current state.

C

Condition<C> - Interface in se.fearless.fettle
 
create(Class<S>, Class<E>) - Static method in class se.fearless.fettle.builder.StateMachineBuilder
 
create(Class<S>, Class<E>, C) - Static method in class se.fearless.fettle.impl.MutableTransitionModelImpl
 
create(Class<S>, Class<E>) - Static method in class se.fearless.fettle.impl.MutableTransitionModelImpl
 
createImmutableClone() - Method in class se.fearless.fettle.impl.MutableTransitionModelImpl
 
createImmutableClone() - Method in interface se.fearless.fettle.MutableTransitionModel
 
createMap(Class<S>) - Static method in class se.fearless.fettle.impl.AbstractTransitionModel
 

D

defaultContext(C) - Method in class se.fearless.fettle.builder.StateMachineBuilder
 
defaultContext - Variable in class se.fearless.fettle.impl.AbstractTransitionModel
 
DotExporter<S,E,C> - Class in se.fearless.fettle.export
 
DotExporter(AbstractTransitionModel<S, E, C>, String) - Constructor for class se.fearless.fettle.export.DotExporter
 

E

enterActions - Variable in class se.fearless.fettle.impl.AbstractTransitionModel
 
entry(S) - Static method in class se.fearless.fettle.builder.EntryExitActionBuilder
 
EntryExit<S,E,C> - Interface in se.fearless.fettle.builder
 
EntryExitActionBuilder<S,E,C> - Class in se.fearless.fettle.builder
 
eventClass - Variable in class se.fearless.fettle.impl.AbstractTransitionModel
 
exit(S) - Static method in class se.fearless.fettle.builder.EntryExitActionBuilder
 
exitActions - Variable in class se.fearless.fettle.impl.AbstractTransitionModel
 

F

Fettle - Class in se.fearless.fettle
Utility class to have an easy to find entry point to the framework
fireEvent(StateMachine<S, E, C>, E, C) - Method in class se.fearless.fettle.impl.AbstractTransitionModel
 
fireEvent(E) - Method in class se.fearless.fettle.impl.TemplateBasedStateMachine
 
fireEvent(E, C) - Method in class se.fearless.fettle.impl.TemplateBasedStateMachine
 
fireEvent(E) - Method in interface se.fearless.fettle.StateMachine
Fires an event at the state machine, possibly triggering a state change
fireEvent(E, C) - Method in interface se.fearless.fettle.StateMachine
Fires an event at the state machine, possibly triggering a state change
fireEvent(StateMachine<S, E, C>, E, C) - Method in interface se.fearless.fettle.TransitionModel
Fires the event at the state machine.
forceSetState(StateMachine<S, E, C>, S) - Method in class se.fearless.fettle.impl.AbstractTransitionModel
 
forceSetState(S) - Method in class se.fearless.fettle.impl.TemplateBasedStateMachine
 
forceSetState(S) - Method in interface se.fearless.fettle.StateMachine
Forces the state machine to enter the forcedState even if there are no transitions leading to it No transition actions are run but exit actions on the current state and entry actions on the new state are run
forceSetState(StateMachine<S, E, C>, S) - Method in interface se.fearless.fettle.TransitionModel
Forces the state machine to enter the forcedState even if there are no transitions to that state.
From<S,E,C> - Interface in se.fearless.fettle.builder
 
from(S) - Method in interface se.fearless.fettle.builder.Transition
 
fromAll() - Method in interface se.fearless.fettle.builder.Transition
 
fromAllTransitions - Variable in class se.fearless.fettle.impl.AbstractTransitionModel
 

G

getArgument(int) - Method in class se.fearless.fettle.Arguments
 
getCondition() - Method in class se.fearless.fettle.impl.BasicTransition
 
getCurrentState() - Method in class se.fearless.fettle.impl.TemplateBasedStateMachine
 
getCurrentState() - Method in interface se.fearless.fettle.StateMachine
Gets the current state of the machine
getDefaultContext() - Method in class se.fearless.fettle.impl.AbstractTransitionModel
 
getDefaultContext() - Method in interface se.fearless.fettle.TransitionModel
 
getFirst() - Method in class se.fearless.fettle.Arguments
 
getFromAllTransitions() - Method in class se.fearless.fettle.impl.AbstractTransitionModel
 
getNumberOfArguments() - Method in class se.fearless.fettle.Arguments
 
getPossibleTransitions(S) - Method in class se.fearless.fettle.impl.AbstractTransitionModel
 
getPossibleTransitions(S) - Method in class se.fearless.fettle.impl.TemplateBasedStateMachine
 
getPossibleTransitions(S) - Method in interface se.fearless.fettle.StateMachine
Returns all possible transitions from a given state grouped by the event that triggers the transition.
getPossibleTransitions(S) - Method in interface se.fearless.fettle.TransitionModel
 
getStateTransitions() - Method in class se.fearless.fettle.impl.AbstractTransitionModel
 
getTo() - Method in class se.fearless.fettle.impl.BasicTransition
 
getTo() - Method in interface se.fearless.fettle.Transition
 
GuavaReplacement - Class in se.fearless.fettle.util
 

I

ImmutableTransitionModel<S,E,C> - Class in se.fearless.fettle.impl
 
ImmutableTransitionModel(Class<S>, Class<E>, Map<S, Map<E, Collection<BasicTransition<S, E, C>>>>, Map<E, Collection<BasicTransition<S, E, C>>>, Map<S, Collection<Action<S, E, C>>>, Map<S, Collection<Action<S, E, C>>>, C) - Constructor for class se.fearless.fettle.impl.ImmutableTransitionModel
 
isSatisfied(C) - Method in interface se.fearless.fettle.Condition
 
isSatisfied(C) - Method in class se.fearless.fettle.impl.BasicTransition
 
isSatisfied(C) - Method in interface se.fearless.fettle.Transition
 
isSatisfied(C) - Method in class se.fearless.fettle.util.PredicateCondition
 

M

MutableTransitionModel<S,E,C> - Interface in se.fearless.fettle
 
MutableTransitionModelImpl<S,E,C> - Class in se.fearless.fettle.impl
 

N

newArrayList() - Static method in class se.fearless.fettle.util.GuavaReplacement
 
newBuilder(Class<S>, Class<E>) - Static method in class se.fearless.fettle.Fettle
Constructs a new builder object to simplify the construction of state machines
newHashMap() - Static method in class se.fearless.fettle.util.GuavaReplacement
 
newStateMachine(S) - Method in class se.fearless.fettle.impl.ImmutableTransitionModel
 
newStateMachine(S, Lock) - Method in class se.fearless.fettle.impl.ImmutableTransitionModel
 
newStateMachine(S) - Method in class se.fearless.fettle.impl.MutableTransitionModelImpl
 
newStateMachine(S, Lock) - Method in class se.fearless.fettle.impl.MutableTransitionModelImpl
 
newStateMachine(S) - Method in interface se.fearless.fettle.StateMachineTemplate
Creates a new state machine using the transition model as a template
newStateMachine(S, Lock) - Method in interface se.fearless.fettle.StateMachineTemplate
 
newTransitionModel(Class<S>, Class<E>) - Static method in class se.fearless.fettle.Fettle
Constructs a new transition model that holds the definition for a state machine
NO_ARGS - Static variable in class se.fearless.fettle.Arguments
 
not(Condition<C>) - Static method in class se.fearless.fettle.BasicConditions
 

O

On<S,E,C> - Interface in se.fearless.fettle.builder
 
on(E) - Method in interface se.fearless.fettle.builder.To
 
onEntry(S) - Method in class se.fearless.fettle.builder.StateMachineBuilder
 
onExit(S) - Method in class se.fearless.fettle.builder.StateMachineBuilder
 
onTransition(S, S, E, C, StateMachine<S, E, C>) - Method in interface se.fearless.fettle.Action
Called when a transition occurs
onTransition(S, S, E, C, StateMachine<S, E, C>) - Method in class se.fearless.fettle.impl.BasicTransition
 
or(Condition<C>, Condition<C>) - Static method in class se.fearless.fettle.BasicConditions
 
or(List<Condition<C>>) - Static method in class se.fearless.fettle.BasicConditions
 

P

perform(Action<S, E, C>) - Method in interface se.fearless.fettle.builder.EntryExit
 
perform(List<Action<S, E, C>>) - Method in interface se.fearless.fettle.builder.EntryExit
 
perform(Action<S, E, C>) - Method in class se.fearless.fettle.builder.EntryExitActionBuilder
 
perform(List<Action<S, E, C>>) - Method in class se.fearless.fettle.builder.EntryExitActionBuilder
 
perform(Action<S, E, C>) - Method in interface se.fearless.fettle.builder.When
 
perform(List<Action<S, E, C>>) - Method in interface se.fearless.fettle.builder.When
 
PredicateCondition<C> - Class in se.fearless.fettle.util
 
PredicateCondition(Predicate<? super C>) - Constructor for class se.fearless.fettle.util.PredicateCondition
 

R

rawSetState(S) - Method in class se.fearless.fettle.impl.TemplateBasedStateMachine
 
rawSetState(S) - Method in interface se.fearless.fettle.StateMachine
Sets the state of the state machine to the rawState even if there are no transitions leading to it No transition, entry or exit actions are run

S

se.fearless.fettle - package se.fearless.fettle
 
se.fearless.fettle.builder - package se.fearless.fettle.builder
 
se.fearless.fettle.export - package se.fearless.fettle.export
 
se.fearless.fettle.impl - package se.fearless.fettle.impl
 
se.fearless.fettle.util - package se.fearless.fettle.util
 
stateClass - Variable in class se.fearless.fettle.impl.AbstractTransitionModel
 
StateMachine<S,E,C> - Interface in se.fearless.fettle
A view of a state machine from a users perspective, i.e it is immutable and already set up.
StateMachineBuilder<S,E,C> - Class in se.fearless.fettle.builder
 
StateMachineTemplate<S,E,C> - Interface in se.fearless.fettle
 

T

TemplateBasedStateMachine<S,E,C> - Class in se.fearless.fettle.impl
 
TemplateBasedStateMachine(TransitionModel<S, E, C>, S, Lock) - Constructor for class se.fearless.fettle.impl.TemplateBasedStateMachine
 
to(S) - Method in interface se.fearless.fettle.builder.From
 
To<S,E,C> - Interface in se.fearless.fettle.builder
 
toString() - Method in class se.fearless.fettle.Arguments
 
transition() - Method in class se.fearless.fettle.builder.StateMachineBuilder
 
Transition<S,E,C> - Interface in se.fearless.fettle.builder
 
Transition<S,C> - Interface in se.fearless.fettle
 
transitionMap - Variable in class se.fearless.fettle.impl.AbstractTransitionModel
 
TransitionModel<S,E,C> - Interface in se.fearless.fettle
 

W

when(Condition<C>) - Method in interface se.fearless.fettle.builder.On
 
When<S,E,C> - Interface in se.fearless.fettle.builder
 

X

xor(Condition<C>, Condition<C>) - Static method in class se.fearless.fettle.BasicConditions
 
A B C D E F G I M N O P R S T W X 
Skip navigation links