Class EnvironmentVault


public class EnvironmentVault extends Vault
An environment variable vault. Fetches values (case-sensitive) from the run-time environment.
Version:
1.0
  • Constructor Details

    • EnvironmentVault

      public EnvironmentVault(String id, String type, Dict dict)
      Creates a new environment vault from a serialized representation.
      Parameters:
      id - the object identifier
      type - the object type name
      dict - the serialized representation
  • Method Details

    • lookup

      public String lookup(String key)
      Lookup a specified key value in this vault.
      Specified by:
      lookup in class Vault
      Parameters:
      key - the key identifier
      Returns:
      the vault value corresponding to the key, or null if the key cannot be found