public class EndpointTransformer extends Object implements FeelToJuelTransformer
Modifier and Type | Field and Description |
---|---|
static Pattern |
DATE_AND_TIME_PATTERN |
Constructor and Description |
---|
EndpointTransformer() |
Modifier and Type | Method and Description |
---|---|
boolean |
canTransform(String feelExpression)
Test if an expression can be transformed by this transformer.
|
String |
transform(FeelToJuelTransform transform,
String feelExpression,
String inputName)
Transform the FEEL expression to a JUEL expression.
|
public static final Pattern DATE_AND_TIME_PATTERN
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 againstCopyright © 2017. All rights reserved.