Class DefaultMonitoringConfigurer<S,E>
java.lang.Object
org.springframework.statemachine.config.common.annotation.AnnotationConfigurerAdapter<ConfigurationData<S,E>,StateMachineConfigurationConfigurer<S,E>,StateMachineConfigurationBuilder<S,E>>
org.springframework.statemachine.config.configurers.DefaultMonitoringConfigurer<S,E>
- Type Parameters:
S
- the type of stateE
- the type of event
- All Implemented Interfaces:
AnnotationConfigurer<ConfigurationData<S,
,E>, StateMachineConfigurationBuilder<S, E>> AnnotationConfigurerBuilder<StateMachineConfigurationConfigurer<S,
,E>> MonitoringConfigurer<S,
E>
public class DefaultMonitoringConfigurer<S,E>
extends AnnotationConfigurerAdapter<ConfigurationData<S,E>,StateMachineConfigurationConfigurer<S,E>,StateMachineConfigurationBuilder<S,E>>
implements MonitoringConfigurer<S,E>
Default implementation of a
MonitoringConfigurer
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
configure
(StateMachineConfigurationBuilder<S, E> builder) Configure theAnnotationBuilder
by setting the necessary properties on theAnnotationBuilder
.monitor
(StateMachineMonitor<S, E> monitor) Specify a state machine monitor.Methods inherited from class org.springframework.statemachine.config.common.annotation.AnnotationConfigurerAdapter
addObjectPostProcessor, and, getBuilder, init, isAssignable, setBuilder
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.statemachine.config.common.annotation.AnnotationConfigurerBuilder
and
-
Constructor Details
-
DefaultMonitoringConfigurer
public DefaultMonitoringConfigurer()
-
-
Method Details
-
configure
Description copied from interface:AnnotationConfigurer
Configure theAnnotationBuilder
by setting the necessary properties on theAnnotationBuilder
.- Specified by:
configure
in interfaceAnnotationConfigurer<S,
E> - Overrides:
configure
in classAnnotationConfigurerAdapter<ConfigurationData<S,
E>, StateMachineConfigurationConfigurer<S, E>, StateMachineConfigurationBuilder<S, E>> - Parameters:
builder
- the builder- Throws:
Exception
- if error occurred
-
monitor
Description copied from interface:MonitoringConfigurer
Specify a state machine monitor.- Specified by:
monitor
in interfaceMonitoringConfigurer<S,
E> - Parameters:
monitor
- the state machine monitor- Returns:
- configurer for chaining
-