public class BooleanFunctionCallExpr extends FunctionCallExpression implements BooleanExpression
FunctionCallExpression.functionRegistration, FunctionCallExpression.invalidFunctionExpressionException
arguments, 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, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
evaluate
public 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.invalidFunctionExpressionException
public boolean matches(MessageEvaluationContext message_ctx) throws JMSException
matches
in interface BooleanExpression
message_ctx
- - message context against which the expression will be evaluated.JMSException
Copyright © 2005–2016 FuseSource, Corp.. All rights reserved.