Class PropertiesManager


  • @Deprecated
    public class PropertiesManager
    extends Object
    Deprecated.
    Please use confluence-test-utils module instead. See {com.atlassian.confluence.test.properties.PropertiesManager} alternative
    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 Detail

      • PropertiesManager

        public PropertiesManager​(Properties... properties)
        Deprecated.
    • Method Detail

      • getPropertyValue

        public String getPropertyValue​(String k,
                                       String defaultValue)
        Deprecated.
      • getPropertyValue

        public String getPropertyValue​(String k)
        Deprecated.
      • getTestPropertyAsInt

        public int getTestPropertyAsInt​(String propName)
        Deprecated.
      • getTestPropertyAsInt

        public int getTestPropertyAsInt​(String propName,
                                        int defaultValue)
        Deprecated.
      • getAllPropertiesWithPrefix

        public Map<String,​String> getAllPropertiesWithPrefix​(String prefix)
        Deprecated.