public class ProcessElement extends BaseClass
Process
,
such as a Task
or XORGateway
.config, configOnly, factoryCreated, factoryProperties, id, scClassName
Constructor and Description |
---|
ProcessElement() |
ProcessElement(com.google.gwt.core.client.JavaScriptObject jsObj) |
ProcessElement(java.lang.String ID) |
ProcessElement(java.lang.String ID,
java.lang.String nextElement) |
Modifier and Type | Method and Description |
---|---|
static com.google.gwt.core.client.JavaScriptObject |
convertToJavaScriptArray(ProcessElement[] array) |
com.google.gwt.core.client.JavaScriptObject |
create() |
java.lang.String |
getID()
Optional ID for this process element, allowing it to be referred to from
Gateways , or as the Process.startElement . |
com.google.gwt.core.client.JavaScriptObject |
getJsObj() |
java.lang.String |
getNextElement()
|
com.google.gwt.core.client.JavaScriptObject |
getOrCreateJsObj() |
static ProcessElement |
getOrCreateRef(com.google.gwt.core.client.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 Process.startElement . |
void |
setJavaScriptObject(com.google.gwt.core.client.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, 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 ProcessElement()
public ProcessElement(com.google.gwt.core.client.JavaScriptObject jsObj)
public ProcessElement(java.lang.String ID)
public ProcessElement(java.lang.String ID, java.lang.String nextElement)
public static ProcessElement getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj)
public void setJavaScriptObject(com.google.gwt.core.client.JavaScriptObject jsObj)
setJavaScriptObject
in class BaseClass
public com.google.gwt.core.client.JavaScriptObject create()
public com.google.gwt.core.client.JavaScriptObject getJsObj()
public com.google.gwt.core.client.JavaScriptObject getOrCreateJsObj()
getOrCreateJsObj
in class BaseClass
public void setID(java.lang.String ID) throws java.lang.IllegalStateException
Gateways
, or as the Process.startElement
. See ProcessSequence
and Process
to understand
when this is required or can be omitted. Unlike Canvas.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 Process.startElement
. See ProcessSequence
and Process
to understand
when this is required or can be omitted. Unlike Canvas.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.
nextElement
does not need to be specified on most elements if you use sequences
.
Note that if there is both a
sequence
and a normal element
with the same name in the current Process
, the
sequence
will be used.
nextElement
- New nextElement value. 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.
nextElement
does not need to be specified on most elements if you use sequences
.
Note that if there is both a
sequence
and a normal element
with the same name in the current Process
, the
sequence
will be used.
public void setAttribute(java.lang.String attribute, ProcessElement[] value, boolean allowPostCreate)
public ProcessElement[] getProcessElements(java.lang.String attribute)
public static com.google.gwt.core.client.JavaScriptObject convertToJavaScriptArray(ProcessElement[] array)