public class Task extends ProcessElement
Process
and for all Task types that can
be involved in a Process, such as a ServiceTask
.config, id, scClassName
Constructor and Description |
---|
Task() |
Task(com.google.gwt.core.client.JavaScriptObject jsObj) |
Modifier and Type | Method and Description |
---|---|
com.google.gwt.core.client.JavaScriptObject |
create() |
java.lang.String |
getInputField()
Field in the
process state which is provided as input data to
this task. |
java.lang.String[] |
getInputFields()
List of multiple fields from the
process state which are
provided as input data to this task. |
static Task |
getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj) |
java.lang.String |
getOutputField()
Field in the
process state which this task writes outputs to. |
java.lang.String[] |
getOutputFields()
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 |
setInputFields(java.lang.String... inputFieldList)
List of multiple fields from the
process state which are
provided as input data to this task. |
void |
setJavaScriptObject(com.google.gwt.core.client.JavaScriptObject jsObj) |
void |
setOutputField(java.lang.String outputField)
Field in the
process state which this task writes outputs to. |
void |
setOutputFields(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, setAttribute, setID, setNextElement
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 Task()
public Task(com.google.gwt.core.client.JavaScriptObject jsObj)
public static Task getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj)
public void setJavaScriptObject(com.google.gwt.core.client.JavaScriptObject jsObj)
setJavaScriptObject
in class ProcessElement
public com.google.gwt.core.client.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
- . See String
. 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
.String
public void setOutputField(java.lang.String outputField) throws java.lang.IllegalStateException
process state
which this task writes outputs to.
See TaskIO
.outputField
- . See String
. 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
.String
public void setInputFields(java.lang.String... inputFieldList)
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
- inputFieldList Default value is nullpublic java.lang.String[] getInputFields()
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 setOutputFields(java.lang.String... outputFieldList)
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
- outputFieldList Default value is nullpublic java.lang.String[] getOutputFields()
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.