Package com.sun.ts.lib.deliverable
Class AbstractPropertyManager
java.lang.Object
com.sun.ts.lib.deliverable.AbstractPropertyManager
- All Implemented Interfaces:
- PropertyManagerInterface
@Deprecated(forRemoval=true)
public class AbstractPropertyManager
extends Object
implements PropertyManagerInterface
Deprecated, for removal: This API element is subject to removal in a future version.
This class serves as a well known place for harness, util, and porting classes to retrieve property values.
- Author:
- Kyle Grucci
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected static booleanDeprecated, for removal: This API element is subject to removal in a future version.This is a flag to indicate if the values are reversed
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedDeprecated, for removal: This API element is subject to removal in a future version.Constructor for the AbstractPropertyManager object
- 
Method SummaryModifier and TypeMethodDescriptionprotected voidDeprecated, for removal: This API element is subject to removal in a future version.Set forward modeDeprecated, for removal: This API element is subject to removal in a future version.gets a new properties containing all entries in the property manager.getProperty(String sKey) Deprecated, for removal: This API element is subject to removal in a future version.This method is called to get a property valuegetProperty(String sKey, String def) Deprecated, for removal: This API element is subject to removal in a future version.gets property value with defaultgetTestSpecificProperties(String[] sPropKeys) Deprecated, for removal: This API element is subject to removal in a future version.This method is called by the test harness to retrieve all properties needed by a particular test.protected voidDeprecated, for removal: This API element is subject to removal in a future version.set reverse modeprotected final voidDeprecated, for removal: This API element is subject to removal in a future version.Sets the jteProperties attribute of the AbstractPropertyManager objectvoidsetProperty(String sKey, String sVal) Deprecated, for removal: This API element is subject to removal in a future version.Sets a property in property manager.voidswapInteropPropertyValues(String sDirection) Deprecated, for removal: This API element is subject to removal in a future version.This method swaps all of the following interop values in TSPropertyManager...
- 
Field Details- 
bReversedprotected static boolean bReversedDeprecated, for removal: This API element is subject to removal in a future version.This is a flag to indicate if the values are reversed
 
- 
- 
Constructor Details- 
AbstractPropertyManagerprotected AbstractPropertyManager()Deprecated, for removal: This API element is subject to removal in a future version.Constructor for the AbstractPropertyManager object
 
- 
- 
Method Details- 
setPropertyDeprecated, for removal: This API element is subject to removal in a future version.Sets a property in property manager. If the key already exists in the property manager, the old value is overriden by new value.- Specified by:
- setPropertyin interface- PropertyManagerInterface
- Parameters:
- sKey- key of the property.
- sVal- value of the property.
 
- 
swapInteropPropertyValuesDeprecated, for removal: This API element is subject to removal in a future version.This method swaps all of the following interop values in TSPropertyManager...- Specified by:
- swapInteropPropertyValuesin interface- PropertyManagerInterface
- Parameters:
- sDirection- - "interop" or "default"
 
- 
forwardValuesprotected void forwardValues()Deprecated, for removal: This API element is subject to removal in a future version.Set forward mode
- 
reverseValuesprotected void reverseValues()Deprecated, for removal: This API element is subject to removal in a future version.set reverse mode
- 
getJtePropertiesDeprecated, for removal: This API element is subject to removal in a future version.gets a new properties containing all entries in the property manager. Any operation on the returned properties will have no effect on property manager- Specified by:
- getJtePropertiesin interface- PropertyManagerInterface
- Returns:
- The jteProperties value
 
- 
getTestSpecificPropertiesDeprecated, for removal: This API element is subject to removal in a future version.This method is called by the test harness to retrieve all properties needed by a particular test.- Specified by:
- getTestSpecificPropertiesin interface- PropertyManagerInterface
- Parameters:
- sPropKeys- - Properties to retrieve
- Returns:
- Properties - property/value pairs
- Throws:
- PropertyNotSetException- - if property is not set
 
- 
getPropertyDeprecated, for removal: This API element is subject to removal in a future version.This method is called to get a property value- Specified by:
- getPropertyin interface- PropertyManagerInterface
- Parameters:
- sKey- - Property to retrieve
- Returns:
- String - property value
- Throws:
- PropertyNotSetException- - if property is not set
 
- 
getPropertyDeprecated, for removal: This API element is subject to removal in a future version.gets property value with default- Specified by:
- getPropertyin interface- PropertyManagerInterface
- Parameters:
- sKey- - Property to retrieve
- def- - default value to use
- Returns:
- String - property value
 
- 
setJtePropertiesDeprecated, for removal: This API element is subject to removal in a future version.Sets the jteProperties attribute of the AbstractPropertyManager object- Parameters:
- p- The new jteProperties value
- Throws:
- PropertyNotSetException- - if property is not set
 
 
-