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