Package es.bsc.dataclay.util.configs
Class CfgDataServiceEnvLoader
- java.lang.Object
-
- es.bsc.dataclay.util.configs.CfgDataServiceEnvLoader
-
public final class CfgDataServiceEnvLoader extends Object
This class parses the environment variables and generates a DataService configuration.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CfgDataServiceEnvLoader.ConfigDataServiceProperties
The configurable properties.
-
Field Summary
Fields Modifier and Type Field Description static Map<CfgDataServiceEnvLoader.ConfigDataServiceProperties,String>
ENVVAR_NAMES
The names of the config tags.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CfgDataService
parseConfiguration()
This method parses the configuration from the environment
-
-
-
Field Detail
-
ENVVAR_NAMES
public static final Map<CfgDataServiceEnvLoader.ConfigDataServiceProperties,String> ENVVAR_NAMES
The names of the config tags.
-
-
Method Detail
-
parseConfiguration
public static CfgDataService parseConfiguration()
This method parses the configuration from the environment- Returns:
- The configuration of a DataService
-
-