public class

TerminalHistoryPredicate

extends Object
implements HistoryPredicate
java.lang.Object
   ↳ com.atlassian.query.history.TerminalHistoryPredicate

Class Overview

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).

Summary

Public Constructors
TerminalHistoryPredicate(Operator operator, Operand operand)
Public Methods
<R> R accept(PredicateVisitor<R> visitor)
Allows us to perform operations over the clauses based on the passed in visitor.
String getDisplayString()
Operand getOperand()
Operator getOperator()
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.query.history.HistoryPredicate

Public Constructors

public TerminalHistoryPredicate (Operator operator, Operand operand)

Public Methods

public R accept (PredicateVisitor<R> visitor)

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.

Parameters
visitor the visitor to accept.
Returns
  • the result of the visit operation who's type is specified by the incoming visitor.

public String getDisplayString ()

public Operand getOperand ()

public Operator getOperator ()