S - the type of stateE - the type of eventpublic class DefaultPersistenceConfigurer<S,E> extends AnnotationConfigurerAdapter<ConfigurationData<S,E>,StateMachineConfigurationConfigurer<S,E>,StateMachineConfigurationBuilder<S,E>> implements PersistenceConfigurer<S,E>
PersistenceConfigurer.| Constructor and Description |
|---|
DefaultPersistenceConfigurer() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(StateMachineConfigurationBuilder<S,E> builder)
Configure the
AnnotationBuilder by setting the necessary properties
on the AnnotationBuilder. |
PersistenceConfigurer<S,E> |
runtimePersister(StateMachineRuntimePersister<S,E,?> persister)
Specify a state machine runtime persister.
|
addObjectPostProcessor, and, getBuilder, init, isAssignable, setBuilderclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitandpublic void configure(StateMachineConfigurationBuilder<S,E> builder) throws java.lang.Exception
AnnotationConfigurerAnnotationBuilder by setting the necessary properties
on the AnnotationBuilder.configure in interface AnnotationConfigurer<ConfigurationData<S,E>,StateMachineConfigurationBuilder<S,E>>configure in class AnnotationConfigurerAdapter<ConfigurationData<S,E>,StateMachineConfigurationConfigurer<S,E>,StateMachineConfigurationBuilder<S,E>>builder - the builderjava.lang.Exception - if error occurredpublic PersistenceConfigurer<S,E> runtimePersister(StateMachineRuntimePersister<S,E,?> persister)
PersistenceConfigurerruntimePersister in interface PersistenceConfigurer<S,E>persister - the state machine runtime persister