Platform SDK Java 8.5 API Reference

com.genesyslab.platform.applicationblocks.commons
Class OrPredicate<T>

java.lang.Object
  extended by com.genesyslab.platform.applicationblocks.commons.PredicateBase<T>
      extended by com.genesyslab.platform.applicationblocks.commons.CompositePredicateBase<T>
          extended by com.genesyslab.platform.applicationblocks.commons.OrPredicate<T>
All Implemented Interfaces:
Predicate<T>

Deprecated. Message Broker Application Block is deprecated. Use setMessageHandler(handler) to handle incoming messages asynchronously.

@Deprecated
public class OrPredicate<T>
extends CompositePredicateBase<T>

OrPredicate class realizes 'OR' logical operation.


Constructor Summary
OrPredicate()
          Deprecated.  
OrPredicate(boolean isNegated)
          Deprecated. Creates an instance of OrPredicate class.
OrPredicate(Predicate<T> predicate0, Predicate<T> predicate1)
          Deprecated. OrPredicate predicate created with this constructor is an analog of an 'OR' binary logical operation.
 
Method Summary
protected  boolean evaluate(T obj)
          Deprecated. Evaluates predicate's condition on true or false.
 
Methods inherited from class com.genesyslab.platform.applicationblocks.commons.CompositePredicateBase
addPredicate, getPredicates, removePredicate
 
Methods inherited from class com.genesyslab.platform.applicationblocks.commons.PredicateBase
invoke, isNegated, setNegated
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OrPredicate

public OrPredicate()
Deprecated. 

OrPredicate

public OrPredicate(boolean isNegated)
Deprecated. 
Creates an instance of OrPredicate class.

Parameters:
isNegated - if true the predicate is considered as negated: an analog of the logical 'NOT' operation

OrPredicate

public OrPredicate(Predicate<T> predicate0,
                   Predicate<T> predicate1)
Deprecated. 
OrPredicate predicate created with this constructor is an analog of an 'OR' binary logical operation.

Parameters:
predicate0 - first predicate
predicate1 - second predicate
Method Detail

evaluate

protected boolean evaluate(T obj)
Deprecated. 
Description copied from class: PredicateBase
Evaluates predicate's condition on true or false.

Specified by:
evaluate in class PredicateBase<T>
Parameters:
obj - object to be used for checking the predicate condition
Returns:
the true or false of the predicate's condition

Platform SDK Java 8.5 API Reference

Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 8.5.302.00
Copyright © 2006–2017 Genesys Telecommunications Laboratories, Inc. All rights reserved.