public class FreeFormExpressionHandler extends ExpressionHandler
| Constructor and Description |
|---|
FreeFormExpressionHandler(Expression expression) |
| Modifier and Type | Method and Description |
|---|---|
String |
evaluate(BusinessTransaction btxn,
Node node,
Direction direction,
Map<String,?> headers,
Object[] values)
This method evaluates the supplied information against this
expression.
|
void |
init(Processor processor,
ProcessorAction action,
boolean predicate)
This method initialises the expression handler.
|
boolean |
test(BusinessTransaction btxn,
Node node,
Direction direction,
Map<String,?> headers,
Object[] values)
This method evaluates the supplied information against this
expression representing a predicate.
|
getExpression, getIssues, isUsesContent, isUsesHeaders, setExpression, setIssuespublic FreeFormExpressionHandler(Expression expression)
expression - public void init(Processor processor, ProcessorAction action, boolean predicate)
ExpressionHandlerinit in class ExpressionHandlerprocessor - The processoraction - The actionpredicate - Whether the expression is a predicatepublic boolean test(BusinessTransaction btxn, Node node, Direction direction, Map<String,?> headers, Object[] values)
ExpressionHandlertest in class ExpressionHandlerbtxn - The business transactionnode - The nodedirection - The directionheaders - The optional headersvalues - The valuespublic String evaluate(BusinessTransaction btxn, Node node, Direction direction, Map<String,?> headers, Object[] values)
ExpressionHandlerevaluate in class ExpressionHandlerbtxn - The business transactionnode - The nodedirection - The directionheaders - The optional headersvalues - The valuesCopyright © 2015–2016 Red Hat, Inc.. All rights reserved.