public class FeelToJuelTransformImpl extends Object implements FeelToJuelTransform
Modifier and Type | Field and Description |
---|---|
static FeelToJuelTransformer |
COMPARISON_TRANSFORMER |
static List<FeelToJuelTransformer> |
CUSTOM_FUNCTION_TRANSFORMERS |
static FeelToJuelTransformer |
ENDPOINT_TRANSFORMER |
static FeelToJuelTransformer |
EQUAL_TRANSFORMER |
static FeelToJuelTransformer |
HYPHEN_TRANSFORMER |
static FeelToJuelTransformer |
INTERVAL_TRANSFORMER |
static FeelToJuelTransformer |
LIST_TRANSFORMER |
static FeelEngineLogger |
LOG |
static FeelToJuelTransformer |
NOT_TRANSFORMER |
Constructor and Description |
---|
FeelToJuelTransformImpl() |
Modifier and Type | Method and Description |
---|---|
void |
addCustomFunctionTransformer(FeelToJuelTransformer functionTransformer)
Add a transformer for a custom function.
|
String |
transformEndpoint(String endpoint,
String inputName)
Transform a FEEL endpoint expression to a JUEL expression.
|
String |
transformSimplePositiveUnaryTest(String simplePositiveUnaryTest,
String inputName)
Transform a FEEL simple positive unary test expression to a JUEL expression.
|
String |
transformSimplePositiveUnaryTests(String simplePositiveUnaryTests,
String inputName)
Transform a FEEL simple positive unary tests expression to a JUEL expression.
|
String |
transformSimpleUnaryTests(String simpleUnaryTests,
String inputName)
Transform a FEEL simple unary tests expression to a JUEL expression.
|
public static final FeelEngineLogger LOG
public static final FeelToJuelTransformer NOT_TRANSFORMER
public static final FeelToJuelTransformer HYPHEN_TRANSFORMER
public static final FeelToJuelTransformer LIST_TRANSFORMER
public static final FeelToJuelTransformer INTERVAL_TRANSFORMER
public static final FeelToJuelTransformer COMPARISON_TRANSFORMER
public static final FeelToJuelTransformer EQUAL_TRANSFORMER
public static final FeelToJuelTransformer ENDPOINT_TRANSFORMER
public static final List<FeelToJuelTransformer> CUSTOM_FUNCTION_TRANSFORMERS
public String transformSimpleUnaryTests(String simpleUnaryTests, String inputName)
FeelToJuelTransform
transformSimpleUnaryTests
in interface FeelToJuelTransform
simpleUnaryTests
- the FEEL simple unary tests expression to transforminputName
- the variable name of the input variable to test againstpublic String transformSimplePositiveUnaryTests(String simplePositiveUnaryTests, String inputName)
FeelToJuelTransform
transformSimplePositiveUnaryTests
in interface FeelToJuelTransform
simplePositiveUnaryTests
- the FEEL simple positive unary tests expression to transforminputName
- the variable name of the input variable to test againstpublic String transformSimplePositiveUnaryTest(String simplePositiveUnaryTest, String inputName)
FeelToJuelTransform
transformSimplePositiveUnaryTest
in interface FeelToJuelTransform
simplePositiveUnaryTest
- the FEEL simple positive unary test expression to transforminputName
- the variable name of the input variable to test againstpublic String transformEndpoint(String endpoint, String inputName)
FeelToJuelTransform
transformEndpoint
in interface FeelToJuelTransform
endpoint
- the FEEL endpoint expression to transforminputName
- the variable name of the input variable to test againstpublic void addCustomFunctionTransformer(FeelToJuelTransformer functionTransformer)
FeelToJuelTransform
addCustomFunctionTransformer
in interface FeelToJuelTransform
functionTransformer
- the transformer for the custom functionCopyright © 2017. All rights reserved.