public class ProcessSequence extends ProcessElement
ProcessElement
s involved in a Process
. A ProcessSequence
is used to reduce the number of explicit
ProcessElement.ID
s 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, configOnly, factoryCreated, factoryProperties, id, scClassName
Constructor and Description |
---|
ProcessSequence() |
ProcessSequence(com.google.gwt.core.client.JavaScriptObject jsObj) |
ProcessSequence(ProcessElement... elements) |
ProcessSequence(java.lang.String ID) |
ProcessSequence(java.lang.String id,
ProcessElement... elements) |
Modifier and Type | Method and Description |
---|---|
com.google.gwt.core.client.JavaScriptObject |
create() |
ProcessElement[] |
getElements()
The
ProcessElement s in this sequence. |
static ProcessSequence |
getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj) |
void |
setElements(ProcessElement... elements)
The
ProcessElement s in this sequence. |
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, isConfigOnly, isFactoryCreated, onBind, registerID, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setConfig, setConfigOnly, setFactoryCreated, setProperty, setProperty, setProperty, setProperty, setScClassName
public ProcessSequence()
public ProcessSequence(com.google.gwt.core.client.JavaScriptObject jsObj)
public ProcessSequence(java.lang.String ID)
public ProcessSequence(ProcessElement... elements)
public ProcessSequence(java.lang.String id, ProcessElement... elements)
public static ProcessSequence getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj)
public com.google.gwt.core.client.JavaScriptObject create()
create
in class ProcessElement
public void setElements(ProcessElement... elements) throws java.lang.IllegalStateException
ProcessElement
s in this sequence.elements
- New elements value. Default value is nulljava.lang.IllegalStateException
- this property cannot be changed after the underlying component has been createdpublic ProcessElement[] getElements()
ProcessElement
s in this sequence.