public class BooleanExpressionArgument extends Object implements ExpressionArgument
| Modifier and Type | Field and Description |
|---|---|
static BooleanExpressionArgument |
FALSE
Evaluates to FALSE in an expression stack.
|
static BooleanExpressionArgument |
TRUE
Evaluates to TRUE in an expression stack.
|
| Constructor and Description |
|---|
BooleanExpressionArgument(boolean value)
BooleanExpressionArgument constructor.
|
| Modifier and Type | Method and Description |
|---|---|
ExpressionArgument |
evaluate(Expression expression,
Object input)
This method is called when an argument in the expression stack is
evaluated.
|
boolean |
getValue()
Gets the Boolean value of this expression argument.
|
String |
toString() |
public static final BooleanExpressionArgument TRUE
public static final BooleanExpressionArgument FALSE
public BooleanExpressionArgument(boolean value)
value - The Boolean value to take.public ExpressionArgument evaluate(Expression expression, Object input)
ExpressionArgumentExpression#evaluate(Object input) is used to
evaluate the entire stack.evaluate in interface ExpressionArgumentexpression - The expression stack the argument is in.input - The input argument to the expression stack.Expressionpublic boolean getValue()
Copyright 2004-2017 Solace Corporation. All rights reserved.