GetSystemSetting

Retrieve a Java System property or environment value by name.

It looks at properties first then environment variables second.

You can also pass a default value to return if the property or environment variable is not found.

Method Signature

GetSystemSetting(key=[String], defaultValue=[String])

Arguments

Argument
Type
Required
Description
Default

key

String

true

The name of the system property or environment variable to retrieve

defaultValue

String

false

The default value to return if the property or environment variable is not found

Examples

Last updated

Logo

Copyright & Register Trademark by Ortus Solutions, Corp & Ortus Software, LLC