public class GraphGeneratorVisitor extends TaskVisitor
Constructor and Description |
---|
GraphGeneratorVisitor() |
Modifier and Type | Method and Description |
---|---|
org.springframework.cloud.dataflow.core.dsl.GraphGeneratorVisitor.Context |
currentContext() |
org.springframework.cloud.dataflow.core.dsl.GraphGeneratorVisitor.Sequence |
currentSequence() |
void |
endVisit()
The last call made to a visitor.
|
Graph |
getGraph() |
org.springframework.cloud.dataflow.core.dsl.GraphGeneratorVisitor.Context |
parentContext() |
void |
postVisit(FlowNode flow) |
void |
postVisit(SplitNode split) |
void |
postVisitSequence(LabelledTaskNode firstNode,
int sequenceNumber) |
boolean |
preVisit(FlowNode flow) |
boolean |
preVisit(SplitNode split) |
boolean |
preVisitSequence(LabelledTaskNode firstNode,
int sequenceNumber) |
void |
visit(TaskAppNode taskApp) |
void |
visit(TransitionNode transition) |
postVisit, postVisit, preVisit, preVisit, startVisit, visit, visit
public Graph getGraph()
public boolean preVisitSequence(LabelledTaskNode firstNode, int sequenceNumber)
preVisitSequence
in class TaskVisitor
firstNode
- the first node in the sequencesequenceNumber
- the sequence number, where the primary sequence is 0public void postVisitSequence(LabelledTaskNode firstNode, int sequenceNumber)
postVisitSequence
in class TaskVisitor
public void endVisit()
TaskVisitor
endVisit
in class TaskVisitor
public boolean preVisit(SplitNode split)
preVisit
in class TaskVisitor
split
- the split which represents things to execute in parallelpublic void postVisit(SplitNode split)
postVisit
in class TaskVisitor
public boolean preVisit(FlowNode flow)
preVisit
in class TaskVisitor
flow
- the flow which represents things to execute in sequencepublic void postVisit(FlowNode flow)
postVisit
in class TaskVisitor
public void visit(TransitionNode transition)
visit
in class TaskVisitor
public org.springframework.cloud.dataflow.core.dsl.GraphGeneratorVisitor.Context currentContext()
public org.springframework.cloud.dataflow.core.dsl.GraphGeneratorVisitor.Context parentContext()
public org.springframework.cloud.dataflow.core.dsl.GraphGeneratorVisitor.Sequence currentSequence()
public void visit(TaskAppNode taskApp)
visit
in class TaskVisitor
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.