@PublicApi
public interface Clause
Query
.
The tree of these will be used to generate an overall search.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.
|
List<Clause> |
getClauses() |
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.
|
String |
toString()
Return a string representation of the clause.
|
String getName()
List<Clause> getClauses()
<R> R accept(ClauseVisitor<R> visitor)
visitor
- the visitor to accept.String toString()
Copyright © 2002-2018 Atlassian. All Rights Reserved.