public class Environment extends Object
Constructor and Description |
---|
Environment() |
Modifier and Type | Method and Description |
---|---|
static Properties |
getEnvironmentVariables() |
static String |
getModuleVersion(String module)
Get IBIS module version
|
static Optional<String> |
getSystemProperty(String property,
String def)
Look up the property in the environment with
System.getenv(String) and next in the System properties with
System.getProperty(String, String) . |
public static Properties getEnvironmentVariables() throws IOException
IOException
public static Optional<String> getSystemProperty(String property, String def)
System.getenv(String)
and next in the System properties with
System.getProperty(String, String)
. The SecurityException
if thrown, is hidden.property
- The property to search for.def
- The default value to return, may be null
.null
if the default value was null
.Copyright © 2023 Frank!Framework. All rights reserved.