Class GetSystemSetting

java.lang.Object
ortus.boxlang.runtime.bifs.BIF
ortus.boxlang.runtime.bifs.global.system.GetSystemSetting

@BoxBIF public class GetSystemSetting extends BIF
  • Constructor Details

    • GetSystemSetting

      public GetSystemSetting()
      Constructor
  • Method Details

    • _invoke

      public Object _invoke(IBoxContext context, ArgumentsScope arguments)
      Retrieve a Java System property or environment value by name.

      It looks at properties first then environment variables second.

      Please note that the property or environment variable name is case-sensitive.

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

      Specified by:
      _invoke in class BIF
      Parameters:
      context - The context in which the BIF is being invoked.
      arguments - Argument scope for the BIF.
      Returns:
      The result of the invocation