Class ConfigInheritanceResolver

java.lang.Object
io.wcm.devops.conga.generator.util.ConfigInheritanceResolver

public final class ConfigInheritanceResolver extends Object
Iterates over all Configurable items in the object tree. Configuration from parent objects is inherited to client objects. Variables are not resolved though, this is done during configuration generation process.
  • Method Details

    • resolve

      public static void resolve(Object model)
      Inherit all configurations.
      Parameters:
      model - Model with Configurable instances at any nested level.
    • process

      protected void process(Object object, io.wcm.devops.conga.generator.util.ConfigurableProcessor<Map<String,Object>> processor, Map<String,Object> parentPayload)
      Iterator over object tree an visit all Configurable instances. Payload can be inherited from down the hierarchy levels.
      Parameters:
      object - Root object of object tree
      processor - Processor
      parentPayload - Parent payload