Class KeepDefaultLangProcessor
java.lang.Object
ch.tocco.nice2.dbrefactoring.impl.process.KeepDefaultLangProcessor
- All Implemented Interfaces:
ChangesetNodeProcessor
Investigates changesets for dropColumn tags that are localized and specified with
keep_default
. It then removes the dropColumn statement for the default
language.
This is used when changing a localized field back to a standard one.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
processChangesetNode
(Document doc, Element changesetNode, ChangesetId id) This is called before a <changeset/> node of a changelog file from some module is added to the final document.
-
Constructor Details
-
KeepDefaultLangProcessor
-
-
Method Details
-
processChangesetNode
Description copied from interface:ChangesetNodeProcessor
This is called before a <changeset/> node of a changelog file from some module is added to the final document.
The arguments given to this method allow you to filter on changesets you want to modify.
- Specified by:
processChangesetNode
in interfaceChangesetNodeProcessor
- Parameters:
doc
- the final document instancechangesetNode
- the <changeset/> nodeid
- the parsed id of this changeset
-