Interface PostProcessorPlugin
- All Superinterfaces:
FilePlugin<PostProcessorContext,,List<FileContext>> Plugin
- All Known Implementing Classes:
AbstractPostProcessor
Plugin that allows to post-process a generated file.
-
Method Summary
Modifier and TypeMethodDescriptionapply(FileContext file, PostProcessorContext context) Applies the post processing.default ImplicitApplyOptionsimplicitApply(FileContext file, PostProcessorContext context) Whether to apply this plugin implicitly.Methods inherited from interface io.wcm.devops.conga.generator.spi.FilePlugin
accepts
-
Method Details
-
implicitApply
Whether to apply this plugin implicitly.- Specified by:
implicitApplyin interfaceFilePlugin<PostProcessorContext,List<FileContext>> - Parameters:
file- Context filecontext- Context objects- Returns:
- Implicit apply option
-
apply
Applies the post processing.- Specified by:
applyin interfaceFilePlugin<PostProcessorContext,List<FileContext>> - Parameters:
file- Context filecontext- Context objects- Returns:
- Returns a list of files that where generated additionally or instead of the input file. The input file itself should never be returned, otherwise files may get processed twice.
-