Methods
Modifier and Type |
Method and Description |
Expression |
createAPIAccessorExpression() |
Expression |
createComparisonExpression(String name,
Expression leftOperand,
ComparisonOperator operator,
Expression rightOperand) |
Expression |
createComparisonExpression(String name,
Expression leftOperand,
String operator,
Expression rightOperand) |
Expression |
createConstantBooleanExpression(boolean value) |
Expression |
createConstantDateExpression(String value)
Build a constant expression with date type and value in ISO-8601 format
|
Expression |
createConstantDoubleExpression(double d) |
Expression |
createConstantFloatExpression(float f) |
Expression |
createConstantIntegerExpression(int value) |
Expression |
createConstantLongExpression(long value) |
Expression |
createConstantStringExpression(String value)
The name of the built expression is set to the value of the constant.
|
Expression |
createDataExpression(String dataName,
String dataType) |
Expression |
createDocumentReferenceExpression(String documentName) |
Expression |
createEngineConstant(ExpressionConstants value) |
Expression |
createExpression(String name,
String expressionContent,
String returnType,
ExpressionType expressionType) |
Expression |
createExpression(String name,
String content,
String type,
String returnType,
String interpreter,
List<Expression> dependencies) |
Expression |
createGroovyScriptExpression(String name,
String script,
String returnType) |
Expression |
createGroovyScriptExpression(String name,
String script,
String returnType,
Expression... dependencies) |
Expression |
createGroovyScriptExpression(String name,
String script,
String returnType,
List<Expression> dependencies) |
Expression |
createInputExpression(String value,
String returnType) |
Expression |
createJavaMethodCallExpression(String name,
String methodName,
String returnType,
Expression entityExpression)
Create an expression to call a simple Java method (without parameters)
|
Expression |
createListExpression(String name,
List<Expression> expressions) |
Expression |
createListOfListExpression(String name,
List<List<Expression>> expressions) |
Expression |
createLogicalComplementExpression(String name,
Expression expression) |
ExpressionBuilder |
createNewInstance(String name) |
Expression |
createParameterExpression(String expressionName,
String parameterName,
String returnType) |
Expression |
createPatternExpression(String dataContent) |
Expression |
createPatternExpression(String name,
String messagePattern,
Expression... dependencies) |
Expression |
createXPathExpression(String name,
String xPathExpression,
XPathReturnType returnType,
String xmlContent) |
Expression |
createXPathExpressionWithDataAsContent(String name,
String xPathExpression,
XPathReturnType returnType,
String xmlContentAsDataRef) |
Expression |
done()
Builds a new expression with the specified attributes
|
protected void |
getXPathReturnType(XPathReturnType returnType,
ExpressionBuilder expBuilder) |
ExpressionBuilder |
setContent(String content) |
ExpressionBuilder |
setDependencies(List<Expression> dependencies) |
ExpressionBuilder |
setExpressionType(ExpressionType expressionType) |
ExpressionBuilder |
setExpressionType(String expressionType) |
ExpressionBuilder |
setInterpreter(String interpreter) |
ExpressionBuilder |
setName(String name) |
ExpressionBuilder |
setReturnType(String returnType) |