net.thucydides.core.util
Class PropertiesFileLocalPreferences

Package class diagram package PropertiesFileLocalPreferences
java.lang.Object
  extended by net.thucydides.core.util.PropertiesFileLocalPreferences
All Implemented Interfaces:
LocalPreferences

public class PropertiesFileLocalPreferences
extends Object
implements LocalPreferences

Thucydides options can be loaded from the thucydides.properties file in the home directory and/or in the working directory.

User: johnsmart Date: 24/12/11 Time: 11:15 AM


Constructor Summary
PropertiesFileLocalPreferences(EnvironmentVariables environmentVariables)
           
 
Method Summary
 File getHomeDirectory()
           
 void loadPreferences()
           
 void setHomeDirectory(File homeDirectory)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertiesFileLocalPreferences

@Inject
public PropertiesFileLocalPreferences(EnvironmentVariables environmentVariables)
Method Detail

getHomeDirectory

public File getHomeDirectory()

setHomeDirectory

public void setHomeDirectory(File homeDirectory)

loadPreferences

public void loadPreferences()
                     throws IOException
Specified by:
loadPreferences in interface LocalPreferences
Throws:
IOException


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