public class State extends Object
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(Activity activity)
Activities do not need to be thread safe.
|
Transition |
addTransition(String transitionName,
Class eventClass,
State toState) |
String |
getName() |
boolean |
isEndState() |
public Transition addTransition(String transitionName, Class eventClass, State toState)
eventClass - the class of the EventtoState - the state after the transitionpublic boolean add(Activity activity) throws ConfigException
activity - ConfigExceptionpublic String getName()
public boolean isEndState()
Copyright © 2017. All rights reserved.