public class GatewayConfiguration extends Object
org.nhindirect.stagent.options.OptionsManager pattern.
The precedence of the parameters using the following algorithm.
1. Use the mailet XML configuration
2. Use the OptionsManager configuration
3. Use default settings in the mailet.
| Constructor and Description |
|---|
GatewayConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getConfigurationParam(String param,
Mailet mailet,
org.springframework.context.ApplicationContext ctx,
String defaultValue)
Gets the configuration parameter requested.
|
static boolean |
getConfigurationParamAsBoolean(String param,
Mailet mailet,
org.springframework.context.ApplicationContext ctx,
boolean defaultValue)
Gets the configuration parameter requested as a boolean value.
|
public static final String getConfigurationParam(String param, Mailet mailet, org.springframework.context.ApplicationContext ctx, String defaultValue)
param - The parameter to get the value of.mailet - The mailet to search. May be nullpublic static final boolean getConfigurationParamAsBoolean(String param, Mailet mailet, org.springframework.context.ApplicationContext ctx, boolean defaultValue)
#getConfigurationParam(String, Mailet, String).param - The parameter to get the value of.mailet - The mailet to search. May be nullCopyright © 2010–2021 NHIN Direct. All rights reserved.