public class SimpleNavigatorCollectorVisitor extends Object implements ClauseVisitor<Void>
Modifier and Type | Field and Description |
---|---|
protected boolean |
valid |
protected boolean |
validPath |
Constructor and Description |
---|
SimpleNavigatorCollectorVisitor(ClauseNames clauseNames) |
SimpleNavigatorCollectorVisitor(Set<String> clauseNames) |
SimpleNavigatorCollectorVisitor(String clauseName) |
Modifier and Type | Method and Description |
---|---|
List<TerminalClause> |
getClauses() |
boolean |
isValid() |
Void |
visit(AndClause andClause)
Visit called when accepting a
AndClause . |
Void |
visit(ChangedClause clause)
Visit called when accepting a
ChangedClause . |
Void |
visit(NotClause notClause)
Visit called when accepting a
NotClause . |
Void |
visit(OrClause orClause)
Visit called when accepting a
OrClause . |
Void |
visit(TerminalClause terminalClause)
Visit called when accepting a
TerminalClause . |
Void |
visit(WasClause clause)
Visit called when accepting a
WasClause . |
public SimpleNavigatorCollectorVisitor(String clauseName)
public SimpleNavigatorCollectorVisitor(ClauseNames clauseNames)
public List<TerminalClause> getClauses()
public boolean isValid()
public Void visit(AndClause andClause)
ClauseVisitor
AndClause
.visit
in interface ClauseVisitor<Void>
andClause
- the node being visited.public Void visit(NotClause notClause)
ClauseVisitor
NotClause
.visit
in interface ClauseVisitor<Void>
notClause
- the node being visited.public Void visit(OrClause orClause)
ClauseVisitor
OrClause
.visit
in interface ClauseVisitor<Void>
orClause
- the node being visited.public Void visit(TerminalClause terminalClause)
ClauseVisitor
TerminalClause
.visit
in interface ClauseVisitor<Void>
terminalClause
- the node being visited.public Void visit(WasClause clause)
ClauseVisitor
WasClause
.visit
in interface ClauseVisitor<Void>
clause
- the node being visited.public Void visit(ChangedClause clause)
ClauseVisitor
ChangedClause
.visit
in interface ClauseVisitor<Void>
clause
- the node being visited.Copyright © 2002-2022 Atlassian. All Rights Reserved.