public class EnvironmentUtil extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
EnvironmentUtil.OSType
Types of Operating Systems
|
| Constructor and Description |
|---|
EnvironmentUtil() |
| Modifier and Type | Method and Description |
|---|---|
static EnvironmentUtil.OSType |
getOperatingSystemType()
Get the type of OS the current running environment
|
static String |
getSystemVariableValue(String systemVariableKey)
Returns the system property value or environment variable value (highest priority for environment variable)
for the given key.
|
public static String getSystemVariableValue(String systemVariableKey)
systemVariableKey - key of the system property or environment variablepublic static EnvironmentUtil.OSType getOperatingSystemType()
Copyright © 2019 WSO2. All rights reserved.