@RedisHash(value="RedisRepositoryState") public class RedisRepositoryState extends RepositoryState
Constructor and Description |
---|
RedisRepositoryState()
Instantiates a new redis repository state.
|
RedisRepositoryState(java.lang.String state)
Instantiates a new redis repository state.
|
RedisRepositoryState(java.lang.String state,
boolean initial)
Instantiates a new redis repository state.
|
RedisRepositoryState(java.lang.String machineId,
RedisRepositoryState parentState,
java.lang.String state,
boolean initial)
Instantiates a new redis repository state.
|
RedisRepositoryState(java.lang.String machineId,
RedisRepositoryState parentState,
java.lang.String state,
boolean initial,
java.util.Set<RedisRepositoryAction> stateActions,
java.util.Set<RedisRepositoryAction> entryActions,
java.util.Set<RedisRepositoryAction> exitActions)
Instantiates a new redis repository state.
|
RedisRepositoryState(java.lang.String machineId,
java.lang.String state,
boolean initial)
Instantiates a new redis repository state.
|
Modifier and Type | Method and Description |
---|---|
java.util.Set<java.lang.String> |
getDeferredEvents()
Gets the deferred events.
|
java.util.Set<RedisRepositoryAction> |
getEntryActions()
Gets the entry actions.
|
java.util.Set<RedisRepositoryAction> |
getExitActions()
Gets the exit actions.
|
RepositoryAction |
getInitialAction()
Gets the initial action.
|
PseudoStateKind |
getKind()
Gets the pseudo state kind.
|
java.lang.String |
getMachineId()
Gets the machine id.
|
RedisRepositoryState |
getParentState()
Gets the parent state.
|
java.lang.String |
getRegion()
Gets the region.
|
java.lang.String |
getState()
Gets the state.
|
java.util.Set<RedisRepositoryAction> |
getStateActions()
Gets the state actions.
|
java.lang.String |
getSubmachineId()
Gets the submachine id indicating that this is a submachine state
and its structure is available from particular machine itself.
|
java.lang.Boolean |
isInitial()
Checks if is initial.
|
void |
setDeferredEvents(java.util.Set<java.lang.String> deferredEvents) |
void |
setEntryActions(java.util.Set<RedisRepositoryAction> entryActions) |
void |
setExitActions(java.util.Set<RedisRepositoryAction> exitActions) |
void |
setInitial(boolean initial) |
void |
setInitialAction(RedisRepositoryAction initialAction) |
void |
setKind(PseudoStateKind kind) |
void |
setMachineId(java.lang.String machineId) |
void |
setParentState(RedisRepositoryState parentState) |
void |
setRegion(java.lang.String region) |
void |
setState(java.lang.String state) |
void |
setStateActions(java.util.Set<RedisRepositoryAction> stateActions) |
void |
setSubmachineId(java.lang.String submachineId) |
java.lang.String |
toString() |
public RedisRepositoryState()
public RedisRepositoryState(java.lang.String state)
state
- the statepublic RedisRepositoryState(java.lang.String state, boolean initial)
state
- the stateinitial
- the initialpublic RedisRepositoryState(java.lang.String machineId, java.lang.String state, boolean initial)
machineId
- the machine idstate
- the stateinitial
- the initialpublic RedisRepositoryState(java.lang.String machineId, RedisRepositoryState parentState, java.lang.String state, boolean initial)
machineId
- the machine idparentState
- the parent statestate
- the stateinitial
- the initialpublic RedisRepositoryState(java.lang.String machineId, RedisRepositoryState parentState, java.lang.String state, boolean initial, java.util.Set<RedisRepositoryAction> stateActions, java.util.Set<RedisRepositoryAction> entryActions, java.util.Set<RedisRepositoryAction> exitActions)
machineId
- the machine idparentState
- the parent statestate
- the stateinitial
- the initialstateActions
- the state actionsentryActions
- the entry actionsexitActions
- the exit actionspublic java.lang.String getMachineId()
RepositoryState
getMachineId
in class RepositoryState
public void setMachineId(java.lang.String machineId)
public java.lang.String getRegion()
RepositoryState
getRegion
in class RepositoryState
public void setRegion(java.lang.String region)
public RedisRepositoryState getParentState()
RepositoryState
getParentState
in class RepositoryState
public void setParentState(RedisRepositoryState parentState)
public java.lang.String getState()
RepositoryState
getState
in class RepositoryState
public void setState(java.lang.String state)
public PseudoStateKind getKind()
RepositoryState
getKind
in class RepositoryState
public void setKind(PseudoStateKind kind)
public java.lang.Boolean isInitial()
RepositoryState
isInitial
in class RepositoryState
public void setInitial(boolean initial)
public RepositoryAction getInitialAction()
RepositoryState
getInitialAction
in class RepositoryState
public void setInitialAction(RedisRepositoryAction initialAction)
public java.util.Set<RedisRepositoryAction> getStateActions()
RepositoryState
getStateActions
in class RepositoryState
public void setStateActions(java.util.Set<RedisRepositoryAction> stateActions)
public java.util.Set<RedisRepositoryAction> getEntryActions()
RepositoryState
getEntryActions
in class RepositoryState
public void setEntryActions(java.util.Set<RedisRepositoryAction> entryActions)
public java.util.Set<RedisRepositoryAction> getExitActions()
RepositoryState
getExitActions
in class RepositoryState
public void setExitActions(java.util.Set<RedisRepositoryAction> exitActions)
public java.util.Set<java.lang.String> getDeferredEvents()
RepositoryState
getDeferredEvents
in class RepositoryState
public void setDeferredEvents(java.util.Set<java.lang.String> deferredEvents)
public java.lang.String getSubmachineId()
RepositoryState
getSubmachineId
in class RepositoryState
public void setSubmachineId(java.lang.String submachineId)
public java.lang.String toString()
toString
in class java.lang.Object