Interface Configuration
public interface Configuration
Encapsulates the configuration of the exporter.
-
Method Summary
Modifier and TypeMethodDescriptiongetId()<T> Tinstantiate(Class<T> configClass) Helper method to instantiate an object of typeConfigurationbased on the map of arguments (seegetArguments().
-
Method Details
-
getId
String getId()- Returns:
- the configured ID of the exporter
-
getArguments
- Returns:
- raw map of the parsed arguments from the configuration file
-
instantiate
Helper method to instantiate an object of typeConfigurationbased on the map of arguments (seegetArguments().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
-