com.atlassian.query.history
Class AndHistoryPredicate
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AndHistoryPredicate
public AndHistoryPredicate(List<HistoryPredicate> predicates)
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.