public class CompiledFEELSemanticMappings extends Object
Constructor and Description |
---|
CompiledFEELSemanticMappings() |
Modifier and Type | Method and Description |
---|---|
static Object |
add(Object left,
Object right)
FEEL spec Table 45
Delegates to
InfixOpNode except evaluationcontext |
static Boolean |
and(boolean left,
boolean right) |
static Boolean |
and(boolean left,
Object right) |
static Boolean |
and(Object left,
Object right)
FEEL spec Table 38
Delegates to
InfixOpNode except evaluationcontext |
static Boolean |
between(EvaluationContext ctx,
Object value,
Object start,
Object end) |
static <T> T |
coerceTo(Class<?> paramType,
Object value) |
static Boolean |
coerceToBoolean(EvaluationContext ctx,
Object value) |
static Object |
div(Object left,
BigDecimal right) |
static Object |
div(Object left,
Object right)
FEEL spec Table 45
Delegates to
InfixOpNode except evaluationcontext |
static Boolean |
eq(Object left,
Object right)
FEEL spec Table 41: Specific semantics of equality
Delegates to
EvalHelper except evaluationcontext |
static Boolean |
exists(EvaluationContext ctx,
Object tests,
Object target)
Returns true when at least one of the elements of the list matches the target.
|
static Boolean |
gracefulEq(EvaluationContext ctx,
Object left,
Object right) |
static Boolean |
gt(Object left,
Object right)
FEEL spec Table 42 and derivations
Delegates to
EvalHelper except evaluationcontext |
static Boolean |
gte(Object left,
Object right)
FEEL spec Table 42 and derivations
Delegates to
EvalHelper except evaluationcontext |
static Boolean |
includes(EvaluationContext ctx,
Object range,
Object param) |
static <T> List<T> |
list(T... a)
Represent a [e1, e2, e3] construct.
|
static Boolean |
lt(Object left,
Object right)
FEEL spec Table 42 and derivations
Delegates to
EvalHelper except evaluationcontext |
static Boolean |
lte(Object left,
Object right)
FEEL spec Table 42 and derivations
Delegates to
EvalHelper except evaluationcontext |
static Object |
mult(Object left,
Object right)
FEEL spec Table 45
Delegates to
InfixOpNode except evaluationcontext |
static Boolean |
ne(Object left,
Object right)
FEEL spec Table 39
|
static Object |
negateTest(Object param) |
static Boolean |
not(Object arg,
UnaryTest test) |
static Boolean |
notExists(EvaluationContext ctx,
List tests,
Object target)
Implements a negated exists.
|
static Boolean |
or(boolean left,
boolean right) |
static Boolean |
or(Object left,
boolean right) |
static Boolean |
or(Object left,
Object right)
FEEL spec Table 38
Delegates to
InfixOpNode except evaluationcontext |
static Object |
pow(Object left,
Object right) |
static RangeImpl |
range(EvaluationContext ctx,
Range.RangeBoundary lowBoundary,
Object lowEndPoint,
Object highEndPoint,
Range.RangeBoundary highBoundary)
Represents a [n..m] construct
|
static Object |
sub(Object left,
Object right)
FEEL spec Table 45
Delegates to
InfixOpNode except evaluationcontext |
public static RangeImpl range(EvaluationContext ctx, Range.RangeBoundary lowBoundary, Object lowEndPoint, Object highEndPoint, Range.RangeBoundary highBoundary)
public static Boolean includes(EvaluationContext ctx, Object range, Object param)
public static Boolean exists(EvaluationContext ctx, Object tests, Object target)
public static Boolean notExists(EvaluationContext ctx, List tests, Object target)
Returns false when at least one of the elements of the list matches the target. The list may contain both objects (equals) and UnaryTests (apply)
public static Boolean coerceToBoolean(EvaluationContext ctx, Object value)
@SafeVarargs public static <T> List<T> list(T... a)
public static Boolean and(Object left, Object right)
InfixOpNode
except evaluationcontextpublic static Boolean and(boolean left, boolean right)
public static Boolean or(Object left, Object right)
InfixOpNode
except evaluationcontextpublic static Boolean or(boolean left, boolean right)
public static Object add(Object left, Object right)
InfixOpNode
except evaluationcontextpublic static Object sub(Object left, Object right)
InfixOpNode
except evaluationcontextpublic static Object mult(Object left, Object right)
InfixOpNode
except evaluationcontextpublic static Object div(Object left, Object right)
InfixOpNode
except evaluationcontextpublic static Object div(Object left, BigDecimal right)
public static Boolean lte(Object left, Object right)
EvalHelper
except evaluationcontextpublic static Boolean lt(Object left, Object right)
EvalHelper
except evaluationcontextpublic static Boolean gte(Object left, Object right)
EvalHelper
except evaluationcontextpublic static Boolean gt(Object left, Object right)
EvalHelper
except evaluationcontextpublic static Boolean eq(Object left, Object right)
EvalHelper
except evaluationcontextpublic static Boolean gracefulEq(EvaluationContext ctx, Object left, Object right)
public static Boolean between(EvaluationContext ctx, Object value, Object start, Object end)
Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.