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 Summary
FieldsModifier and TypeFieldDescriptionprotected static boolean
Deprecated, 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 Summary
ConstructorsModifierConstructorDescriptionprotected
Deprecated, for removal: This API element is subject to removal in a future version.Constructor for the AbstractPropertyManager object -
Method Summary
Modifier and TypeMethodDescriptionprotected void
Deprecated, 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 void
Deprecated, for removal: This API element is subject to removal in a future version.set reverse modeprotected final void
Deprecated, for removal: This API element is subject to removal in a future version.Sets the jteProperties attribute of the AbstractPropertyManager objectvoid
setProperty
(String sKey, String sVal) Deprecated, for removal: This API element is subject to removal in a future version.Sets a property in property manager.void
swapInteropPropertyValues
(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
-
bReversed
protected 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
-
AbstractPropertyManager
protected AbstractPropertyManager()Deprecated, for removal: This API element is subject to removal in a future version.Constructor for the AbstractPropertyManager object
-
-
Method Details
-
setProperty
Deprecated, 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:
setProperty
in interfacePropertyManagerInterface
- Parameters:
sKey
- key of the property.sVal
- value of the property.
-
swapInteropPropertyValues
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...- Specified by:
swapInteropPropertyValues
in interfacePropertyManagerInterface
- Parameters:
sDirection
- - "interop" or "default"
-
forwardValues
protected void forwardValues()Deprecated, for removal: This API element is subject to removal in a future version.Set forward mode -
reverseValues
protected void reverseValues()Deprecated, for removal: This API element is subject to removal in a future version.set reverse mode -
getJteProperties
Deprecated, 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:
getJteProperties
in interfacePropertyManagerInterface
- Returns:
- The jteProperties value
-
getTestSpecificProperties
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.- Specified by:
getTestSpecificProperties
in interfacePropertyManagerInterface
- Parameters:
sPropKeys
- - Properties to retrieve- Returns:
- Properties - property/value pairs
- Throws:
PropertyNotSetException
- - if property is not set
-
getProperty
Deprecated, for removal: This API element is subject to removal in a future version.This method is called to get a property value- Specified by:
getProperty
in interfacePropertyManagerInterface
- Parameters:
sKey
- - Property to retrieve- Returns:
- String - property value
- Throws:
PropertyNotSetException
- - if property is not set
-
getProperty
Deprecated, for removal: This API element is subject to removal in a future version.gets property value with default- Specified by:
getProperty
in interfacePropertyManagerInterface
- Parameters:
sKey
- - Property to retrievedef
- - default value to use- Returns:
- String - property value
-
setJteProperties
Deprecated, 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
-