Class RemoveRemarksProcessor

java.lang.Object
ch.tocco.nice2.dbrefactoring.impl.process.RemoveRemarksProcessor
All Implemented Interfaces:
ChangesetNodeProcessor

public class RemoveRemarksProcessor extends Object implements ChangesetNodeProcessor
Removes all remarks attributes from elements. The remarks attribute is used for controling post processing. After this is done, it should be finally removed before feeding liquibase, since for some elements this attribute is not allowed.
  • Constructor Details

    • RemoveRemarksProcessor

      public RemoveRemarksProcessor()
  • Method Details

    • processChangesetNode

      public void processChangesetNode(Document doc, Element changesetNode, ChangesetId id)
      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 interface ChangesetNodeProcessor
      Parameters:
      doc - the final document instance
      changesetNode - the <changeset/> node
      id - the parsed id of this changeset