Class GenerateChangelogVisitor
java.lang.Object
ch.tocco.nice2.dbrefactoring.impl.GenerateChangelogVisitor
- All Implemented Interfaces:
NodeVisitor<TreeNode,
GenerateChangelogVisitor.Value>
public class GenerateChangelogVisitor
extends Object
implements NodeVisitor<TreeNode,GenerateChangelogVisitor.Value>
This visitor assumes depth-first traversal and creates the initial db changelog for
db schema and constraints on each node visit.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
Nested classes/interfaces inherited from interface ch.tocco.nice2.toolbox.api.collection.NodeVisitor
NodeVisitor.Control<R>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Called before traversal starts.void
Called after all nodes have been visited.void
visit
(TreeNode node, NodeVisitor.Control<GenerateChangelogVisitor.Value> control) Called for each node while traversing.
-
Constructor Details
-
GenerateChangelogVisitor
-
-
Method Details
-
init
Description copied from interface:NodeVisitor
Called before traversal starts.- Specified by:
init
in interfaceNodeVisitor<TreeNode,
GenerateChangelogVisitor.Value>
-
visit
Description copied from interface:NodeVisitor
Called for each node while traversing.- Specified by:
visit
in interfaceNodeVisitor<TreeNode,
GenerateChangelogVisitor.Value>
-
onFinish
Description copied from interface:NodeVisitor
Called after all nodes have been visited. In other words,NodeVisitor.Control.stop()
has not been called.- Specified by:
onFinish
in interfaceNodeVisitor<TreeNode,
GenerateChangelogVisitor.Value>
-