public class Systems extends Object
| Constructor and Description |
|---|
Systems() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getConfigValue(String envVar) |
static String |
getConfigValue(String envVar,
String defaultValue)
Returns the value of the given environment variable as a system property or environment variable or returns the default value
|
static boolean |
isConfigFlag(String envVar)
Returns true if the env var or system property is "true"
|
public static String getConfigValue(String envVar, String defaultValue)
public static boolean isConfigFlag(String envVar)
Copyright © 2076–2017 Red Hat. All rights reserved.