Class RemoveLanguagesProcessor
java.lang.Object
ch.tocco.nice2.dbrefactoring.impl.process.RemoveLanguagesProcessor
- All Implemented Interfaces:
ChangesetNodeProcessor
Looks for column defintions and removes any columns that are localized to a language
which does not exist in the current nice2 instance.
-
Constructor Summary
ConstructorDescriptionRemoveLanguagesProcessor
(L10N l10n) RemoveLanguagesProcessor
(Locale[] providedLanguages) -
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
-
RemoveLanguagesProcessor
-
RemoveLanguagesProcessor
-
-
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
-