Class PropertiesExtractor

All Implemented Interfaces:
ConfigurationProcessor

public class PropertiesExtractor extends AbstractConfigurationProcessor
This ConfigurationProcessor implementation extracts properties from the processed Configuration's environment-dependent properties (which are defined in the corresponding MetaConfiguration. The extracted properties' values are replaced by references to variables in the processed Configuration object.
  • Field Details

  • Constructor Details

  • Method Details

    • generateKey

      public String generateKey(Set<Object> currentKeys, String type, String subtype, String name, String parameterName)
      Generates a unique key for a extracted property. Keys follow this format: projectName.elementType.elementSubType.elementName.propertyName[<index>]. For instance: MyProject.Job.VDP.SomeJob.mailAddress1 (a key like this one would be generated for a VDP job with several Mail handlers, hence the suffix in the property name).
    • getKey

      public String getKey(String type, String subtype, String name, String parameterName)
    • processParameter

      public void processParameter(MetaParameter metaParam, Parameter<Object> parameter, boolean legacy)