public class Systems extends Object
| Constructor and Description |
|---|
Systems() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getEnvVar(String envVarName,
String defaultValue)
Returns the value of the given environment variable if its not blank or the given default value
|
static String |
getEnvVarOrSystemProperty(String envVarName,
String systemProperty,
String defaultValue)
Returns the value of the given environment variable or system property and if both are blank return the default value
|
Copyright © 2011–2014 Red Hat. All rights reserved.