Class ContentPackagePropertiesPostProcessor
- java.lang.Object
-
- io.wcm.devops.conga.generator.plugins.postprocessor.AbstractPostProcessor
-
- io.wcm.devops.conga.plugins.aem.postprocessor.ContentPackagePropertiesPostProcessor
-
- 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 ContentPackagePropertiesPostProcessor extends io.wcm.devops.conga.generator.plugins.postprocessor.AbstractPostProcessor
Extracts properties from a given AEM content package and stores them as additional model options in the file context.
-
-
Field Summary
Fields Modifier and Type Field Description static String
MODEL_OPTIONS_PROPERTY
Holds map containing the content package properties.static String
NAME
Plugin name
-
Constructor Summary
Constructors Constructor Description ContentPackagePropertiesPostProcessor()
-
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()
io.wcm.devops.conga.generator.spi.ImplicitApplyOptions
implicitApply(io.wcm.devops.conga.generator.spi.context.FileContext file, io.wcm.devops.conga.generator.spi.context.PostProcessorContext context)
-
-
-
Field Detail
-
NAME
public static final String NAME
Plugin name- See Also:
- Constant Field Values
-
MODEL_OPTIONS_PROPERTY
public static final String MODEL_OPTIONS_PROPERTY
Holds map containing the content package properties.- See Also:
- Constant Field Values
-
-
Method Detail
-
getName
public String getName()
-
accepts
public boolean accepts(io.wcm.devops.conga.generator.spi.context.FileContext file, io.wcm.devops.conga.generator.spi.context.PostProcessorContext context)
-
implicitApply
public io.wcm.devops.conga.generator.spi.ImplicitApplyOptions implicitApply(io.wcm.devops.conga.generator.spi.context.FileContext file, io.wcm.devops.conga.generator.spi.context.PostProcessorContext context)
-
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)
-
-