All Downloads are FREE. Search and download functionalities are using the official Maven repository.

app.knock.api.util.Environment Maven / Gradle / Ivy

package app.knock.api.util;

public class Environment {

    /***
     * JVM env vars are annoying, writing a wrapper since they can't be easily set at runtime for testing.
     * @param name name of the environment variable to lookup
     * @return environment variable value, or null
     */
    public String getEnvVar(String name) {
        return System.getenv(name);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy