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
private String
Fields inherited from class org.chenile.stm.model.EventInformation
componentNameTag, eventId, eventIdTag, GENERIC_EVENT_ID, metadata, newFlowIdTag, newStateIdTag, tagDefinition, transitionAction
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThis is to support fluent API.private void
fromEventInformation
(EventInformation eventInformation) String[]
getAcls()
getTag()
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) void
state()
toString()
toXml()
transitionAction
(STMTransitionAction<?> transitionAction) transitionTo
(String stateId, String... flowId) Methods inherited from class org.chenile.stm.model.EventInformation
addMetaData, getEventId, getMetadata, getTransitionAction, mergeTagDefinitionWithEventInformation, setEventId, setTransitionAction
-
Field Details
-
tag
-
acls
-
isInvokableOnlyFromStm
private boolean isInvokableOnlyFromStm -
newStateId
-
newFlowId
-
retrievalTransition
private boolean retrievalTransition -
stateId
-
flowId
-
parentState
-
-
Constructor Details
-
Transition
-
Transition
public Transition()
-
-
Method Details
-
getTag
- Overrides:
getTag
in classEventInformation
-
setTag
- Overrides:
setTag
in classEventInformation
-
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
-