com.atlassian.confluence.it
Class PropertiesManager

java.lang.Object
  extended by com.atlassian.confluence.it.PropertiesManager

public class PropertiesManager
extends Object

Provides variable properties for acceptance tests. Properties are loaded from system properties and interpolated so property values of http://${server.name}:{server.port}/${server.contextPath} will be processed as you would expect.


Constructor Summary
PropertiesManager(Properties... properties)
           
 
Method Summary
 Map<String,String> getAllPropertiesWithPrefix(String prefix)
           
 String getPropertyValue(String k)
           
 int getTestPropertyAsInt(String propName)
           
 int getTestPropertyAsInt(String propName, int defaultValue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertiesManager

public PropertiesManager(Properties... properties)
Method Detail

getPropertyValue

public String getPropertyValue(String k)

getTestPropertyAsInt

public int getTestPropertyAsInt(String propName)

getTestPropertyAsInt

public int getTestPropertyAsInt(String propName,
                                int defaultValue)

getAllPropertiesWithPrefix

public Map<String,String> getAllPropertiesWithPrefix(String prefix)


Copyright © 2003-2012 Atlassian. All Rights Reserved.