S
- the type of stateE
- the type of eventpublic class DefaultModelConfigurer<S,E> extends AnnotationConfigurerAdapter<ModelData<S,E>,StateMachineModelConfigurer<S,E>,StateMachineModelBuilder<S,E>> implements ModelConfigurer<S,E>
ModelConfigurer
.Constructor and Description |
---|
DefaultModelConfigurer() |
Modifier and Type | Method and Description |
---|---|
void |
configure(StateMachineModelBuilder<S,E> builder)
Configure the
AnnotationBuilder by setting the necessary properties
on the AnnotationBuilder . |
ModelConfigurer<S,E> |
factory(StateMachineModelFactory<S,E> factory)
Specify a state machine model factory.
|
addObjectPostProcessor, and, getBuilder, init, isAssignable, setBuilder
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
and
public void configure(StateMachineModelBuilder<S,E> builder) throws java.lang.Exception
AnnotationConfigurer
AnnotationBuilder
by setting the necessary properties
on the AnnotationBuilder
.configure
in interface AnnotationConfigurer<ModelData<S,E>,StateMachineModelBuilder<S,E>>
configure
in class AnnotationConfigurerAdapter<ModelData<S,E>,StateMachineModelConfigurer<S,E>,StateMachineModelBuilder<S,E>>
builder
- the builderjava.lang.Exception
- if error occurredpublic ModelConfigurer<S,E> factory(StateMachineModelFactory<S,E> factory)
ModelConfigurer
factory
in interface ModelConfigurer<S,E>
factory
- the state machine model factory