public abstract class AbstractWrappedState extends State
State.StateBuilder| Modifier and Type | Field and Description |
|---|---|
protected State |
state
The target State.
|
id, name| Constructor and Description |
|---|
AbstractWrappedState(@NonNull State state)
Constructor with the state to wrap
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getName()
Retrieves the name of the state
|
int |
hashCode() |
boolean |
isFinal()
Retrieves the final state condition
flag.
|
void |
setFinal(boolean finalState)
Sets whether the state is
final or not.
|
addProperty, from, getProperty, hasProperties, hasProperty, merge, named, removeProperty, toStringgetIdprotected State state
public AbstractWrappedState(@NonNull
@NonNull State state)
state - the state to wrappublic String getName()
getName in interface NodegetName in class AbstractNodepublic void setFinal(boolean finalState)
setFinal in class AbstractNodefinalState - the final state flagpublic boolean isFinal()
isFinal in class AbstractNodeCopyright © 2019 state-machine. All rights reserved.