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 Summary
Modifier 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.void
setProperty
(String sKey, String sVal) This method is called to set a property on the property managervoid
swapInteropPropertyValues
(String sDirection) This method swaps all of the following interop values in TSPropertyManager...
-
Method Details
-
swapInteropPropertyValues
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
gets property value with default- Parameters:
sKey
- - Property to retrievedefault
- - default value to use- Returns:
- String - property value
-
getProperty
This method is called to get a property value- Parameters:
sKey
- - Property to retrieve- Returns:
- String - property value
- Throws:
PropertyNotSetException
-
setProperty
This method is called to set a property on the property manager- Parameters:
skey
- - key to be usedsVal
- - value to use
-
getTestSpecificProperties
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
-