public class ProcessSequence extends ProcessElement
ProcessElements involved in a Process. A ProcessSequence is used to reduce the number of explicit
IDs that need to be assigned, by creating an implicit
next element - the next in the sequence. A sequence cannot be executed outside of a Process and has no state.
config, factoryCreated, factoryProperties, id, scClassName| Constructor and Description |
|---|
ProcessSequence() |
ProcessSequence(JavaScriptObject jsObj) |
ProcessSequence(ProcessElement... elements) |
ProcessSequence(java.lang.String ID) |
ProcessSequence(java.lang.String id,
ProcessElement... elements) |
| Modifier and Type | Method and Description |
|---|---|
JavaScriptObject |
create() |
ProcessElement[] |
getElements()
The
ProcessElements in this sequence. |
static ProcessSequence |
getOrCreateRef(JavaScriptObject jsObj) |
void |
setElements(ProcessElement... elements)
The
ProcessElements in this sequence. |
convertToJavaScriptArray, getID, getJsObj, getNextElement, getOrCreateJsObj, getProcessElements, isCreated, onInit, setAttribute, setID, setJavaScriptObject, setNextElementapplyFactoryProperties, 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, setScClassNamepublic ProcessSequence()
public ProcessSequence(JavaScriptObject jsObj)
public ProcessSequence(java.lang.String ID)
public ProcessSequence(ProcessElement... elements)
public ProcessSequence(java.lang.String id,
ProcessElement... elements)
public static ProcessSequence getOrCreateRef(JavaScriptObject jsObj)
public JavaScriptObject create()
create in class ProcessElementpublic void setElements(ProcessElement... elements) throws java.lang.IllegalStateException
ProcessElements in this sequence.elements - Default value is nulljava.lang.IllegalStateException - this property cannot be changed after the underlying component has been createdpublic ProcessElement[] getElements()
ProcessElements in this sequence.