public class BooleanFunctionCallExpr extends FunctionCallExpression implements BooleanExpression
FunctionCallExpression.functionRegistration, FunctionCallExpression.invalidFunctionExpressionExceptionarguments, filterFunc, functionName, functionRegistry| Constructor and Description |
|---|
BooleanFunctionCallExpr(String func_name,
List<Expression> args)
Constructs a function call expression with the named filter function and arguments, which returns a boolean
result.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
matches(MessageEvaluationContext message_ctx)
Evaluate the function call expression, in the given context, and return an indication of whether the
expression "matches" (i.e. evaluates to true).
|
createFunctionCall, deregisterFunction, evaluate, getArgument, getNumArguments, registerFunction, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitevaluatepublic BooleanFunctionCallExpr(String func_name, List<Expression> args) throws FunctionCallExpression.invalidFunctionExpressionException
func_name - - Name of the filter function to be called when evaluated.args - - List of argument expressions passed to the function.FunctionCallExpression.invalidFunctionExpressionExceptionpublic boolean matches(MessageEvaluationContext message_ctx) throws javax.jms.JMSException
matches in interface BooleanExpressionmessage_ctx - - message context against which the expression will be evaluated.javax.jms.JMSExceptionCopyright © 2005–2020 The Apache Software Foundation. All rights reserved.