public class AndClause extends MultiClause
Constructor and Description |
---|
AndClause(Clause... clauses) |
AndClause(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, toString
public static final String AND
public AndClause(Clause... clauses)
public AndClause(Collection<? extends Clause> clauses)
public String getName()
Clause
public <R> R accept(ClauseVisitor<R> visitor)
Clause
visitor
- the visitor to accept.Copyright © 2002-2021 Atlassian. All Rights Reserved.