net.thucydides.core.util
Class SystemEnvironmentVariables
java.lang.Object
net.thucydides.core.util.SystemEnvironmentVariables
- All Implemented Interfaces:
- EnvironmentVariables
public class SystemEnvironmentVariables
- extends Object
- implements EnvironmentVariables
Return system environment variable values.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SystemEnvironmentVariables
public SystemEnvironmentVariables()
getValue
public String getValue(String name)
- Specified by:
getValue
in interface EnvironmentVariables
getValue
public String getValue(Enum<?> property)
- Specified by:
getValue
in interface EnvironmentVariables
getValue
public String getValue(String name,
String defaultValue)
- Specified by:
getValue
in interface EnvironmentVariables
getValue
public String getValue(Enum<?> property,
String defaultValue)
- Specified by:
getValue
in interface EnvironmentVariables
getPropertyAsInteger
public Integer getPropertyAsInteger(String property,
Integer defaultValue)
- Specified by:
getPropertyAsInteger
in interface EnvironmentVariables
getPropertyAsInteger
public Integer getPropertyAsInteger(Enum<?> property,
Integer defaultValue)
- Specified by:
getPropertyAsInteger
in interface EnvironmentVariables
getPropertyAsBoolean
public Boolean getPropertyAsBoolean(String name,
boolean defaultValue)
- Specified by:
getPropertyAsBoolean
in interface EnvironmentVariables
getPropertyAsBoolean
public Boolean getPropertyAsBoolean(Enum<?> property,
boolean defaultValue)
- Specified by:
getPropertyAsBoolean
in interface EnvironmentVariables
getProperty
public String getProperty(String name)
- Specified by:
getProperty
in interface EnvironmentVariables
getProperty
public String getProperty(Enum<?> property)
- Specified by:
getProperty
in interface EnvironmentVariables
getProperty
public String getProperty(String name,
String defaultValue)
- Specified by:
getProperty
in interface EnvironmentVariables
getProperty
public String getProperty(Enum<?> property,
String defaultValue)
- Specified by:
getProperty
in interface EnvironmentVariables
setProperty
public void setProperty(String name,
String value)
- Specified by:
setProperty
in interface EnvironmentVariables
clearProperty
public void clearProperty(String name)
- Specified by:
clearProperty
in interface EnvironmentVariables
Copyright © 2011-2012 Wakaleo Consulting. All Rights Reserved.