@NonInjectableComponent public class WorklogClausesTransformerVisitor extends Object implements ClauseVisitor<Clause>
The purpose is to apply all worklog clauses to single worklog instead of executing them separately. We need this because one issue can have many worklogs and worklogs are stored as documents in a separate index.
Modifier and Type | Class and Description |
---|---|
static class |
WorklogClausesTransformerVisitor.Factory |
Modifier and Type | Method and Description |
---|---|
Clause |
visit(AndClause andClause)
Visit called when accepting a
AndClause . |
Clause |
visit(ChangedClause clause)
Visit called when accepting a
ChangedClause . |
Clause |
visit(NotClause notClause)
Visit called when accepting a
NotClause . |
Clause |
visit(OrClause orClause)
Visit called when accepting a
OrClause . |
Clause |
visit(TerminalClause clause)
Visit called when accepting a
TerminalClause . |
Clause |
visit(WasClause clause)
Visit called when accepting a
WasClause . |
public Clause visit(AndClause andClause)
ClauseVisitor
AndClause
.visit
in interface ClauseVisitor<Clause>
andClause
- the node being visited.public Clause visit(OrClause orClause)
ClauseVisitor
OrClause
.visit
in interface ClauseVisitor<Clause>
orClause
- the node being visited.public Clause visit(TerminalClause clause)
ClauseVisitor
TerminalClause
.visit
in interface ClauseVisitor<Clause>
clause
- the node being visited.public Clause visit(NotClause notClause)
ClauseVisitor
NotClause
.visit
in interface ClauseVisitor<Clause>
notClause
- the node being visited.public Clause visit(WasClause clause)
ClauseVisitor
WasClause
.visit
in interface ClauseVisitor<Clause>
clause
- the node being visited.public Clause visit(ChangedClause clause)
ClauseVisitor
ChangedClause
.visit
in interface ClauseVisitor<Clause>
clause
- the node being visited.Copyright © 2002-2021 Atlassian. All Rights Reserved.