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

net.thucydides.core.util.EnvironmentVariables Maven / Gradle / Ivy

There is a newer version: 1.0.47
Show newest version
package net.thucydides.core.util;

/**
 * Return system environment variable values.
 */
public interface EnvironmentVariables {

    String getValue(final String name);

    String getValue(final Enum property);

    String getValue(final String name, final String defaultValue);

    String getValue(Enum property, String defaultValue);

    Integer getPropertyAsInteger(final String name, final Integer defaultValue);

    Integer getPropertyAsInteger(final Enum property, final Integer defaultValue);

    Boolean getPropertyAsBoolean(final String name, boolean defaultValue);

    Boolean getPropertyAsBoolean(final Enum property, boolean defaultValue);

    String getProperty(final String name);

    String getProperty(final Enum property);

    String getProperty(final String name, final String defaultValue);

    String getProperty(final Enum property, final String defaultValue);

    void setProperty(final String name, final String value);

    void clearProperty(final String name);

    EnvironmentVariables copy();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy