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 |
setJavaScriptObject(com.google.gwt.core.client.JavaScriptObject jsObj) |
void |
setNextElement(java.lang.String nextElement)
ID of the next
sequence or {process.elements,element} to
procede to if no error condition arises. |
getInputField, getInputFields, getOutputField, getOutputFields, setInputField, setInputFields, setOutputField, setOutputFields
convertToJavaScriptArray, getID, getJsObj, getOrCreateJsObj, getProcessElements, isCreated, setAttribute, setID
asSGWTComponent, destroy, doAddHandler, doInit, error, error, errorIfNotCreated, fireEvent, getAttribute, getAttributeAsBoolean, getAttributeAsDate, getAttributeAsDouble, getAttributeAsElement, getAttributeAsFloat, getAttributeAsInt, getAttributeAsJavaScriptObject, getAttributeAsMap, getAttributeAsString, getAttributeAsStringArray, getClassName, getConfig, getHandlerCount, getRef, getScClassName, internalSetID, internalSetID, onBind, onInit, registerID, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, 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 setJavaScriptObject(com.google.gwt.core.client.JavaScriptObject jsObj)
setJavaScriptObject
in class Task
public void setFailureElement(java.lang.String failureElement) throws java.lang.IllegalStateException
type
.failureElement
- . See String
. Default value is nulljava.lang.IllegalStateException
- this property cannot be changed after the underlying component has been createdpublic java.lang.String getFailureElement()
type
.String
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
- . See String
. 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
String