Package ch.tocco.nice2.dbrefactoring.spi
Interface PostProcessor
- All Known Implementing Classes:
PostProcessorImpl
public interface PostProcessor
-
Method Summary
Modifier and TypeMethodDescriptionvoidapplyFinalizers(Document document, ChangelogType type) Applies the node processors contributed as final to the given document.voidprepareChangelog(Document document) Applies final modifications to the provided changelog before processing its changesets.voidprocessChangesetNode(Document document, Element changesetNode, ChangesetId id, ChangelogType type, boolean applyFinalizer) Processes the given changeset element by applying allChangesetNodeProcessors contributed to the givenChangelogTypeproperty.voidprocessDocument(Document document, ChangelogType type, boolean applyFinalizer) Processes the given documents (all changeSet tags) by applying allChangesetNodeProcessors contributed to the givenChangelogType.voidprocessDocument(Document document, Collection<ChangesetNodeProcessor> customProcessors) Processes the given document (all changeSet tags) by the given collection of customChangesetNodeProcessors.
-
Method Details
-
processChangesetNode
void processChangesetNode(Document document, Element changesetNode, ChangesetId id, ChangelogType type, boolean applyFinalizer) Processes the given changeset element by applying allChangesetNodeProcessors contributed to the givenChangelogTypeproperty. -
prepareChangelog
Applies final modifications to the provided changelog before processing its changesets. -
processDocument
Processes the given documents (all changeSet tags) by applying allChangesetNodeProcessors contributed to the givenChangelogType. -
applyFinalizers
Applies the node processors contributed as final to the given document. -
processDocument
Processes the given document (all changeSet tags) by the given collection of customChangesetNodeProcessors. The contributed processors will not be applied.
-