Interface Environment


  • public interface Environment
    The system environment Created by Karel Maesen, Geovise BVBA on 22/07/16.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static Environment DEFAULT
      The default implementation (equivalent to System.getenv()
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.Map<java.lang.String,​java.lang.String> getEnvironment()
      Returns the environment variables as a Map
      java.lang.String getEnvironment​(java.lang.String key)
      Returns the environment variable specified by the key argument
    • Field Detail

      • DEFAULT

        static final Environment DEFAULT
        The default implementation (equivalent to System.getenv()
    • Method Detail

      • getEnvironment

        java.util.Map<java.lang.String,​java.lang.String> getEnvironment()
        Returns the environment variables as a Map
        Returns:
        the environment variables as a Map
      • getEnvironment

        java.lang.String getEnvironment​(java.lang.String key)
        Returns the environment variable specified by the key argument
        Parameters:
        key - the environment variable name
        Returns:
        the value for the specified environment variable