public class ElUtil extends Object
| Constructor and Description |
|---|
ElUtil() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
hasBrackets(String condition)
Checks if the given string starts with ${ and ends with } (the input is striped of whitespace first)
|
static javax.el.ELProcessor |
initNewELProcessor(Environment environment,
Long externalInstanceId)
Creates and prepares a new ELProcessor instance with workflow engine configuration to evaluate expressions on
workflow instance environment together with some additional features (NOW variable, WORKFLOW_INSTANCE_ID variable).
|
static boolean |
isReservedVariable(String variableName)
Checks if the given variable name is a reserved keyword and SHOULD NOT be used as a key for an Environment attribute.
|
static String |
removeBrackets(String condition)
After trimming the input, removes two characters from the start and one from the end and returns the result.
|
public static boolean hasBrackets(String condition)
public static String removeBrackets(String condition)
public static javax.el.ELProcessor initNewELProcessor(Environment environment, Long externalInstanceId)
public static boolean isReservedVariable(String variableName)
Copyright © 2018. All rights reserved.