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)
Environment
environment
- the Environment
Environment
public static String getMqHost(Environment environment)
Environment
environment
- the Environment
Environment
public static String getApiHost(Environment environment)
Environment
environment
- the Environment
Environment
public static int getApiPort(Environment environment)
Environment
environment
- the Environment
Environment
public static String getUsageHost(Environment environment)
Environment
environment
- the environment user connects toEnvironment
Copyright © 2016–2025. All rights reserved.