Class ObjectState<S,E> 
java.lang.Object
org.springframework.statemachine.support.LifecycleObjectSupport
org.springframework.statemachine.state.AbstractState<S,E>
 
org.springframework.statemachine.state.AbstractSimpleState<S,E>
 
org.springframework.statemachine.state.ObjectState<S,E> 
- Type Parameters:
- S- the type of state
- E- the type of event
- All Implemented Interfaces:
- org.springframework.beans.factory.Aware,- org.springframework.beans.factory.BeanFactoryAware,- org.springframework.beans.factory.DisposableBean,- org.springframework.beans.factory.InitializingBean,- org.springframework.context.Lifecycle,- org.springframework.context.Phased,- org.springframework.context.SmartLifecycle,- State<S,,- E> - StateMachineReactiveLifecycle
- Direct Known Subclasses:
- EnumState
A 
State implementation where state and event is object based.- 
Field SummaryFields inherited from interface org.springframework.context.SmartLifecycleDEFAULT_PHASE
- 
Constructor SummaryConstructorsConstructorDescriptionObjectState(S id) Instantiates a new object state.ObjectState(S id, Collection<E> deferred) Instantiates a new object state.ObjectState(S id, Collection<E> deferred, Collection<Function<StateContext<S, E>, reactor.core.publisher.Mono<Void>>> entryActions, Collection<Function<StateContext<S, E>, reactor.core.publisher.Mono<Void>>> exitActions) Instantiates a new object state.ObjectState(S id, Collection<E> deferred, Collection<Function<StateContext<S, E>, reactor.core.publisher.Mono<Void>>> entryActions, Collection<Function<StateContext<S, E>, reactor.core.publisher.Mono<Void>>> exitActions, Collection<Function<StateContext<S, E>, reactor.core.publisher.Mono<Void>>> stateActions, PseudoState<S, E> pseudoState, Collection<Region<S, E>> regions, StateMachine<S, E> submachine) Instantiates a new object state.ObjectState(S id, Collection<E> deferred, Collection<Function<StateContext<S, E>, reactor.core.publisher.Mono<Void>>> entryActions, Collection<Function<StateContext<S, E>, reactor.core.publisher.Mono<Void>>> exitActions, PseudoState<S, E> pseudoState) Instantiates a new object state.ObjectState(S id, Collection<E> deferred, Collection<Function<StateContext<S, E>, reactor.core.publisher.Mono<Void>>> entryActions, Collection<Function<StateContext<S, E>, reactor.core.publisher.Mono<Void>>> exitActions, PseudoState<S, E> pseudoState, Collection<Region<S, E>> regions) Instantiates a new object state.ObjectState(S id, Collection<E> deferred, Collection<Function<StateContext<S, E>, reactor.core.publisher.Mono<Void>>> entryActions, Collection<Function<StateContext<S, E>, reactor.core.publisher.Mono<Void>>> exitActions, PseudoState<S, E> pseudoState, StateMachine<S, E> submachine) Instantiates a new object state.ObjectState(S id, PseudoState<S, E> pseudoState) Instantiates a new object state.
- 
Method SummaryMethods inherited from class org.springframework.statemachine.state.AbstractSimpleStategetIds, getStatesMethods inherited from class org.springframework.statemachine.state.AbstractStateaddActionListener, addStateListener, armTriggers, disarmTriggers, doPreStartReactively, doPreStopReactively, executeAction, getDeferredEvents, getEntryActions, getExitActions, getId, getPseudoState, getRegions, getStateActions, getSubmachine, getTriggers, handleStateDoOnComplete, isComposite, isOrthogonal, isSimple, isSubmachineState, notifyStateOnComplete, removeActionListener, removeStateListener, sendEvent, setStateDoActionPolicy, setStateDoActionPolicyTimeout, setTriggers, shouldDeferMethods inherited from class org.springframework.statemachine.support.LifecycleObjectSupportafterPropertiesSet, destroy, doDestroy, doPostStartReactively, doPostStopReactively, getBeanFactory, getPhase, isAutoStartup, isRunning, onInit, setAutoStartup, setBeanFactory, setPhase, start, startReactively, stop, stopReactivelyMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.springframework.context.SmartLifecyclestop
- 
Constructor Details- 
ObjectStateInstantiates a new object state.- Parameters:
- id- the id
 
- 
ObjectStateInstantiates a new object state.- Parameters:
- id- the id
- pseudoState- the pseudo state
 
- 
ObjectStateInstantiates a new object state.- Parameters:
- id- the id
- deferred- the deferred
 
- 
ObjectStatepublic ObjectState(S id, Collection<E> deferred, Collection<Function<StateContext<S, E>, reactor.core.publisher.Mono<Void>>> entryActions, Collection<Function<StateContext<S, E>, reactor.core.publisher.Mono<Void>>> exitActions) Instantiates a new object state.- Parameters:
- id- the id
- deferred- the deferred
- entryActions- the entry actions
- exitActions- the exit actions
 
- 
ObjectStatepublic ObjectState(S id, Collection<E> deferred, Collection<Function<StateContext<S, E>, reactor.core.publisher.Mono<Void>>> entryActions, Collection<Function<StateContext<S, E>, reactor.core.publisher.Mono<Void>>> exitActions, PseudoState<S, E> pseudoState) Instantiates a new object state.- Parameters:
- id- the id
- deferred- the deferred
- entryActions- the entry actions
- exitActions- the exit actions
- pseudoState- the pseudo state
 
- 
ObjectStatepublic ObjectState(S id, Collection<E> deferred, Collection<Function<StateContext<S, E>, reactor.core.publisher.Mono<Void>>> entryActions, Collection<Function<StateContext<S, E>, reactor.core.publisher.Mono<Void>>> exitActions, PseudoState<S, E> pseudoState, Collection<Region<S, E>> regions) Instantiates a new object state.- Parameters:
- id- the id
- deferred- the deferred
- entryActions- the entry actions
- exitActions- the exit actions
- pseudoState- the pseudo state
- regions- the regions
 
- 
ObjectStatepublic ObjectState(S id, Collection<E> deferred, Collection<Function<StateContext<S, E>, reactor.core.publisher.Mono<Void>>> entryActions, Collection<Function<StateContext<S, E>, reactor.core.publisher.Mono<Void>>> exitActions, PseudoState<S, E> pseudoState, StateMachine<S, E> submachine) Instantiates a new object state.- Parameters:
- id- the id
- deferred- the deferred
- entryActions- the entry actions
- exitActions- the exit actions
- pseudoState- the pseudo state
- submachine- the submachine
 
- 
ObjectStatepublic ObjectState(S id, Collection<E> deferred, Collection<Function<StateContext<S, E>, reactor.core.publisher.Mono<Void>>> entryActions, Collection<Function<StateContext<S, E>, reactor.core.publisher.Mono<Void>>> exitActions, Collection<Function<StateContext<S, E>, reactor.core.publisher.Mono<Void>>> stateActions, PseudoState<S, E> pseudoState, Collection<Region<S, E>> regions, StateMachine<S, E> submachine) Instantiates a new object state.- Parameters:
- id- the id
- deferred- the deferred
- entryActions- the entry actions
- exitActions- the exit actions
- stateActions- the state actions
- pseudoState- the pseudo state
- regions- the regions
- submachine- the submachine
 
 
- 
- 
Method Details