Interface HierarchicalConfigurationExporter

All Known Implementing Classes:
HierarchicalConfigurationExporterImpl

public interface HierarchicalConfigurationExporter
Service to export configurations used in Plan and RepositoryData objects to YAML configs.
Since:
5.11
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    If configuration node has value and children and there's no other way to represent the value, we use this key to denote that.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addDataMapToConfiguration(org.apache.commons.configuration.HierarchicalConfiguration configuration, Map<String,Object> configurationMap)
     
    @NotNull org.apache.commons.configuration.HierarchicalConfiguration
    fromDataMap(@NotNull Map<String,Object> configurationMap)
     
    @NotNull Map<String,Object>
    generateDataMap(@NotNull org.apache.commons.configuration.HierarchicalConfiguration configuration)
    Generate YAML-friendly map containing data from HierarchicalConfiguration
  • Field Details

    • VALUE_KEY

      static final String VALUE_KEY
      If configuration node has value and children and there's no other way to represent the value, we use this key to denote that.
  • Method Details

    • generateDataMap

      @NotNull @NotNull Map<String,Object> generateDataMap(@NotNull @NotNull org.apache.commons.configuration.HierarchicalConfiguration configuration)
      Generate YAML-friendly map containing data from HierarchicalConfiguration
    • fromDataMap

      @NotNull @NotNull org.apache.commons.configuration.HierarchicalConfiguration fromDataMap(@NotNull @NotNull Map<String,Object> configurationMap)
    • addDataMapToConfiguration

      void addDataMapToConfiguration(org.apache.commons.configuration.HierarchicalConfiguration configuration, Map<String,Object> configurationMap)