Avoid using the deprecated WASDirectory methods and fields

This rule flags the use of deprecated methods from the com.ibm.websphere.product.WASDirectory class and fields from the WASDirectory and WASDirectoryHelper classes. With the introduction of the installation manager some of the function is no longer provided and some of the function has replacement APIs.

The following methods were deprecated:

See the guidelines for migration:

This rule also flags the deprecated WASDirectory fields:

The following fields in the com.ibm.websphere.product.WASDirectory and com.ibm.websphere.product.utils.WASDirectoryHelper classes are also flagged:

WASDirectory interfaces are independent of product IDs. Any product-specific callers should specify product IDs without using these deprecated fields.

For more information, see: