Class GenerateInitialValuesVisitor
java.lang.Object
ch.tocco.nice2.dbrefactoring.impl.GenerateInitialValuesVisitor
- All Implemented Interfaces:
NodeVisitor<TreeNode,
Void>
-
Nested Class Summary
Nested classes/interfaces inherited from interface ch.tocco.nice2.toolbox.api.collection.NodeVisitor
NodeVisitor.Control<R>
-
Constructor Summary
ConstructorDescriptionGenerateInitialValuesVisitor
(Query2Changelog query2Changelog, CustomChangelog doc, Set<String> tableNames) -
Method Summary
Modifier and TypeMethodDescriptionvoid
init
(NodeVisitor.Control<Void> voidControl) Called before traversal starts.void
onFinish
(NodeVisitor.Control<Void> voidControl) Called after all nodes have been visited.void
visit
(TreeNode node, NodeVisitor.Control<Void> voidControl) Called for each node while traversing.
-
Constructor Details
-
GenerateInitialValuesVisitor
public GenerateInitialValuesVisitor(Query2Changelog query2Changelog, CustomChangelog doc, Set<String> tableNames)
-
-
Method Details
-
visit
Description copied from interface:NodeVisitor
Called for each node while traversing.- Specified by:
visit
in interfaceNodeVisitor<TreeNode,
Void>
-
init
Description copied from interface:NodeVisitor
Called before traversal starts.- Specified by:
init
in interfaceNodeVisitor<TreeNode,
Void>
-
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,
Void>
-