T - type of State MachineS - type of StateE - type of EventC - type of Contextpublic interface Action<T extends StateMachine<T,S,E,C>,S,E,C> extends SquirrelComponent
| Modifier and Type | Field and Description |
|---|---|
static int |
AFTER_WEIGHT |
static int |
BEFORE_WEIGHT |
static Action |
DUMMY_ACTION |
static int |
EXTENSION_WEIGHT |
static int |
IGNORE_WEIGHT |
static int |
MAX_WEIGHT |
static int |
MIN_WEIGHT |
static int |
NORMAL_WEIGHT |
static final int MAX_WEIGHT
static final int BEFORE_WEIGHT
static final int NORMAL_WEIGHT
static final int EXTENSION_WEIGHT
static final int AFTER_WEIGHT
static final int MIN_WEIGHT
static final int IGNORE_WEIGHT
static final Action DUMMY_ACTION
void execute(S from, S to, E event, C context, T stateMachine)
from - transition source stateto - transition target stateevent - event that trigger the transitioncontext - context objectstateMachine - the state machineString name()
int weight()
boolean isAsync()
long timeout()
Copyright © 2013–2016. All rights reserved.