@Tracked(value=TRACE) @Activity(value="Expression Evaluator", icon="shape:decision", pagelet="com.centurylink.mdw.base/scriptEvaluator.pagelet") public class ScriptEvaluator extends AbstractEvaluator
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
EXPRESSION |
static java.lang.String |
SCRIPT_LANGUAGE |
DISABLED, GROOVY, JAVA_EL, JAVASCRIPT, logger, OUTPUTDOCS| Constructor and Description |
|---|
ScriptEvaluator() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
evaluate()
Evaluates a condition and returns the result of the evaluation.
|
protected boolean |
isBooleanExpression(java.lang.String language,
java.lang.String expression) |
executeexecutecreateDocument, createDocument, createDocument, createDocument, evaluateExpression, executeScript, getActivityId, getActivityInstance, getActivityInstanceId, getActivityName, getAttribute, getAttribute, getAttribute, getAttribute, getAttributes, getAttributeValue, getAttributeValueSmart, getDocument, getDocumentContent, getDocumentForUpdate, getDocumentType, getEngine, getExternalEventInstanceDetails, getLogger, getMainProcessDefinition, getMasterRequestId, getOutputDocuments, getPackage, getParameterId, getParameters, getParameterStringValue, getParameterType, getParameterValue, getPerformanceLevel, getProcessDefinition, getProcessId, getProcessInstance, getProcessInstanceId, getProcessInstanceOwner, getProcessInstanceOwnerId, getProperty, getRequiredAttribute, getRequiredVariableValue, getReturnCode, getReturnMessage, getRuntimeContext, getScriptEvaluator, getScriptExecClassName, getScriptExecutor, getValue, getValues, getValueSmart, getVariableInstance, getVariableValue, getVariableValueSmart, getWorkTransitionInstanceId, initialize, isDisabled, isLogDebugEnabled, isLogInfoEnabled, isOutputDocument, lockActivityInstance, lockProcessInstance, logdebug, logDebug, logError, logError, logexception, loginfo, logInfo, logsevere, logwarn, logWarn, prepare, setOutputDocuments, setParameterValue, setParameterValueAsDocument, setParameterValues, setProcessInstanceCompletionCode, setReturnCode, setReturnMessage, setValue, setVariableValue, setVariableValue, startTransaction, stopTransaction, translatePlaceHolder, updateDocumentContent, updateDocumentInfo, updateDocumentInfo, valueIsJavaExpression, valueIsVariablepublic static final java.lang.String EXPRESSION
public static final java.lang.String SCRIPT_LANGUAGE
public java.lang.Object evaluate()
throws ActivityException
ActivityExceptionprotected boolean isBooleanExpression(java.lang.String language,
java.lang.String expression)
throws ActivityException
ActivityExceptionCopyright © 2019 CenturyLink, Inc.