@Test public void testIsEnvVarSet() { assertTrue(isEnvVarSet("etiqet.directory")); assertFalse(isEnvVarSet("MADE_UP_ENV_VAR")); assertTrue(isEnvVarSet("PATH")); }
public static Boolean isEnvVarSet(String key) { return System.getenv(key) != null || System.getProperty(key) != null; }
Environment { public static Boolean isEnvVarSet(String key) { return System.getenv(key) != null || System.getProperty(key) != null; } }
Environment { public static Boolean isEnvVarSet(String key) { return System.getenv(key) != null || System.getProperty(key) != null; } private  Environment(); }
Environment { public static Boolean isEnvVarSet(String key) { return System.getenv(key) != null || System.getProperty(key) != null; } private  Environment(); static Boolean isEnvVarSet(String key); static String resolveEnvVars(String input); static InputStream fileResolveEnvVars(String path); }
Environment { public static Boolean isEnvVarSet(String key) { return System.getenv(key) != null || System.getProperty(key) != null; } private  Environment(); static Boolean isEnvVarSet(String key); static String resolveEnvVars(String input); static InputStream fileResolveEnvVars(String path);  }