public class ChangedClauseImpl extends Object implements ChangedClause
Constructor and Description |
---|
ChangedClauseImpl(ChangedClause clause) |
ChangedClauseImpl(String field,
Operator operator,
HistoryPredicate historyPredicate) |
Modifier and Type | Method and Description |
---|---|
<R> R |
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 |
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.
|
Operator |
getOperator() |
HistoryPredicate |
getPredicate() |
int |
hashCode() |
String |
toString()
Return a string representation of the clause.
|
public ChangedClauseImpl(String field, Operator operator, HistoryPredicate historyPredicate)
public ChangedClauseImpl(ChangedClause clause)
public String getField()
getField
in interface ChangedClause
public HistoryPredicate getPredicate()
getPredicate
in interface ChangedClause
public Operator getOperator()
getOperator
in interface ChangedClause
public String getName()
Clause
public List<Clause> getClauses()
getClauses
in interface Clause
public <R> R accept(ClauseVisitor<R> visitor)
Clause
public String toString()
Clause
Copyright © 2002-2015 Atlassian. All Rights Reserved.