Package org.chenile.stm.model
Class Transition
java.lang.Object
org.chenile.stm.model.EventInformation
org.chenile.stm.model.Transition
-
Field Summary
Modifier and TypeFieldDescriptionprivate String[]
private String
private boolean
private String
private String
private StateDescriptor
private boolean
private String
Fields inherited from class org.chenile.stm.model.EventInformation
eventId, metadata, transitionAction
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThis is to support fluent API.fromEventInformation
(EventInformation eventInformation) String[]
getAcls()
boolean
boolean
newStateId
(String newStateId) void
void
setAclString
(String acl) void
void
setInvokableOnlyFromStm
(boolean isInvokableOnlyFromStm) void
setNewFlowId
(String newFlowId) void
setNewStateId
(String newStateId) void
setParentState
(StateDescriptor parentState) void
setRetrievalTransition
(boolean retrievalTransition) void
setStateId
(String stateId) state()
toString()
toXml()
transitionAction
(STMTransitionAction<?> transitionAction) transitionTo
(String stateId, String... flowId) Methods inherited from class org.chenile.stm.model.EventInformation
addMetaData, getEventId, getMetadata, getTransitionAction, setEventId, setTransitionAction
-
Field Details
-
acls
-
isInvokableOnlyFromStm
private boolean isInvokableOnlyFromStm -
newStateId
-
newFlowId
-
retrievalTransition
private boolean retrievalTransition -
stateId
-
flowId
-
parentState
-
-
Constructor Details
-
Transition
-
Transition
public Transition()
-
-
Method Details
-
fromEventInformation
-
getNewStateId
-
setNewStateId
-
transitionAction
- Overrides:
transitionAction
in classEventInformation
-
newStateId
-
setNewFlowId
-
newFlowId
-
getNewFlowId
-
isRetrievalTransition
public boolean isRetrievalTransition() -
setRetrievalTransition
public void setRetrievalTransition(boolean retrievalTransition) -
getStateId
-
setStateId
-
id
- Overrides:
id
in classEventInformation
-
getParentState
-
setParentState
-
getFlowId
-
setFlowId
-
toString
-
getAcls
-
setAclString
-
acl
This is to support fluent API.- Parameters:
acl
- the acls which are comma separated- Returns:
- the Transition
-
setAcls
-
isInvokableOnlyFromStm
public boolean isInvokableOnlyFromStm() -
setInvokableOnlyFromStm
public void setInvokableOnlyFromStm(boolean isInvokableOnlyFromStm) -
makeInvokableOnlyFromStm
-
toXml
-
transitionTo
-
state
-