Class Environment


  • public class Environment
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Environment()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getEnvVar​(java.lang.String name)
      JVM env vars are annoying, writing a wrapper since they can't be easily set at runtime for testing.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Environment

        public Environment()
    • Method Detail

      • getEnvVar

        public java.lang.String getEnvVar​(java.lang.String name)
        JVM env vars are annoying, writing a wrapper since they can't be easily set at runtime for testing.
        Parameters:
        name - name of the environment variable to lookup
        Returns:
        environment variable value, or null