com.togethersoft.testing.shared
Interface IConfig


public interface IConfig

Interface to access config properties both on host and server.


Method Summary
 StringexpandMacros(String macroString)
          Returns a string with expanded macros.
 StringgetProperty(String name, String defaultValue)
          Returns the value of given property
 EnumerationpropertyNames(String prefix)
          Returns an enumeration of all property names in the config.
 voidsetProperty(String name, String value)
          Sets the property value

Method Detail

expandMacros

public String expandMacros(String macroString)
Returns a string with expanded macros.

getProperty

public String getProperty(String name, String defaultValue)
Returns the value of given property

propertyNames

public Enumeration propertyNames(String prefix)
Returns an enumeration of all property names in the config.

setProperty

public void setProperty(String name, String value)
Sets the property value