public final class StateMachineBehavior extends Object implements Cloneable
StateMachine| Constructor and Description |
|---|
StateMachineBehavior() |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
clone() |
org.tango.DeviceState[] |
getDeniedStates() |
org.tango.DeviceState |
getEndState() |
boolean |
isAllowed(org.tango.DeviceState state)
Check if a state is allowed
|
void |
setDeniedStates(org.tango.DeviceState... deniedStates)
Set denied states
|
void |
setEndState(org.tango.DeviceState endState)
Set end state
|
String |
toString() |
public boolean isAllowed(org.tango.DeviceState state)
state - public org.tango.DeviceState[] getDeniedStates()
DeviceStatepublic void setDeniedStates(org.tango.DeviceState... deniedStates)
deniedStates - public org.tango.DeviceState getEndState()
DeviceStatepublic void setEndState(org.tango.DeviceState endState)
endState - protected Object clone() throws CloneNotSupportedException
clone in class ObjectCloneNotSupportedExceptionCopyright © 2012–2017 Tango Controls. All rights reserved.