S
- the type of stateE
- the type of eventpublic class StateMachineOnTransitionHandler<S,E> extends StateMachineHandler<S,E>
StateMachineHandler
.Constructor and Description |
---|
StateMachineOnTransitionHandler(java.lang.Class<?> beanClass,
java.lang.Object target,
java.lang.reflect.Method method,
OnTransition metaAnnotation,
java.lang.annotation.Annotation annotation)
Instantiates a new state machine on transition handler.
|
Modifier and Type | Method and Description |
---|---|
java.lang.annotation.Annotation |
getAnnotation()
Gets the annotation.
|
OnTransition |
getMetaAnnotation()
Gets the meta annotation.
|
getBeanClass, getOrder, handle, setOrder
public StateMachineOnTransitionHandler(java.lang.Class<?> beanClass, java.lang.Object target, java.lang.reflect.Method method, OnTransition metaAnnotation, java.lang.annotation.Annotation annotation)
beanClass
- the bean classtarget
- the targetmethod
- the methodmetaAnnotation
- the meta annotationannotation
- the annotationpublic OnTransition getMetaAnnotation()
public java.lang.annotation.Annotation getAnnotation()