public final class WasClauseImpl extends Object implements WasClause
| Constructor and Description |
|---|
WasClauseImpl(String field,
Operator operator,
Operand operand,
HistoryPredicate predicate) |
WasClauseImpl(WasClause clause) |
| 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 |
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() |
com.atlassian.fugue.Option<Property> |
getProperty() |
int |
hashCode() |
String |
toString()
Return a string representation of the clause.
|
public WasClauseImpl(String field, Operator operator, Operand operand, HistoryPredicate predicate)
public WasClauseImpl(WasClause clause)
public <R> R accept(ClauseVisitor<R> visitor)
Clausepublic String getName()
Clausepublic List<Clause> getClauses()
getClauses in interface Clausepublic Operand getOperand()
getOperand in interface TerminalClausepublic Operator getOperator()
getOperator in interface TerminalClauseOperator.public com.atlassian.fugue.Option<Property> getProperty()
getProperty in interface TerminalClausepublic HistoryPredicate getPredicate()
getPredicate in interface WasClausepublic String toString()
Clausepublic String getDisplayString()
Copyright © 2002-2016 Atlassian. All Rights Reserved.