com.atlassian.confluence.it
Class PropertiesManager
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PropertiesManager
public PropertiesManager(Properties... properties)
getPropertyValue
public String getPropertyValue(String k,
String defaultValue)
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–2015 Atlassian. All rights reserved.