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
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classNested classes/interfaces inherited from interface ch.tocco.nice2.toolbox.api.collection.NodeVisitor
NodeVisitor.Control<R> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidCalled before traversal starts.voidCalled after all nodes have been visited.voidvisit(TreeNode node, NodeVisitor.Control<GenerateChangelogVisitor.Value> control) Called for each node while traversing.
-
Constructor Details
-
GenerateChangelogVisitor
-
-
Method Details
-
init
Description copied from interface:NodeVisitorCalled before traversal starts.- Specified by:
initin interfaceNodeVisitor<TreeNode,GenerateChangelogVisitor.Value>
-
visit
Description copied from interface:NodeVisitorCalled for each node while traversing.- Specified by:
visitin interfaceNodeVisitor<TreeNode,GenerateChangelogVisitor.Value>
-
onFinish
Description copied from interface:NodeVisitorCalled after all nodes have been visited. In other words,NodeVisitor.Control.stop()has not been called.- Specified by:
onFinishin interfaceNodeVisitor<TreeNode,GenerateChangelogVisitor.Value>
-