Class ConfigInheritanceResolver
- java.lang.Object
-
- io.wcm.devops.conga.generator.util.ConfigInheritanceResolver
-
public final class ConfigInheritanceResolver extends Object
Iterates over allConfigurable
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 Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
process(Object object, io.wcm.devops.conga.generator.util.ConfigurableProcessor<T> processor, T parentPayload)
Iterator over object tree an visit allConfigurable
instances.static void
resolve(Object model)
Inherit all configurations.
-
-
-
Method Detail
-
resolve
public static void resolve(Object model)
Inherit all configurations.- Parameters:
model
- Model withConfigurable
instances at any nested level.
-
process
protected void process(Object object, io.wcm.devops.conga.generator.util.ConfigurableProcessor<T> processor, T parentPayload)
Iterator over object tree an visit allConfigurable
instances. Payload can be inherited from down the hierarchy levels.- Parameters:
object
- Root object of object treeprocessor
- ProcessorparentPayload
- Parent payload
-
-