java.lang.Cloneable
ContainsAny
public abstract class FilterCondition
extends java.lang.Object
implements java.lang.Cloneable
FilterOperand
.Constructor | Description |
---|---|
FilterCondition(java.lang.String key,
FilterOperand op1,
FilterOperand op2,
boolean negative) |
Creates message filter condition.
|
Modifier and Type | Method | Description |
---|---|---|
java.lang.Object |
clone() |
|
abstract boolean |
evaluate(Message message,
FilterContext context) |
Evaluates condition for specified message and context.
|
java.lang.String |
getKey() |
Gets message filter condition key.
|
FilterOperand |
getOp1() |
First operand (argument) of the logical operator (condition).
|
FilterOperand |
getOp2() |
Second operand (argument) of the logical operator (condition).
|
boolean |
isNegative() |
The result of condition can be inverted.
|
void |
register(FilterContext context) |
Registers filter variables and so on.
|
void |
unregister(FilterContext context) |
Unregisters filter variables and so on.
|
public FilterCondition(java.lang.String key, FilterOperand op1, FilterOperand op2, boolean negative)
key
- message filter key.public java.lang.String getKey()
public boolean isNegative()
true
if result is inverted.public FilterOperand getOp1()
public FilterOperand getOp2()
public abstract boolean evaluate(Message message, FilterContext context)
message
- message for filtering.context
- the context containing filter variables.true
if condition completed successfully.public java.lang.Object clone()
clone
in class java.lang.Object
public void register(FilterContext context)
context
- filter context.public void unregister(FilterContext context)
context
- filter context.Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 9.0.006.00
Copyright © 2006–2019 Genesys Telecommunications Laboratories, Inc. All rights reserved.