public class StateTask extends Task
Process.state to other
fields, or apply hardcoded values to Process.state via value.config, configOnly, factoryCreated, factoryProperties, id, scClassName| Constructor and Description |
|---|
StateTask() |
StateTask(com.google.gwt.core.client.JavaScriptObject jsObj) |
| Modifier and Type | Method and Description |
|---|---|
com.google.gwt.core.client.JavaScriptObject |
create() |
java.lang.String |
getFailureElement()
ID of the next sequence or element to proceed to if a failure condition arises, such as the output data not being
convertible to the target
type. |
java.lang.String |
getNextElement()
ID of the next
sequence or {process.elements,element} to
procede to if no error condition arises. |
static StateTask |
getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj) |
void |
setFailureElement(java.lang.String failureElement)
ID of the next sequence or element to proceed to if a failure condition arises, such as the output data not being
convertible to the target
type. |
void |
setNextElement(java.lang.String nextElement)
ID of the next
sequence or {process.elements,element} to
procede to if no error condition arises. |
getInputField, getInputFieldList, getOutputField, getOutputFieldList, setInputField, setInputFieldList, setOutputField, setOutputFieldListconvertToJavaScriptArray, getID, getJsObj, getOrCreateJsObj, getProcessElements, isCreated, onInit, setAttribute, setID, setJavaScriptObjectapplyFactoryProperties, asSGWTComponent, createJsObj, destroy, doAddHandler, doInit, error, error, errorIfNotCreated, fireEvent, getAttribute, getAttributeAsBoolean, getAttributeAsDate, getAttributeAsDouble, getAttributeAsElement, getAttributeAsFloat, getAttributeAsInt, getAttributeAsJavaScriptObject, getAttributeAsMap, getAttributeAsString, getAttributeAsStringArray, getClassName, getConfig, getHandlerCount, getRef, getScClassName, getTestInstance, hasAutoAssignedID, internalSetID, internalSetID, isConfigOnly, isFactoryCreated, onBind, registerID, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setConfig, setConfigOnly, setFactoryCreated, setProperty, setProperty, setProperty, setProperty, setScClassNamepublic StateTask()
public StateTask(com.google.gwt.core.client.JavaScriptObject jsObj)
public static StateTask getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj)
public void setFailureElement(java.lang.String failureElement)
throws java.lang.IllegalStateException
type.failureElement - Default value is nulljava.lang.IllegalStateException - this property cannot be changed after the underlying component has been createdpublic java.lang.String getFailureElement()
type.public void setNextElement(java.lang.String nextElement)
throws java.lang.IllegalStateException
sequence or {process.elements,element} to
procede to if no error condition arises. If this stateTask is part of a sequence and has a next element in the sequence,
nextElement does not need to be specified.
setNextElement in class ProcessElementnextElement - Default value is nulljava.lang.IllegalStateException - this property cannot be changed after the underlying component has been createdpublic java.lang.String getNextElement()
sequence or {process.elements,element} to
procede to if no error condition arises. If this stateTask is part of a sequence and has a next element in the sequence,
nextElement does not need to be specified.
getNextElement in class ProcessElement