Class PrivilegedGetSystemProperty

    • Constructor Detail

      • PrivilegedGetSystemProperty

        public PrivilegedGetSystemProperty​(String key)
        INTERNAL: Creates an instance of System property getter with privileges enabled. Selects System property getter without default value to be executed so getter will return null if property with key does not exist.
        Parameters:
        key - The name of the System property.
      • PrivilegedGetSystemProperty

        public PrivilegedGetSystemProperty​(String key,
                                           String def)
        INTERNAL: Creates an instance of System property getter with privileges enabled. Selects System property getter with default value to be executed so getter will return def if property with key does not exist.
        Parameters:
        key - The name of the System property.
        Since:
        2.7