net.thucydides.core.util
Interface EnvironmentVariables

Package class diagram package EnvironmentVariables
All Known Implementing Classes:
MockEnvironmentVariables, SystemEnvironmentVariables

public interface EnvironmentVariables

Return system environment variable values.


Method Summary
 void clearProperty(String name)
           
 EnvironmentVariables copy()
           
 String getProperty(Enum<?> property)
           
 String getProperty(Enum<?> property, String defaultValue)
           
 String getProperty(String name)
           
 String getProperty(String name, String defaultValue)
           
 Boolean getPropertyAsBoolean(Enum<?> property, boolean defaultValue)
           
 Boolean getPropertyAsBoolean(String name, boolean defaultValue)
           
 Integer getPropertyAsInteger(Enum<?> property, Integer defaultValue)
           
 Integer getPropertyAsInteger(String name, Integer defaultValue)
           
 String getValue(Enum<?> property)
           
 String getValue(Enum<?> property, String defaultValue)
           
 String getValue(String name)
           
 String getValue(String name, String defaultValue)
           
 void setProperty(String name, String value)
           
 

Method Detail

getValue

String getValue(String name)

getValue

String getValue(Enum<?> property)

getValue

String getValue(String name,
                String defaultValue)

getValue

String getValue(Enum<?> property,
                String defaultValue)

getPropertyAsInteger

Integer getPropertyAsInteger(String name,
                             Integer defaultValue)

getPropertyAsInteger

Integer getPropertyAsInteger(Enum<?> property,
                             Integer defaultValue)

getPropertyAsBoolean

Boolean getPropertyAsBoolean(String name,
                             boolean defaultValue)

getPropertyAsBoolean

Boolean getPropertyAsBoolean(Enum<?> property,
                             boolean defaultValue)

getProperty

String getProperty(String name)

getProperty

String getProperty(Enum<?> property)

getProperty

String getProperty(String name,
                   String defaultValue)

getProperty

String getProperty(Enum<?> property,
                   String defaultValue)

setProperty

void setProperty(String name,
                 String value)

clearProperty

void clearProperty(String name)

copy

EnvironmentVariables copy()


Copyright © 2011-2013 Wakaleo Consulting. All Rights Reserved.