public class OrClause extends MultiClause
| Constructor and Description |
|---|
OrClause(Clause... clauses) |
OrClause(Collection<? extends Clause> clauses) |
| 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.
|
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.
|
equals, getClauses, hashCode, toStringpublic static final String OR
public OrClause(Clause... clauses)
public OrClause(Collection<? extends Clause> clauses)
public String getName()
Clausepublic <R> R accept(ClauseVisitor<R> visitor)
Clausevisitor - the visitor to accept.Copyright © 2002-2018 Atlassian. All Rights Reserved.