Class ProcessEnvironment

    • Constructor Summary

      Constructors 
      Constructor Description
      ProcessEnvironment()
      Constructor for ProcessEnvironment
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void clearEnvironmentVariables()
      Clear the environment variables
      boolean equals​(java.lang.Object obj)  
      java.lang.String getArchitecture()
      Get the device architecture
      java.lang.String getEnvironmentVariable​(java.lang.String key)
      Get the environment variable value
      java.util.Map<java.lang.String,​java.lang.String> getEnvironmentVariables()
      Get the environment variables
      java.lang.String getOS()
      Get the operating system
      java.lang.String getOSVersion()
      Get the operation system version
      java.lang.String getUser()
      Get the user.
      java.lang.String getWorkingPath()
      Get the working path
      int hashCode()  
      boolean isSudoUser()
      True if the user is set to run as a sudo user.
      java.lang.String setEnvironmentVariable​(java.lang.String key, java.lang.String value)
      Set the environment variable key / value
      void setEnvironmentVariables​(java.util.Map<java.lang.String,​java.lang.String> environmentVariables)
      Set the environment variable key / value
      void setUser​(java.lang.String user)
      Set the user
      void setWorkingPath​(java.lang.String workingPath)
      Set the working path
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ProcessEnvironment

        public ProcessEnvironment()
        Constructor for ProcessEnvironment