Package com.adobe.granite.workflow.model
Interface WorkflowTransition
- All Superinterfaces:
HasMetaData
-
Method Summary
Modifier and TypeMethodDescriptiongetFrom()Returns thethat is the source of thisWorkflowNodeWorkflowTransition.getRule()Returns the rule that defines if thisWorkflowTransitioncan be followed or not.getTo()Returns thethat is the target of thisWorkflowNodeWorkflowTransition.voidsetFrom(WorkflowNode from) Sets thethat is the source of thisWorkflowNodeWorkflowTransition.voidSets the rules that defines if thisWorkflowTransitioncan be followed or not.voidsetTo(WorkflowNode to) Sets thethat is the target of thisWorkflowNodeWorkflowTransition.Methods inherited from interface com.adobe.granite.workflow.HasMetaData
getMetaDataMap
-
Method Details
-
getFrom
WorkflowNode getFrom()Returns thethat is the source of thisWorkflowNodeWorkflowTransition.- Returns:
- The
that is the source of thisWorkflowNodeWorkflowTransition.
-
setFrom
Sets thethat is the source of thisWorkflowNodeWorkflowTransition.- Parameters:
from- Thethat is the source of thisWorkflowNodeWorkflowTransition.
-
getTo
WorkflowNode getTo()Returns thethat is the target of thisWorkflowNodeWorkflowTransition.- Returns:
- The
that is the target of thisWorkflowNodeWorkflowTransition.
-
setTo
Sets thethat is the target of thisWorkflowNodeWorkflowTransition.- Parameters:
to- Thethat is the target of thisWorkflowNodeWorkflowTransition.
-
getRule
String getRule()Returns the rule that defines if thisWorkflowTransitioncan be followed or not.- Returns:
- The execution rule of the
WorkflowTransition.
-
setRule
Sets the rules that defines if thisWorkflowTransitioncan be followed or not.- Parameters:
rule- The execution rule of theWorkflowTransition.
-