public class Task extends ProcessElement
Process
and for all Task types that can
be involved in a Process, such as a ServiceTask
.config, factoryCreated, factoryProperties, id, scClassName
Constructor and Description |
---|
Task() |
Task(JavaScriptObject jsObj) |
Modifier and Type | Method and Description |
---|---|
JavaScriptObject |
create() |
java.lang.String |
getInputField()
Field in the
process state which is provided as input data to
this task. |
java.lang.String[] |
getInputFieldList()
List of multiple fields from the
process state which are
provided as input data to this task. |
static Task |
getOrCreateRef(JavaScriptObject jsObj) |
java.lang.String |
getOutputField()
Field in the
process state which this task writes outputs to. |
java.lang.String[] |
getOutputFieldList()
List of multiple fields from the
process state which this
task will write to. |
void |
setInputField(java.lang.String inputField)
Field in the
process state which is provided as input data to
this task. |
void |
setInputFieldList(java.lang.String... inputFieldList)
List of multiple fields from the
process state which are
provided as input data to this task. |
void |
setOutputField(java.lang.String outputField)
Field in the
process state which this task writes outputs to. |
void |
setOutputFieldList(java.lang.String... outputFieldList)
List of multiple fields from the
process state which this
task will write to. |
convertToJavaScriptArray, getID, getJsObj, getNextElement, getOrCreateJsObj, getProcessElements, isCreated, onInit, setAttribute, setID, setJavaScriptObject, setNextElement
applyFactoryProperties, 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, isFactoryCreated, onBind, registerID, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setConfig, setFactoryCreated, setProperty, setProperty, setProperty, setProperty, setScClassName
public Task()
public Task(JavaScriptObject jsObj)
public static Task getOrCreateRef(JavaScriptObject jsObj)
public JavaScriptObject create()
create
in class ProcessElement
public void setInputField(java.lang.String inputField) throws java.lang.IllegalStateException
process state
which is provided as input data to
this task. See TaskIO
.inputField
- Default value is nulljava.lang.IllegalStateException
- this property cannot be changed after the underlying component has been createdpublic java.lang.String getInputField()
process state
which is provided as input data to
this task. See TaskIO
.public void setInputFieldList(java.lang.String... inputFieldList) throws java.lang.IllegalStateException
process state
which are
provided as input data to this task. See TaskIO
. If inputField
is also specified, it will be implicitly added to the
inputFieldList
if it is not already present.
inputFieldList
- Default value is nulljava.lang.IllegalStateException
- this property cannot be changed after the underlying component has been createdpublic java.lang.String[] getInputFieldList()
process state
which are
provided as input data to this task. See TaskIO
. If inputField
is also specified, it will be implicitly added to the
inputFieldList
if it is not already present.
public void setOutputField(java.lang.String outputField) throws java.lang.IllegalStateException
process state
which this task writes outputs to.
See TaskIO
.outputField
- Default value is nulljava.lang.IllegalStateException
- this property cannot be changed after the underlying component has been createdpublic java.lang.String getOutputField()
process state
which this task writes outputs to.
See TaskIO
.public void setOutputFieldList(java.lang.String... outputFieldList) throws java.lang.IllegalStateException
process state
which this
task will write to. See TaskIO
. If outputField
is also specified, it will be implicitly added to the
outputFieldList
if it is not already present.
outputFieldList
- Default value is nulljava.lang.IllegalStateException
- this property cannot be changed after the underlying component has been createdpublic java.lang.String[] getOutputFieldList()
process state
which this
task will write to. See TaskIO
. If outputField
is also specified, it will be implicitly added to the
outputFieldList
if it is not already present.