Package com.adobe.granite.workflow.model
Interface WorkflowTransition
-
- All Superinterfaces:
HasMetaData
public interface WorkflowTransition extends HasMetaData
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description WorkflowNodegetFrom()Returns thethat is the source of thisWorkflowNodeWorkflowTransition.java.lang.StringgetRule()Returns the rule that defines if thisWorkflowTransitioncan be followed or not.WorkflowNodegetTo()Returns thethat is the target of thisWorkflowNodeWorkflowTransition.voidsetFrom(WorkflowNode from)Sets thethat is the source of thisWorkflowNodeWorkflowTransition.voidsetRule(java.lang.String rule)Sets 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 Detail
-
getFrom
WorkflowNode getFrom()
Returns thethat is the source of thisWorkflowNodeWorkflowTransition.- Returns:
- The
that is the source of thisWorkflowNodeWorkflowTransition.
-
setFrom
void setFrom(WorkflowNode from)
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
void setTo(WorkflowNode to)
Sets thethat is the target of thisWorkflowNodeWorkflowTransition.- Parameters:
to- Thethat is the target of thisWorkflowNodeWorkflowTransition.
-
getRule
java.lang.String getRule()
Returns the rule that defines if thisWorkflowTransitioncan be followed or not.- Returns:
- The execution rule of the
WorkflowTransition.
-
setRule
void setRule(java.lang.String rule)
Sets the rules that defines if thisWorkflowTransitioncan be followed or not.- Parameters:
rule- The execution rule of theWorkflowTransition.
-
-