Annotation Interface OnStateMachineStart
@Target({TYPE,METHOD})
@Retention(RUNTIME)
@Inherited
@Documented
public @interface OnStateMachineStart
Indicates that a method is a candidate to be called when state machine
is started.
A method annotated with @OnStateMachineStart may accept a parameter of type
ExtendedState
, Map
if map argument itself is annotated
with EventHeaders
, StateMachine
, Message
or Exception
.
Return value can be anything and is effectively discarded.
- Author:
- Janne Valkealahti