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
-
-
Constructor Summary
Constructors Constructor Description ProvisioningOsgiConfigPostProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
accepts(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)
String
getName()
-
-
-
Field Detail
-
NAME
public static final String NAME
Plugin name- See Also:
- Constant Field Values
-
-
Method Detail
-
getName
public String getName()
- Specified by:
getName
in 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:
accepts
in 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:
apply
in 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:
apply
in interfaceio.wcm.devops.conga.generator.spi.PostProcessorPlugin
-
-