public class ProcessElement extends BaseClass
Process
,
such as a Task
or XORGateway
.config, factoryCreated, factoryProperties, id, scClassName
Constructor and Description |
---|
ProcessElement() |
ProcessElement(JavaScriptObject jsObj) |
ProcessElement(java.lang.String ID) |
ProcessElement(java.lang.String ID,
java.lang.String nextElement) |
Modifier and Type | Method and Description |
---|---|
static JavaScriptObject |
convertToJavaScriptArray(ProcessElement[] array) |
JavaScriptObject |
create() |
java.lang.String |
getID()
Optional ID for this process element, allowing it to be referred to from
Gateways , or as the startElement . |
JavaScriptObject |
getJsObj() |
java.lang.String |
getNextElement()
|
JavaScriptObject |
getOrCreateJsObj() |
static ProcessElement |
getOrCreateRef(JavaScriptObject jsObj) |
ProcessElement[] |
getProcessElements(java.lang.String attribute) |
boolean |
isCreated() |
protected void |
onInit() |
void |
setAttribute(java.lang.String attribute,
ProcessElement[] value,
boolean allowPostCreate) |
void |
setID(java.lang.String ID)
Optional ID for this process element, allowing it to be referred to from
Gateways , or as the startElement . |
void |
setJavaScriptObject(JavaScriptObject jsObj) |
void |
setNextElement(java.lang.String nextElement)
|
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 ProcessElement()
public ProcessElement(JavaScriptObject jsObj)
public ProcessElement(java.lang.String ID)
public ProcessElement(java.lang.String ID, java.lang.String nextElement)
public static ProcessElement getOrCreateRef(JavaScriptObject jsObj)
public void setJavaScriptObject(JavaScriptObject jsObj)
setJavaScriptObject
in class BaseClass
public JavaScriptObject create()
public JavaScriptObject getJsObj()
public JavaScriptObject getOrCreateJsObj()
getOrCreateJsObj
in class BaseClass
public void setID(java.lang.String ID) throws java.lang.IllegalStateException
Gateways
, or as the startElement
. See ProcessSequence
and Process
to understand
when this is required or can be omitted. Unlike ID
a
processElement
's is a not a globally unique variable, it need only by unique within it's process.
When
assigned an ID, a processElement
can be retrieve via Process.getElement()
.
public java.lang.String getID()
Gateways
, or as the startElement
. See ProcessSequence
and Process
to understand
when this is required or can be omitted. Unlike ID
a
processElement
's is a not a globally unique variable, it need only by unique within it's process.
When
assigned an ID, a processElement
can be retrieve via Process.getElement()
.
public void setNextElement(java.lang.String nextElement) throws java.lang.IllegalStateException
sequence
or element
to execute after this one completes. Sequences are
checked first. nextElement
does not need to be specified on most elements if you use sequences
.nextElement
- Default value is nulljava.lang.IllegalStateException
- this property cannot be changed after the underlying component has been createdpublic java.lang.String getNextElement()
sequence
or element
to execute after this one completes. Sequences are
checked first. nextElement
does not need to be specified on most elements if you use sequences
.public void setAttribute(java.lang.String attribute, ProcessElement[] value, boolean allowPostCreate)
public ProcessElement[] getProcessElements(java.lang.String attribute)
public static JavaScriptObject convertToJavaScriptArray(ProcessElement[] array)