com.atlassian.confluence.it
Class PropertiesManager
java.lang.Object
com.atlassian.confluence.it.PropertiesManager
public class PropertiesManager
- extends java.lang.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(java.util.Properties... properties)
getPropertyValue
public java.lang.String getPropertyValue(java.lang.String k,
java.lang.String defaultValue)
getPropertyValue
public java.lang.String getPropertyValue(java.lang.String k)
getTestPropertyAsInt
public int getTestPropertyAsInt(java.lang.String propName)
getTestPropertyAsInt
public int getTestPropertyAsInt(java.lang.String propName,
int defaultValue)
getAllPropertiesWithPrefix
public java.util.Map<java.lang.String,java.lang.String> getAllPropertiesWithPrefix(java.lang.String prefix)
Copyright © 2003-2014 Atlassian. All Rights Reserved.