|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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 Clause
visitor
- the visitor to accept.
public String getName()
Clause
getName
in interface Clause
public List<Clause> getClauses()
getClauses
in interface Clause
public Operand getOperand()
getOperand
in interface TerminalClause
public Operator getOperator()
getOperator
in interface TerminalClause
Operator
.public String getField()
getField
in interface WasClause
public HistoryPredicate getPredicate()
getPredicate
in interface WasClause
public String toString()
Clause
toString
in interface Clause
toString
in class Object
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String getDisplayString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |