public class UserConfirmationTask extends ProcessElement
If the user clicks OK,
the nextElement is chosen, otherwise the
choice is failureElement.
config, configOnly, factoryCreated, factoryProperties, id, scClassName| Constructor and Description |
|---|
UserConfirmationTask() |
UserConfirmationTask(com.google.gwt.core.client.JavaScriptObject jsObj) |
| Modifier and Type | Method and Description |
|---|---|
com.google.gwt.core.client.JavaScriptObject |
create() |
java.lang.String |
getFailureElement()
ID of the next sequence or element to proceed to if the criteria do not match.
|
java.lang.String |
getMessage()
Message to display to the user for confirmation.
|
java.lang.String |
getNextElement()
|
static UserConfirmationTask |
getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj) |
UserSummary |
getTextFormula()
Formula to be used to calculate the message contents.
|
UserConfirmationTask |
setFailureElement(java.lang.String failureElement)
ID of the next sequence or element to proceed to if the criteria do not match.
|
UserConfirmationTask |
setMessage(java.lang.String message)
Message to display to the user for confirmation.
|
UserConfirmationTask |
setNextElement(java.lang.String nextElement)
|
UserConfirmationTask |
setTextFormula(UserSummary textFormula)
Formula to be used to calculate the message contents.
|
completeElement, convertToJavaScriptArray, executeElement, getBindOutput, getClassDescription, getComponentReferences, getDescription, getDynamicValue, getEditorType, getElementDescription, getForceSingle, getID, getInvalidTaskMessage, getJsObj, getMockMode, getOrCreateJsObj, getPassThruOutput, getProcessElements, getSupportsMultipleInputRecords, getTextFormulaValue, getTypeTitle, getUndefinedComponentMessage, getUnresolvedComponentMessage, getWaitDuration, getWaitFor, getWaitLocator, isCreated, isValid, objectReferencesLastTaskOutput, onInit, reset, setAttribute, setBindOutput, setClassDescription, setDescription, setEditorType, setForceSingle, setID, setJavaScriptObject, setMockMode, setPassThruOutput, setSupportsMultipleInputRecords, setTypeTitle, setUndefinedComponentMessage, setUnresolvedComponentMessage, setWaitDuration, setWaitFor, setWaitLocator, updateGlobalIDInCriteria, updateGlobalIDInTextFormula, updateGlobalIDInValueProperty, updateGlobalIDInValues, updateGlobalIDReferences, updateLastElementBindingReferences, updateLastElementInCriteria, updateLastElementInValueProperty, updateLastElementInValuesaddDynamicProperty, addDynamicProperty, addDynamicProperty, addDynamicProperty, applyFactoryProperties, asSGWTComponent, clearDynamicProperty, createJsObj, destroy, doAddHandler, doInit, error, error, errorIfNotCreated, fireEvent, getAttribute, getAttributeAsBoolean, getAttributeAsDate, getAttributeAsDouble, getAttributeAsElement, getAttributeAsFloat, getAttributeAsInt, getAttributeAsJavaScriptObject, getAttributeAsMap, getAttributeAsString, getAttributeAsStringArray, getClassName, getConfig, getHandlerCount, getRef, getRuleScope, getScClassName, getTestInstance, hasAutoAssignedID, hasDynamicProperty, 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, setRuleScope, setScClassNamepublic UserConfirmationTask()
public UserConfirmationTask(com.google.gwt.core.client.JavaScriptObject jsObj)
public static UserConfirmationTask getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj)
public com.google.gwt.core.client.JavaScriptObject create()
create in class ProcessElementpublic UserConfirmationTask setFailureElement(java.lang.String failureElement) throws java.lang.IllegalStateException
failureElement - New failureElement value. Default value is nullUserConfirmationTask instance, for chaining setter callsjava.lang.IllegalStateException - this property cannot be changed after the underlying component has been createdpublic java.lang.String getFailureElement()
public UserConfirmationTask setMessage(java.lang.String message) throws java.lang.IllegalStateException
textFormula.message - New message value. Default value is nullUserConfirmationTask instance, for chaining setter callsjava.lang.IllegalStateException - this property cannot be changed after the underlying component has been createdpublic java.lang.String getMessage()
textFormula.public UserConfirmationTask setNextElement(java.lang.String nextElement) throws java.lang.IllegalStateException
sequence or element to execute if the criteria match the process state.
nextElement does not need to be specified if this gateway is part of a sequence and has a next element in the sequence.
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.
setNextElement in class ProcessElementnextElement - New nextElement value. Default value is nullUserConfirmationTask instance, for chaining setter callsjava.lang.IllegalStateException - this property cannot be changed after the underlying component has been createdpublic java.lang.String getNextElement()
sequence or element to execute if the criteria match the process state.
nextElement does not need to be specified if this gateway is part of a sequence and has a next element in the sequence.
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.
getNextElement in class ProcessElementpublic UserConfirmationTask setTextFormula(UserSummary textFormula) throws java.lang.IllegalStateException
message property to assign a static message instead.
Available fields for use in the formula are the current rule
context.
textFormula - New textFormula value. Default value is nullUserConfirmationTask instance, for chaining setter callsjava.lang.IllegalStateException - this property cannot be changed after the underlying component has been createdpublic UserSummary getTextFormula()
message property to assign a static message instead.
Available fields for use in the formula are the current rule
context.