|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.smartgwt.client.core.BaseClass
com.smartgwt.client.util.workflow.ProcessElement
com.smartgwt.client.util.workflow.Task
public class Task
A Task is an abstract superclass for Process and for all Task types that can
be involved in a Process, such as a ServiceTask.
| Field Summary |
|---|
| Fields inherited from class com.smartgwt.client.core.BaseClass |
|---|
config, id, scClassName |
| Constructor Summary | |
|---|---|
Task()
|
|
Task(JavaScriptObject jsObj)
|
|
| Method Summary | |
|---|---|
JavaScriptObject |
create()
|
String |
getInputField()
Field in the process state which is provided as input data to
this task. |
String[] |
getInputFields()
List of multiple fields from the process state which are
provided as input data to this task. |
static Task |
getOrCreateRef(JavaScriptObject jsObj)
|
String |
getOutputField()
Field in the process state which this task writes outputs to. |
String[] |
getOutputFields()
List of multiple fields from the process state which this
task will write to. |
void |
setInputField(String inputField)
Field in the process state which is provided as input data to
this task. |
void |
setInputFields(String... inputFieldList)
List of multiple fields from the process state which are
provided as input data to this task. |
void |
setJavaScriptObject(JavaScriptObject jsObj)
|
void |
setOutputField(String outputField)
Field in the process state which this task writes outputs to. |
void |
setOutputFields(String... outputFieldList)
List of multiple fields from the process state which this
task will write to. |
| Methods inherited from class com.smartgwt.client.util.workflow.ProcessElement |
|---|
convertToJavaScriptArray, getID, getJsObj, getNextElement, getOrCreateJsObj, getProcessElements, isCreated, setAttribute, setID, setNextElement |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Task()
public Task(JavaScriptObject jsObj)
| Method Detail |
|---|
public static Task getOrCreateRef(JavaScriptObject jsObj)
public void setJavaScriptObject(JavaScriptObject jsObj)
setJavaScriptObject in class ProcessElementpublic JavaScriptObject create()
create in class ProcessElement
public void setInputField(String inputField)
throws IllegalStateException
process state which is provided as input data to
this task. See TaskIO.
inputField - . See String. Default value is null
IllegalStateException - this property cannot be changed after the underlying component has been createdpublic String getInputField()
process state which is provided as input data to
this task. See TaskIO.
String
public void setOutputField(String outputField)
throws IllegalStateException
process state which this task writes outputs to.
See TaskIO.
outputField - . See String. Default value is null
IllegalStateException - this property cannot be changed after the underlying component has been createdpublic String getOutputField()
process state which this task writes outputs to.
See TaskIO.
Stringpublic void setInputFields(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 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(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 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.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||