S
- the type of stateE
- the type of eventpublic class ConfigurationData<S,E>
extends java.lang.Object
StateMachineConfigurationBuilder
.Constructor and Description |
---|
ConfigurationData()
Instantiates a new state machine configuration config data.
|
ConfigurationData(org.springframework.beans.factory.BeanFactory beanFactory,
org.springframework.core.task.TaskExecutor taskExecutor,
org.springframework.scheduling.TaskScheduler taskScheduler,
boolean autoStart,
StateMachineEnsemble<S,E> ensemble,
java.util.List<StateMachineListener<S,E>> listeners,
boolean securityEnabled,
org.springframework.security.access.AccessDecisionManager transitionSecurityAccessDecisionManager,
org.springframework.security.access.AccessDecisionManager eventSecurityAccessDecisionManager,
SecurityRule eventSecurityRule,
SecurityRule transitionSecurityRule,
boolean verifierEnabled,
StateMachineModelVerifier<S,E> verifier,
java.lang.String machineId,
StateMachineMonitor<S,E> stateMachineMonitor,
java.util.List<StateMachineInterceptor<S,E>> interceptors)
Instantiates a new state machine configuration config data.
|
ConfigurationData(org.springframework.beans.factory.BeanFactory beanFactory,
org.springframework.core.task.TaskExecutor taskExecutor,
org.springframework.scheduling.TaskScheduler taskScheduler,
boolean autoStart,
StateMachineEnsemble<S,E> ensemble,
java.util.List<StateMachineListener<S,E>> listeners,
boolean securityEnabled,
org.springframework.security.access.AccessDecisionManager transitionSecurityAccessDecisionManager,
org.springframework.security.access.AccessDecisionManager eventSecurityAccessDecisionManager,
SecurityRule eventSecurityRule,
SecurityRule transitionSecurityRule,
boolean verifierEnabled,
StateMachineModelVerifier<S,E> verifier,
java.lang.String machineId,
StateMachineMonitor<S,E> stateMachineMonitor,
java.util.List<StateMachineInterceptor<S,E>> interceptors,
TransitionConflictPolicy transitionConflightPolicy,
StateDoActionPolicy stateDoActionPolicy,
java.lang.Long stateDoActionPolicyTimeout)
Instantiates a new state machine configuration config data.
|
Modifier and Type | Method and Description |
---|---|
org.springframework.beans.factory.BeanFactory |
getBeanFactory()
Gets the bean factory.
|
org.springframework.security.access.AccessDecisionManager |
getEventSecurityAccessDecisionManager()
Gets the event security access decision manager.
|
SecurityRule |
getEventSecurityRule()
Gets the event security rule.
|
java.lang.String |
getMachineId() |
StateDoActionPolicy |
getStateDoActionPolicy()
Gets the state do action policy.
|
java.lang.Long |
getStateDoActionPolicyTimeout()
Gets the state do action policy timeout.
|
StateMachineEnsemble<S,E> |
getStateMachineEnsemble()
Gets the state machine ensemble.
|
java.util.List<StateMachineInterceptor<S,E>> |
getStateMachineInterceptors()
Gets the state machine interceptors.
|
java.util.List<StateMachineListener<S,E>> |
getStateMachineListeners()
Gets the state machine listeners.
|
StateMachineMonitor<S,E> |
getStateMachineMonitor()
Gets the state machine monitor.
|
org.springframework.core.task.TaskExecutor |
getTaskExecutor()
Gets the task executor.
|
org.springframework.scheduling.TaskScheduler |
getTaskScheduler()
Gets the task scheduler.
|
TransitionConflictPolicy |
getTransitionConflictPolicy()
Gets the transition conflict policy.
|
org.springframework.security.access.AccessDecisionManager |
getTransitionSecurityAccessDecisionManager()
Gets the transition security access decision manager.
|
SecurityRule |
getTransitionSecurityRule()
Gets the transition security rule.
|
StateMachineModelVerifier<S,E> |
getVerifier()
Gets the state machine model verifier.
|
boolean |
isAutoStart()
Returns autostart flag.
|
boolean |
isSecurityEnabled()
Checks if security is enabled.
|
boolean |
isVerifierEnabled()
Checks if verifier is enabled.
|
public ConfigurationData()
public ConfigurationData(org.springframework.beans.factory.BeanFactory beanFactory, org.springframework.core.task.TaskExecutor taskExecutor, org.springframework.scheduling.TaskScheduler taskScheduler, boolean autoStart, StateMachineEnsemble<S,E> ensemble, java.util.List<StateMachineListener<S,E>> listeners, boolean securityEnabled, org.springframework.security.access.AccessDecisionManager transitionSecurityAccessDecisionManager, org.springframework.security.access.AccessDecisionManager eventSecurityAccessDecisionManager, SecurityRule eventSecurityRule, SecurityRule transitionSecurityRule, boolean verifierEnabled, StateMachineModelVerifier<S,E> verifier, java.lang.String machineId, StateMachineMonitor<S,E> stateMachineMonitor, java.util.List<StateMachineInterceptor<S,E>> interceptors)
beanFactory
- the bean factorytaskExecutor
- the task executortaskScheduler
- the task schedulerautoStart
- the autostart flagensemble
- the state machine ensemblelisteners
- the state machine listenerssecurityEnabled
- the security enabled flagtransitionSecurityAccessDecisionManager
- the transition security access decision managereventSecurityAccessDecisionManager
- the event security access decision managereventSecurityRule
- the event security ruletransitionSecurityRule
- the transition security ruleverifierEnabled
- the verifier enabled flagverifier
- the state machine model verifiermachineId
- the machine idstateMachineMonitor
- the state machine monitorinterceptors
- the state machine interceptors.public ConfigurationData(org.springframework.beans.factory.BeanFactory beanFactory, org.springframework.core.task.TaskExecutor taskExecutor, org.springframework.scheduling.TaskScheduler taskScheduler, boolean autoStart, StateMachineEnsemble<S,E> ensemble, java.util.List<StateMachineListener<S,E>> listeners, boolean securityEnabled, org.springframework.security.access.AccessDecisionManager transitionSecurityAccessDecisionManager, org.springframework.security.access.AccessDecisionManager eventSecurityAccessDecisionManager, SecurityRule eventSecurityRule, SecurityRule transitionSecurityRule, boolean verifierEnabled, StateMachineModelVerifier<S,E> verifier, java.lang.String machineId, StateMachineMonitor<S,E> stateMachineMonitor, java.util.List<StateMachineInterceptor<S,E>> interceptors, TransitionConflictPolicy transitionConflightPolicy, StateDoActionPolicy stateDoActionPolicy, java.lang.Long stateDoActionPolicyTimeout)
beanFactory
- the bean factorytaskExecutor
- the task executortaskScheduler
- the task schedulerautoStart
- the autostart flagensemble
- the state machine ensemblelisteners
- the state machine listenerssecurityEnabled
- the security enabled flagtransitionSecurityAccessDecisionManager
- the transition security access decision managereventSecurityAccessDecisionManager
- the event security access decision managereventSecurityRule
- the event security ruletransitionSecurityRule
- the transition security ruleverifierEnabled
- the verifier enabled flagverifier
- the state machine model verifiermachineId
- the machine idstateMachineMonitor
- the state machine monitorinterceptors
- the state machine interceptors.transitionConflightPolicy
- the transition conflict policystateDoActionPolicy
- the state do action policystateDoActionPolicyTimeout
- the state do action policy timeoutpublic java.lang.String getMachineId()
public org.springframework.beans.factory.BeanFactory getBeanFactory()
public org.springframework.core.task.TaskExecutor getTaskExecutor()
public org.springframework.scheduling.TaskScheduler getTaskScheduler()
public StateMachineEnsemble<S,E> getStateMachineEnsemble()
public boolean isAutoStart()
public java.util.List<StateMachineListener<S,E>> getStateMachineListeners()
public boolean isSecurityEnabled()
public boolean isVerifierEnabled()
public StateMachineModelVerifier<S,E> getVerifier()
public StateMachineMonitor<S,E> getStateMachineMonitor()
public org.springframework.security.access.AccessDecisionManager getTransitionSecurityAccessDecisionManager()
public org.springframework.security.access.AccessDecisionManager getEventSecurityAccessDecisionManager()
public SecurityRule getEventSecurityRule()
public SecurityRule getTransitionSecurityRule()
public java.util.List<StateMachineInterceptor<S,E>> getStateMachineInterceptors()
public TransitionConflictPolicy getTransitionConflictPolicy()
public StateDoActionPolicy getStateDoActionPolicy()
public java.lang.Long getStateDoActionPolicyTimeout()