public class DecisionBranch extends DataClass
MultiDecisionTask
. Each decision has a
criteria and a target ProcessElement ID.factoryCreated, factoryProperties
Constructor and Description |
---|
DecisionBranch() |
DecisionBranch(com.google.gwt.core.client.JavaScriptObject jsObj) |
Modifier and Type | Method and Description |
---|---|
Criteria |
getCriteria()
Criteria identifying when the
targetTask should
be chosen within a MultiDecisionTask.decisionList . |
static DecisionBranch |
getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj) |
java.lang.String |
getTargetTask()
ProcessElement.ID of element to be used as next element
if criteria matches. |
DecisionBranch |
setCriteria(Criteria criteria)
Criteria identifying when the
targetTask should
be chosen within a MultiDecisionTask.decisionList . |
DecisionBranch |
setTargetTask(java.lang.String targetTask)
ProcessElement.ID of element to be used as next element
if criteria matches. |
applyFactoryProperties, doAddHandler, fireEvent, getAttribute, getAttributeAsBoolean, getAttributeAsBoolean, getAttributeAsDate, getAttributeAsDouble, getAttributeAsDoubleArray, getAttributeAsElement, getAttributeAsFloat, getAttributeAsInt, getAttributeAsIntArray, getAttributeAsJavaScriptObject, getAttributeAsLong, getAttributeAsMap, getAttributeAsObject, getAttributeAsRecord, getAttributeAsString, getAttributeAsStringArray, getAttributes, getHandlerCount, isFactoryCreated, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttributeAsJavaObject, setFactoryCreated
public DecisionBranch()
public DecisionBranch(com.google.gwt.core.client.JavaScriptObject jsObj)
public static DecisionBranch getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj)
public DecisionBranch setCriteria(Criteria criteria)
targetTask
should
be chosen within a MultiDecisionTask.decisionList
. Data values in this criteria prefixed with "$" will be treated as dynamic
expressions as detailed in TaskInputExpression
. Specifically, this means that for
simple criteria, any property value that is a String and is prefixed with "$" will be assumed to be an expression, and
for AdvancedCriteria, the same treatment will be applied to Criterion.value
.
Note that dynamic expressions starting with "$input" are not applicable in this context but
"$inputRecord" can be used for direct reference to Process.state
.
This property supports DynamicCriteria
- use Criterion.valuePath
to refer to values in the Process.ruleScope
.
criteria
- New criteria value. Default value is nullDecisionBranch
instance, for chaining setter callspublic Criteria getCriteria()
targetTask
should
be chosen within a MultiDecisionTask.decisionList
. Data values in this criteria prefixed with "$" will be treated as dynamic
expressions as detailed in TaskInputExpression
. Specifically, this means that for
simple criteria, any property value that is a String and is prefixed with "$" will be assumed to be an expression, and
for AdvancedCriteria, the same treatment will be applied to Criterion.value
.
Note that dynamic expressions starting with "$input" are not applicable in this context but
"$inputRecord" can be used for direct reference to Process.state
.
This property supports DynamicCriteria
- use Criterion.valuePath
to refer to values in the Process.ruleScope
.
public DecisionBranch setTargetTask(java.lang.String targetTask)
ProcessElement.ID
of element to be used as next element
if criteria
matches.targetTask
- New targetTask value. Default value is nullDecisionBranch
instance, for chaining setter callspublic java.lang.String getTargetTask()
ProcessElement.ID
of element to be used as next element
if criteria
matches.