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)
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() |
StateMachineEnsemble<S,E> |
getStateMachineEnsemble()
Gets the state machine ensemble.
|
java.util.List<StateMachineListener<S,E>> |
getStateMachineListeners()
Gets the state machine listeners.
|
org.springframework.core.task.TaskExecutor |
getTaskExecutor()
Gets the task executor.
|
org.springframework.scheduling.TaskScheduler |
getTaskScheduler()
Gets the task scheduler.
|
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)
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 idpublic 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 org.springframework.security.access.AccessDecisionManager getTransitionSecurityAccessDecisionManager()
public org.springframework.security.access.AccessDecisionManager getEventSecurityAccessDecisionManager()
public SecurityRule getEventSecurityRule()
public SecurityRule getTransitionSecurityRule()