com.atlassian.query.history
Class AndHistoryPredicate

java.lang.Object
  extended by com.atlassian.query.history.AndHistoryPredicate
All Implemented Interfaces:
HistoryPredicate

public class AndHistoryPredicate
extends Object
implements HistoryPredicate

Represents a sequence of HistoryPredicates composed with AND operators such that the resulting predicate is true only if ALL of the composed predicates are true.

Since:
v4.3

Constructor Summary
AndHistoryPredicate(List<HistoryPredicate> predicates)
           
 
Method Summary
<R> R
accept(PredicateVisitor<R> visitor)
          Allows us to perform operations over the clauses based on the passed in visitor.
 String getDisplayString()
           
 List<HistoryPredicate> getPredicates()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AndHistoryPredicate

public AndHistoryPredicate(List<HistoryPredicate> predicates)
Method Detail

getDisplayString

public String getDisplayString()
Specified by:
getDisplayString in interface HistoryPredicate

accept

public <R> R accept(PredicateVisitor<R> visitor)
Description copied from interface: HistoryPredicate
Allows us to perform operations over the clauses based on the passed in visitor. This method calls the visit method on the visitor with this reference.

Specified by:
accept in interface HistoryPredicate
Parameters:
visitor - the visitor to accept.
Returns:
the result of the visit operation who's type is specified by the incoming visitor.

getPredicates

public List<HistoryPredicate> getPredicates()


Copyright © 2002-2013 Atlassian. All Rights Reserved.