@RedisHash(value="RedisRepositoryTransition") public class RedisRepositoryTransition extends RepositoryTransition
Constructor and Description |
---|
RedisRepositoryTransition()
Instantiates a new redis repository transition.
|
RedisRepositoryTransition(RedisRepositoryState source,
RedisRepositoryState target,
java.lang.String event)
Instantiates a new redis repository transition.
|
RedisRepositoryTransition(java.lang.String machineId,
RedisRepositoryState source,
RedisRepositoryState target,
java.lang.String event)
Instantiates a new redis repository transition.
|
RedisRepositoryTransition(java.lang.String machineId,
RedisRepositoryState source,
RedisRepositoryState target,
java.lang.String event,
java.util.Set<RedisRepositoryAction> actions)
Instantiates a new redis repository transition.
|
Modifier and Type | Method and Description |
---|---|
java.util.Set<RedisRepositoryAction> |
getActions()
Gets the actions.
|
java.lang.String |
getEvent()
Gets the event.
|
RedisRepositoryGuard |
getGuard()
Gets the guard.
|
TransitionKind |
getKind()
Gets the transition kind.
|
java.lang.String |
getMachineId()
Gets the machine id.
|
RedisRepositoryState |
getSource()
Gets the source.
|
RedisRepositoryState |
getTarget()
Gets the target.
|
void |
setActions(java.util.Set<RedisRepositoryAction> actions) |
void |
setEvent(java.lang.String event) |
void |
setGuard(RedisRepositoryGuard guard) |
void |
setKind(TransitionKind kind) |
void |
setMachineId(java.lang.String machineId) |
void |
setSource(RedisRepositoryState source) |
void |
setTarget(RedisRepositoryState target) |
java.lang.String |
toString() |
public RedisRepositoryTransition()
public RedisRepositoryTransition(RedisRepositoryState source, RedisRepositoryState target, java.lang.String event)
source
- the sourcetarget
- the targetevent
- the eventpublic RedisRepositoryTransition(java.lang.String machineId, RedisRepositoryState source, RedisRepositoryState target, java.lang.String event)
machineId
- the machine idsource
- the sourcetarget
- the targetevent
- the eventpublic RedisRepositoryTransition(java.lang.String machineId, RedisRepositoryState source, RedisRepositoryState target, java.lang.String event, java.util.Set<RedisRepositoryAction> actions)
machineId
- the machine idsource
- the sourcetarget
- the targetevent
- the eventactions
- the actionspublic java.lang.String getMachineId()
RepositoryTransition
getMachineId
in class RepositoryTransition
public void setMachineId(java.lang.String machineId)
public RedisRepositoryState getSource()
RepositoryTransition
getSource
in class RepositoryTransition
public void setSource(RedisRepositoryState source)
public RedisRepositoryState getTarget()
RepositoryTransition
getTarget
in class RepositoryTransition
public void setTarget(RedisRepositoryState target)
public java.lang.String getEvent()
RepositoryTransition
getEvent
in class RepositoryTransition
public void setEvent(java.lang.String event)
public java.util.Set<RedisRepositoryAction> getActions()
RepositoryTransition
getActions
in class RepositoryTransition
public void setActions(java.util.Set<RedisRepositoryAction> actions)
public RedisRepositoryGuard getGuard()
RepositoryTransition
getGuard
in class RepositoryTransition
public void setGuard(RedisRepositoryGuard guard)
public TransitionKind getKind()
RepositoryTransition
getKind
in class RepositoryTransition
public void setKind(TransitionKind kind)
public java.lang.String toString()
toString
in class java.lang.Object