com.atlassian.query.history
Class TerminalHistoryPredicate
java.lang.Object
com.atlassian.query.history.TerminalHistoryPredicate
- All Implemented Interfaces:
- HistoryPredicate
public class TerminalHistoryPredicate
- extends Object
- implements HistoryPredicate
Represents an assertion about a change history, namely that the expression of combining the prefix operator with
the operand. The result of evaluating the expression must be true or false. For example the operator may be
com.atlassian.query.operator.Operator.BEFORE
and the operator (which should be a datetime).
- Since:
- v4.3
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TerminalHistoryPredicate
public TerminalHistoryPredicate(Operator operator,
Operand operand)
getOperand
public Operand getOperand()
getOperator
public Operator getOperator()
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.
Copyright © 2002-2011 Atlassian. All Rights Reserved.