public class TaskDecision extends BaseClass
DecisionGateway. Each
 decision has a criteria and a target ProcessElement ID.config, configOnly, factoryCreated, factoryProperties, id, scClassName| Constructor and Description | 
|---|
| TaskDecision() | 
| TaskDecision(com.google.gwt.core.client.JavaScriptObject jsObj) | 
| Modifier and Type | Method and Description | 
|---|---|
| com.google.gwt.core.client.JavaScriptObject | create() | 
| Criteria | getCriteria()Criteria identifying when the  targetTaskshould be
 chosen within aDecisionGateway.decisionList. | 
| com.google.gwt.core.client.JavaScriptObject | getJsObj() | 
| com.google.gwt.core.client.JavaScriptObject | getOrCreateJsObj() | 
| static TaskDecision | getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj) | 
| java.lang.String | getTargetTask()ProcessElement.IDof element to be used as next element
 ifcriteriamatches. | 
| boolean | isCreated() | 
| TaskDecision | setCriteria(Criteria criteria)Criteria identifying when the  targetTaskshould be
 chosen within aDecisionGateway.decisionList. | 
| void | setJavaScriptObject(com.google.gwt.core.client.JavaScriptObject jsObj) | 
| TaskDecision | setTargetTask(java.lang.String targetTask)ProcessElement.IDof element to be used as next element
 ifcriteriamatches. | 
addDynamicProperty, addDynamicProperty, addDynamicProperty, applyFactoryProperties, asSGWTComponent, clearDynamicProperty, createJsObj, destroy, doAddHandler, doInit, error, error, errorIfNotCreated, fireEvent, getAttribute, getAttributeAsBoolean, getAttributeAsDate, getAttributeAsDouble, getAttributeAsElement, getAttributeAsFloat, getAttributeAsInt, getAttributeAsJavaScriptObject, getAttributeAsMap, getAttributeAsString, getAttributeAsStringArray, getClassName, getConfig, getHandlerCount, getID, getRef, getRuleScope, getScClassName, getTestInstance, hasAutoAssignedID, hasDynamicProperty, internalSetID, internalSetID, isConfigOnly, isFactoryCreated, onBind, onInit, registerID, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setConfig, setConfigOnly, setFactoryCreated, setID, setProperty, setProperty, setProperty, setProperty, setRuleScope, setScClassNamepublic TaskDecision()
public TaskDecision(com.google.gwt.core.client.JavaScriptObject jsObj)
public static TaskDecision getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj)
public void setJavaScriptObject(com.google.gwt.core.client.JavaScriptObject jsObj)
setJavaScriptObject in class BaseClasspublic com.google.gwt.core.client.JavaScriptObject create()
public com.google.gwt.core.client.JavaScriptObject getJsObj()
public com.google.gwt.core.client.JavaScriptObject getOrCreateJsObj()
getOrCreateJsObj in class BaseClasspublic TaskDecision setCriteria(Criteria criteria) throws java.lang.IllegalStateException
targetTask should be
 chosen within a DecisionGateway.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 nullTaskDecision instance, for chaining setter callsjava.lang.IllegalStateException - this property cannot be changed after the underlying component has been createdpublic Criteria getCriteria()
targetTask should be
 chosen within a DecisionGateway.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 TaskDecision setTargetTask(java.lang.String targetTask) throws java.lang.IllegalStateException
ProcessElement.ID of element to be used as next element
 if criteria matches.targetTask - New targetTask value. Default value is nullTaskDecision instance, for chaining setter callsjava.lang.IllegalStateException - this property cannot be changed after the underlying component has been createdpublic java.lang.String getTargetTask()
ProcessElement.ID of element to be used as next element
 if criteria matches.