|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.query.clause.WasClauseImpl
public final class WasClauseImpl
Represents the clause for the "WAS mode" of change history querying. This clause selects issues on the basis of a previous value of a field being equal to a given value (the 'operand').
| Constructor Summary | |
|---|---|
WasClauseImpl(String field,
Operator operator,
Operand operand,
HistoryPredicate predicate)
|
|
WasClauseImpl(WasClause clause)
|
|
| Method Summary | ||
|---|---|---|
|
accept(ClauseVisitor<R> visitor)
Allows us to perform operations over the clauses based on the passed in visitor. |
|
boolean |
equals(Object o)
|
|
List<Clause> |
getClauses()
|
|
String |
getDisplayString()
|
|
String |
getField()
|
|
String |
getName()
The name of the individual clause, this should be unique amongst the implementations otherwise the clauses will be treated as the "same" type of clause. |
|
Operand |
getOperand()
|
|
Operator |
getOperator()
|
|
HistoryPredicate |
getPredicate()
|
|
int |
hashCode()
|
|
String |
toString()
Return a string representation of the clause. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public WasClauseImpl(String field,
Operator operator,
Operand operand,
HistoryPredicate predicate)
public WasClauseImpl(WasClause clause)
| Method Detail |
|---|
public <R> R accept(ClauseVisitor<R> visitor)
Clause
accept in interface Clausevisitor - the visitor to accept.
public String getName()
Clause
getName in interface Clausepublic List<Clause> getClauses()
getClauses in interface Clausepublic Operand getOperand()
getOperand in interface TerminalClausepublic Operator getOperator()
getOperator in interface TerminalClauseOperator.public String getField()
getField in interface WasClausepublic HistoryPredicate getPredicate()
getPredicate in interface WasClausepublic String toString()
Clause
toString in interface ClausetoString in class Objectpublic boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String getDisplayString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||