org.camunda.bpm.dmn.feel.impl.juel.transform
Class FeelToJuelTransformImpl

java.lang.Object
  extended by org.camunda.bpm.dmn.feel.impl.juel.transform.FeelToJuelTransformImpl
All Implemented Interfaces:
FeelToJuelTransform

public class FeelToJuelTransformImpl
extends Object
implements FeelToJuelTransform


Field Summary
static FeelToJuelTransformer COMPARISON_TRANSFORMER
           
static FeelToJuelTransformer ENDPOINT_TRANSFORMER
           
static FeelToJuelTransformer EQUAL_TRANSFORMER
           
static FeelToJuelTransformer HYPHEN_TRANSFORMER
           
static FeelToJuelTransformer INTERVAL_TRANSFORMER
           
static FeelToJuelTransformer LIST_TRANSFORMER
           
static FeelToJuelTransformer NOT_TRANSFORMER
           
 
Constructor Summary
FeelToJuelTransformImpl()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NOT_TRANSFORMER

public static final FeelToJuelTransformer NOT_TRANSFORMER

HYPHEN_TRANSFORMER

public static final FeelToJuelTransformer HYPHEN_TRANSFORMER

LIST_TRANSFORMER

public static final FeelToJuelTransformer LIST_TRANSFORMER

INTERVAL_TRANSFORMER

public static final FeelToJuelTransformer INTERVAL_TRANSFORMER

COMPARISON_TRANSFORMER

public static final FeelToJuelTransformer COMPARISON_TRANSFORMER

EQUAL_TRANSFORMER

public static final FeelToJuelTransformer EQUAL_TRANSFORMER

ENDPOINT_TRANSFORMER

public static final FeelToJuelTransformer ENDPOINT_TRANSFORMER
Constructor Detail

FeelToJuelTransformImpl

public FeelToJuelTransformImpl()
Method Detail

transformSimpleUnaryTests

public String transformSimpleUnaryTests(String simpleUnaryTests,
                                        String inputName)
Description copied from interface: FeelToJuelTransform
Transform a FEEL simple unary tests expression to a JUEL expression.

Specified by:
transformSimpleUnaryTests in interface FeelToJuelTransform
Parameters:
simpleUnaryTests - the FEEL simple unary tests expression to transform
inputName - the variable name of the input variable to test against
Returns:
the resulting JUEL expression

transformSimplePositiveUnaryTests

public String transformSimplePositiveUnaryTests(String simplePositiveUnaryTests,
                                                String inputName)
Description copied from interface: FeelToJuelTransform
Transform a FEEL simple positive unary tests expression to a JUEL expression.

Specified by:
transformSimplePositiveUnaryTests in interface FeelToJuelTransform
Parameters:
simplePositiveUnaryTests - the FEEL simple positive unary tests expression to transform
inputName - the variable name of the input variable to test against
Returns:
the resulting JUEL expression

transformSimplePositiveUnaryTest

public String transformSimplePositiveUnaryTest(String simplePositiveUnaryTest,
                                               String inputName)
Description copied from interface: FeelToJuelTransform
Transform a FEEL simple positive unary test expression to a JUEL expression.

Specified by:
transformSimplePositiveUnaryTest in interface FeelToJuelTransform
Parameters:
simplePositiveUnaryTest - the FEEL simple positive unary test expression to transform
inputName - the variable name of the input variable to test against
Returns:
the resulting JUEL expression

transformEndpoint

public String transformEndpoint(String endpoint,
                                String inputName)
Description copied from interface: FeelToJuelTransform
Transform a FEEL endpoint expression to a JUEL expression.

Specified by:
transformEndpoint in interface FeelToJuelTransform
Parameters:
endpoint - the FEEL endpoint expression to transform
inputName - the variable name of the input variable to test against
Returns:
the resulting JUEL expression


Copyright © 2016 camunda services GmbH. All rights reserved.