public class ListTransformer extends Object implements FeelToJuelTransformer
Modifier and Type | Field and Description |
---|---|
static String |
COMMA_SEPARATOR_REGEX |
static FeelEngineLogger |
LOG |
Constructor and Description |
---|
ListTransformer() |
Modifier and Type | Method and Description |
---|---|
boolean |
canTransform(String feelExpression)
Test if an expression can be transformed by this transformer.
|
protected List<String> |
collectExpressions(String feelExpression) |
protected String |
joinExpressions(List<String> juelExpressions) |
String |
transform(FeelToJuelTransform transform,
String feelExpression,
String inputName)
Transform the FEEL expression to a JUEL expression.
|
protected List<String> |
transformExpressions(FeelToJuelTransform transform,
String feelExpression,
String inputName) |
public static final FeelEngineLogger LOG
public static final String COMMA_SEPARATOR_REGEX
public boolean canTransform(String feelExpression)
FeelToJuelTransformer
canTransform
in interface FeelToJuelTransformer
feelExpression
- the FEEL expression to transformpublic String transform(FeelToJuelTransform transform, String feelExpression, String inputName)
FeelToJuelTransformer
transform
in interface FeelToJuelTransformer
transform
- the FeelToJuelTransform
to use for further transformsfeelExpression
- the FEEL expression to transforminputName
- the variable name of the input variable to test againstprotected List<String> transformExpressions(FeelToJuelTransform transform, String feelExpression, String inputName)
Copyright © 2017. All rights reserved.