S
- the type of stateE
- the type of eventpublic class DefaultVerifierConfigurer<S,E> extends AnnotationConfigurerAdapter<ConfigurationData<S,E>,StateMachineConfigurationConfigurer<S,E>,StateMachineConfigurationBuilder<S,E>> implements VerifierConfigurer<S,E>
VerifierConfigurer
.Constructor and Description |
---|
DefaultVerifierConfigurer() |
Modifier and Type | Method and Description |
---|---|
void |
configure(StateMachineConfigurationBuilder<S,E> builder)
Configure the
AnnotationBuilder by setting the necessary properties
on the AnnotationBuilder . |
VerifierConfigurer<S,E> |
enabled(boolean enabled)
Specify if verifier is enabled.
|
VerifierConfigurer<S,E> |
verifier(StateMachineModelVerifier<S,E> verifier)
Specify a custom model verifier.
|
addObjectPostProcessor, and, getBuilder, init, isAssignable, setBuilder
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
and
public void configure(StateMachineConfigurationBuilder<S,E> builder) throws java.lang.Exception
AnnotationConfigurer
AnnotationBuilder
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 VerifierConfigurer<S,E> enabled(boolean enabled)
VerifierConfigurer
enabled
in interface VerifierConfigurer<S,E>
enabled
- the enable flagpublic VerifierConfigurer<S,E> verifier(StateMachineModelVerifier<S,E> verifier)
VerifierConfigurer
verifier
in interface VerifierConfigurer<S,E>
verifier
- the state machine model verifier