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 Details

    • PARAM_PLUGIN_NAME

      public static final String 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

      public Map<String,Map<String,Object>> 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

      public Map<String,Object> getValueProviderConfig(String valueProviderName)
      Gets value provider configuration.
      Parameters:
      valueProviderName - Value provider name
      Returns:
      Configuration for the given value provider. Never null.
    • getGlobalValueProviderCache

      public Map<String,Object> getGlobalValueProviderCache()
      Get global cache map used by all value provider plugin implementations.
      Returns:
      Global cache map