Package com.day.cq.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 WorkflowNode
getFrom()
Returns the
that is the source of thisWorkflowNode
WorkflowTransition
.java.lang.String
getRule()
Returns the rule that defines if thisWorkflowTransition
can be followed or not.WorkflowNode
getTo()
Returns the
that is the target of thisWorkflowNode
WorkflowTransition
.void
setFrom(WorkflowNode from)
Sets the
that is the source of thisWorkflowNode
WorkflowTransition
.void
setRule(java.lang.String rule)
Sets the rules that defines if thisWorkflowTransition
can be followed or not.void
setTo(WorkflowNode to)
Sets the
that is the target of thisWorkflowNode
WorkflowTransition
.-
Methods inherited from interface com.day.cq.workflow.HasMetaData
getMetaData, getMetaDataMap
-
-
-
-
Method Detail
-
getFrom
WorkflowNode getFrom()
Returns the
that is the source of thisWorkflowNode
WorkflowTransition
.- Returns:
- The
that is the source of thisWorkflowNode
WorkflowTransition
.
-
setFrom
void setFrom(WorkflowNode from)
Sets the
that is the source of thisWorkflowNode
WorkflowTransition
.- Parameters:
from
- The
that is the source of thisWorkflowNode
WorkflowTransition
.
-
getTo
WorkflowNode getTo()
Returns the
that is the target of thisWorkflowNode
WorkflowTransition
.- Returns:
- The
that is the target of thisWorkflowNode
WorkflowTransition
.
-
setTo
void setTo(WorkflowNode to)
Sets the
that is the target of thisWorkflowNode
WorkflowTransition
.- Parameters:
to
- The
that is the target of thisWorkflowNode
WorkflowTransition
.
-
getRule
java.lang.String getRule()
Returns the rule that defines if thisWorkflowTransition
can be followed or not.- Returns:
- The execution rule of the
WorkflowTransition
.
-
setRule
void setRule(java.lang.String rule)
Sets the rules that defines if thisWorkflowTransition
can be followed or not.- Parameters:
rule
- The execution rule of theWorkflowTransition
.
-
-