Class 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 Detail

      • ProvisioningOsgiConfigPostProcessor

        public ProvisioningOsgiConfigPostProcessor()
    • Method Detail

      • getName

        public String getName()
        Specified by:
        getName in interface io.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 interface io.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 interface io.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 interface io.wcm.devops.conga.generator.spi.PostProcessorPlugin