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

dev.galasa.framework.spi.SystemEnvironment Maven / Gradle / Ivy

There is a newer version: 0.37.0
Show newest version
/*
 * Copyright contributors to the Galasa project
 *
 * SPDX-License-Identifier: EPL-2.0
 */
package dev.galasa.framework.spi;

/**
 * An implementation of the Environment interface which allows code to get
 * environment variables from the real system.
 */
public class SystemEnvironment implements Environment {

    @Override
    public String getenv(String propertyName) {
        return System.getenv(propertyName);
    }

    @Override
    public String getProperty(String propertyName) {
        return System.getProperty(propertyName);
    }
    
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy