Interface PropertyManagerInterface


public interface PropertyManagerInterface
This class serves as a well known place for harness, util, and porting classes to retrieve property values.
Author:
Kyle Grucci
  • Method Details

    • swapInteropPropertyValues

      void swapInteropPropertyValues(String sDirection)
      This method swaps all of the following interop values in TSPropertyManager...
    • getJteProperties

      Properties getJteProperties()
      gets a new properties containing all entries in the property manager. Any operation on the returned properties will have no effect on property manager
    • getProperty

      String getProperty(String sKey, String def)
      gets property value with default
      Parameters:
      sKey - - Property to retrieve
      default - - default value to use
      Returns:
      String - property value
    • getProperty

      String getProperty(String sKey) throws PropertyNotSetException
      This method is called to get a property value
      Parameters:
      sKey - - Property to retrieve
      Returns:
      String - property value
      Throws:
      PropertyNotSetException
    • setProperty

      void setProperty(String sKey, String sVal)
      This method is called to set a property on the property manager
      Parameters:
      skey - - key to be used
      sVal - - value to use
    • getTestSpecificProperties

      Properties getTestSpecificProperties(String[] sPropKeys) throws PropertyNotSetException
      This method is called by the test harness to retrieve all properties needed by a particular test.
      Parameters:
      sPropKeys - - Properties to retrieve
      Returns:
      Properties - property/value pairs
      Throws:
      PropertyNotSetException