public class StateTask extends Task
config, 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, setOutputFieldList
convertToJavaScriptArray, getID, getJsObj, getOrCreateJsObj, getProcessElements, isCreated, onInit, setAttribute, setID, setJavaScriptObject
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, hasAutoAssignedID, internalSetID, internalSetID, onBind, registerID, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setConfig, setProperty, setProperty, setProperty, setProperty, setScClassName
public 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 ProcessElement
nextElement
- 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