org.camunda.bpm.dmn.feel.impl.juel.transform
Class ListTransformer
java.lang.Object
org.camunda.bpm.dmn.feel.impl.juel.transform.ListTransformer
- All Implemented Interfaces:
- FeelToJuelTransformer
public class ListTransformer
- extends Object
- implements FeelToJuelTransformer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOG
public static final FeelEngineLogger LOG
COMMA_SEPARATOR_REGEX
public static final String COMMA_SEPARATOR_REGEX
- See Also:
- Constant Field Values
ListTransformer
public ListTransformer()
canTransform
public boolean canTransform(String feelExpression)
- Description copied from interface:
FeelToJuelTransformer
- Test if an expression can be transformed by this transformer.
- Specified by:
canTransform in interface FeelToJuelTransformer
- Parameters:
feelExpression - the FEEL expression to transform
- Returns:
- true if the expression can be transformed by this transformer, false otherwise
transform
public String transform(FeelToJuelTransform transform,
String feelExpression,
String inputName)
- Description copied from interface:
FeelToJuelTransformer
- Transform the FEEL expression to a JUEL expression.
- Specified by:
transform in interface FeelToJuelTransformer
- Parameters:
transform - the FeelToJuelTransform to use for further transformsfeelExpression - the FEEL expression to transforminputName - the variable name of the input variable to test against
- Returns:
- the resulting JUEL expression
collectExpressions
protected List<String> collectExpressions(String feelExpression)
transformExpressions
protected List<String> transformExpressions(FeelToJuelTransform transform,
String feelExpression,
String inputName)
joinExpressions
protected String joinExpressions(List<String> juelExpressions)
Copyright © 2017 camunda services GmbH. All rights reserved.