Platform SDK Java 8.5 API Reference

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

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

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

@Deprecated
public abstract class CompositePredicateBase<T>
extends PredicateBase<T>

CompositePredicateBase class is an abstract base class that can consist of a set of atomic predicates.


Constructor Summary
protected CompositePredicateBase()
          Deprecated.  
protected CompositePredicateBase(boolean isNegated)
          Deprecated. Creates an instance of CompositePredicateBase class.
protected CompositePredicateBase(Predicate<T> p0, Predicate<T> p1)
          Deprecated. Creates an instance of CompositePredicateBase class.
 
Method Summary
 void addPredicate(Predicate<T> predicate)
          Deprecated. Adds a predicate to the predicates' set.
protected  java.util.ArrayList<Predicate<T>> getPredicates()
          Deprecated. Gets list of atomic predicates.
 void removePredicate(Predicate<T> predicate)
          Deprecated. Removes a predicate from the predicates' set.
 
Methods inherited from class com.genesyslab.platform.applicationblocks.commons.PredicateBase
evaluate, invoke, isNegated, setNegated
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompositePredicateBase

protected CompositePredicateBase()
Deprecated. 

CompositePredicateBase

protected CompositePredicateBase(boolean isNegated)
Deprecated. 
Creates an instance of CompositePredicateBase class.

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

CompositePredicateBase

protected CompositePredicateBase(Predicate<T> p0,
                                 Predicate<T> p1)
Deprecated. 
Creates an instance of CompositePredicateBase class. Composite predicate created with this constructor is an analog of a binary logical operation.

Parameters:
p0 - first predicate
p1 - second predicate
Method Detail

getPredicates

protected java.util.ArrayList<Predicate<T>> getPredicates()
Deprecated. 
Gets list of atomic predicates.

Returns:
list of predicates

addPredicate

public void addPredicate(Predicate<T> predicate)
Deprecated. 
Adds a predicate to the predicates' set.

Parameters:
predicate - predicate to be added to the predicates' set

removePredicate

public void removePredicate(Predicate<T> predicate)
Deprecated. 
Removes a predicate from the predicates' set.

Parameters:
predicate - predicate to be removed from the predicates' set

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.