Interface Configuration


public interface Configuration
Encapsulates the configuration of the exporter.
  • Method Details

    • getId

      String getId()
      Returns:
      the configured ID of the exporter
    • getArguments

      Map<String,Object> getArguments()
      Returns:
      raw map of the parsed arguments from the configuration file
    • instantiate

      <T> T instantiate(Class<T> configClass)
      Helper method to instantiate an object of type Configuration based on the map of arguments (see getArguments().

      Will map argument keys to field names; if no field is present for a key, it will be ignored. If no key is present for a field, it will also be ignored (and retain its initial value).

      Parameters:
      configClass - class to instantiate
      Returns:
      instantiated configuration class