Package com.sun.ts.lib.deliverable
Interface PropertyManagerInterface
- All Known Implementing Classes:
- AbstractPropertyManager
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 SummaryModifier and TypeMethodDescriptiongets a new properties containing all entries in the property manager.getProperty(String sKey) This method is called to get a property valuegetProperty(String sKey, String def) gets property value with defaultgetTestSpecificProperties(String[] sPropKeys) This method is called by the test harness to retrieve all properties needed by a particular test.voidsetProperty(String sKey, String sVal) This method is called to set a property on the property managervoidswapInteropPropertyValues(String sDirection) This method swaps all of the following interop values in TSPropertyManager...
- 
Method Details- 
swapInteropPropertyValuesThis method swaps all of the following interop values in TSPropertyManager...- Parameters:
- sDirection- - "interop" or "default"
 
- 
getJtePropertiesProperties 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- Returns:
- Properties - property/value pairs
 
- 
getPropertygets property value with default- Parameters:
- sKey- - Property to retrieve
- def- - default value to use
- Returns:
- String - property value
 
- 
getPropertyThis method is called to get a property value- Parameters:
- sKey- - Property to retrieve
- Returns:
- String - property value
- Throws:
- PropertyNotSetException- - if property is not set
 
- 
setPropertyThis method is called to set a property on the property manager- Parameters:
- sKey- - key to be used
- sVal- - value to use
 
- 
getTestSpecificPropertiesThis 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- - if property is not set
 
 
-