@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()
RepositoryTransitiongetMachineId in class RepositoryTransitionpublic void setMachineId(java.lang.String machineId)
public RedisRepositoryState getSource()
RepositoryTransitiongetSource in class RepositoryTransitionpublic void setSource(RedisRepositoryState source)
public RedisRepositoryState getTarget()
RepositoryTransitiongetTarget in class RepositoryTransitionpublic void setTarget(RedisRepositoryState target)
public java.lang.String getEvent()
RepositoryTransitiongetEvent in class RepositoryTransitionpublic void setEvent(java.lang.String event)
public java.util.Set<RedisRepositoryAction> getActions()
RepositoryTransitiongetActions in class RepositoryTransitionpublic void setActions(java.util.Set<RedisRepositoryAction> actions)
public RedisRepositoryGuard getGuard()
RepositoryTransitiongetGuard in class RepositoryTransitionpublic void setGuard(RedisRepositoryGuard guard)
public TransitionKind getKind()
RepositoryTransitiongetKind in class RepositoryTransitionpublic void setKind(TransitionKind kind)
public java.lang.String toString()
toString in class java.lang.Object