public class EnvironmentPropertyReader extends Object
| Constructor and Description |
|---|
EnvironmentPropertyReader() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getPropertyOrEnv(String name,
String theDefault)
Allow setting the controls via property or environment variable
property takes precedence, then environment variable, then default
|
public static String getPropertyOrEnv(String name, String theDefault)
name - The name of the environment variable or system propertytheDefault - default value to return if environment variable or property not setCopyright © 2016. All rights reserved.