Class ApplyRunOnChangeProcessor
java.lang.Object
ch.tocco.nice2.dbrefactoring.impl.process.ApplyRunOnChangeProcessor
- All Implemented Interfaces:
ChangesetNodeProcessor
Checks if the changeset has any localized columns. If this is the case, the changeset
must be annotated with
runOnChange = "true"
. This processor will set this
attribute if it's not present. If it is already present, it will not change it's value.-
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
-
ApplyRunOnChangeProcessor
public ApplyRunOnChangeProcessor()
-
-
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
-