Class ProvisioningOsgiConfigPostProcessor
java.lang.Object
io.wcm.devops.conga.plugins.sling.postprocessor.ProvisioningOsgiConfigPostProcessor
- All Implemented Interfaces:
io.wcm.devops.conga.generator.spi.FilePlugin<io.wcm.devops.conga.generator.spi.context.PostProcessorContext,,List<io.wcm.devops.conga.generator.spi.context.FileContext>> io.wcm.devops.conga.generator.spi.Plugin,io.wcm.devops.conga.generator.spi.PostProcessorPlugin
public class ProvisioningOsgiConfigPostProcessor
extends Object
implements io.wcm.devops.conga.generator.spi.PostProcessorPlugin
Transforms a Sling Provisioning file into OSGi configuration files (.cfg.json).
Repoinit statements are supported as well, all other provisioning contents are ignored
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanaccepts(io.wcm.devops.conga.generator.spi.context.FileContext file, io.wcm.devops.conga.generator.spi.context.PostProcessorContext context) List<io.wcm.devops.conga.generator.spi.context.FileContext> apply(io.wcm.devops.conga.generator.spi.context.FileContext fileContext, io.wcm.devops.conga.generator.spi.context.PostProcessorContext context) getName()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.wcm.devops.conga.generator.spi.PostProcessorPlugin
implicitApply
-
Field Details
-
NAME
Plugin name- See Also:
-
-
Constructor Details
-
ProvisioningOsgiConfigPostProcessor
public ProvisioningOsgiConfigPostProcessor()
-
-
Method Details
-
getName
- Specified by:
getNamein interfaceio.wcm.devops.conga.generator.spi.Plugin
-
accepts
public boolean accepts(io.wcm.devops.conga.generator.spi.context.FileContext file, io.wcm.devops.conga.generator.spi.context.PostProcessorContext context) - Specified by:
acceptsin interfaceio.wcm.devops.conga.generator.spi.FilePlugin<io.wcm.devops.conga.generator.spi.context.PostProcessorContext,List<io.wcm.devops.conga.generator.spi.context.FileContext>>
-
apply
public List<io.wcm.devops.conga.generator.spi.context.FileContext> apply(io.wcm.devops.conga.generator.spi.context.FileContext fileContext, io.wcm.devops.conga.generator.spi.context.PostProcessorContext context) - Specified by:
applyin interfaceio.wcm.devops.conga.generator.spi.FilePlugin<io.wcm.devops.conga.generator.spi.context.PostProcessorContext,List<io.wcm.devops.conga.generator.spi.context.FileContext>> - Specified by:
applyin interfaceio.wcm.devops.conga.generator.spi.PostProcessorPlugin
-