@Retention(value=RUNTIME) @Target(value=METHOD) public @interface Transition
Modifier and Type | Fields and Description |
---|---|
static String |
SELF
The self transition
|
Modifier and Type | Required Element and Description |
---|---|
String[] |
in
The id of the state or states that this handler applies to.
|
Modifier and Type | Optional Element and Description |
---|---|
String |
next
The id of the state the
StateMachine should move to next after
executing the annotated method. |
String[] |
on
Specifies the ids of one or more events handled by the annotated method.
|
int |
weight
The weight used to order handler annotations which match the same event
in the same state.
|
public static final String SELF
public abstract String[] in
public abstract String[] on
public abstract String next
StateMachine
should move to next after
executing the annotated method. If not specified the StateMachine
will remain in the same state.Copyright © 2004–2018 Apache MINA Project. All rights reserved.