public final class EnvironmentManager extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_MQ_HOST_PORT
The default MQ host port
|
| Constructor and Description |
|---|
EnvironmentManager() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getApiHost(Environment environment)
Gets the API host for specified
Environment |
static int |
getApiPort(Environment environment)
Gets the API port for specified
Environment |
static List<EnvironmentSetting> |
getEnvironmentSettings()
Gets the list of all possible environment settings (Custom is not listed, as user should manually put MQ and API host)
|
static String |
getMqHost(Environment environment)
Gets the MQ host for specified
Environment |
static EnvironmentSetting |
getSetting(Environment environment)
Gets the MQ and API settings for specified
Environment |
static String |
getUsageHost(Environment environment)
Gets the Usage host for specified
Environment |
public static final int DEFAULT_MQ_HOST_PORT
public static List<EnvironmentSetting> getEnvironmentSettings()
public static EnvironmentSetting getSetting(Environment environment)
Environmentenvironment - the EnvironmentEnvironmentpublic static String getMqHost(Environment environment)
Environmentenvironment - the EnvironmentEnvironmentpublic static String getApiHost(Environment environment)
Environmentenvironment - the EnvironmentEnvironmentpublic static int getApiPort(Environment environment)
Environmentenvironment - the EnvironmentEnvironmentpublic static String getUsageHost(Environment environment)
Environmentenvironment - the environment user connects toEnvironmentCopyright © 2016–2025. All rights reserved.