@ApplicationScoped public class EnvironmentConfig extends org.commonjava.propulsor.config.section.MapSectionListener implements IndyConfigInfo
| Modifier and Type | Field and Description |
|---|---|
static String |
ENV_PREFIX |
static String |
HOSTNAME |
static String |
SECTION_NAME |
static String |
UNKNOWN |
APPEND_DEFAULTS_TO_MAIN_CONF, CONF_INCLUDES_DIR| Constructor and Description |
|---|
EnvironmentConfig() |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
getDefaultConfig()
The actual content which should be added to the default configuration file in case no configuration is provided, to allow modification of
defaults in future executions.
|
String |
getDefaultConfigFileName()
The name of the file to be written in case no configuration is provided, to allow modification of defaults in future executions.
|
Map<String,String> |
getEnvars() |
void |
parameter(String name,
String value) |
public static final String SECTION_NAME
public static final String ENV_PREFIX
public static final String HOSTNAME
public static final String UNKNOWN
public String getDefaultConfigFileName()
IndyConfigInfogetDefaultConfigFileName in interface IndyConfigInfopublic InputStream getDefaultConfig()
IndyConfigInfogetDefaultConfig in interface IndyConfigInfopublic void parameter(String name, String value) throws org.commonjava.propulsor.config.ConfigurationException
Copyright © 2011-2020-2020. All Rights Reserved.