S
- the type of stateE
- the type of eventpublic class DefaultMonitoringConfigurer<S,E> extends AnnotationConfigurerAdapter<ConfigurationData<S,E>,StateMachineConfigurationConfigurer<S,E>,StateMachineConfigurationBuilder<S,E>> implements MonitoringConfigurer<S,E>
MonitoringConfigurer
.Constructor and Description |
---|
DefaultMonitoringConfigurer() |
Modifier and Type | Method and Description |
---|---|
void |
configure(StateMachineConfigurationBuilder<S,E> builder)
Configure the
AnnotationBuilder by setting the necessary properties
on the AnnotationBuilder . |
MonitoringConfigurer<S,E> |
monitor(StateMachineMonitor<S,E> monitor)
Specify a state machine monitor.
|
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 MonitoringConfigurer<S,E> monitor(StateMachineMonitor<S,E> monitor)
MonitoringConfigurer
monitor
in interface MonitoringConfigurer<S,E>
monitor
- the state machine monitor