Class ValueProviderGlobalContext
java.lang.Object
io.wcm.devops.conga.generator.spi.context.AbstractPluginContext<ValueProviderGlobalContext>
io.wcm.devops.conga.generator.spi.context.ValueProviderGlobalContext
public final class ValueProviderGlobalContext
extends AbstractPluginContext<ValueProviderGlobalContext>
Global context for all
ValueProviderPlugin implementations.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringParameter name in value provider configuration to specify the value provider plugin name. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet global cache map used by all value provider plugin implementations.Gets value provider configuration.getValueProviderConfig(String valueProviderName) Gets value provider configuration.Methods inherited from class io.wcm.devops.conga.generator.spi.context.AbstractPluginContext
getContainerContext, getGenericPluginConfig, getLogger, getPluginContextOptions, getPluginManager, getUrlFileManager, pluginContextOptions
-
Field Details
-
PARAM_PLUGIN_NAME
Parameter name in value provider configuration to specify the value provider plugin name. If not defined, the value provider name itself is used as plugin name.- See Also:
-
-
Constructor Details
-
ValueProviderGlobalContext
public ValueProviderGlobalContext()
-
-
Method Details
-
getValueProviderConfig
Gets value provider configuration.- Returns:
- Configuration for value providers. The outer map uses the value provider plugin name as key, the inner map contain the config properties. Never null.
-
getValueProviderConfig
Gets value provider configuration.- Parameters:
valueProviderName- Value provider name- Returns:
- Configuration for the given value provider. Never null.
-
getGlobalValueProviderCache
Get global cache map used by all value provider plugin implementations.- Returns:
- Global cache map
-