com.ibm.jsdt.support.deploymenthelper.installedproduct
Class WebserverPluginForWASInstalledProduct

java.lang.Object
  extended by com.ibm.jsdt.support.deploymenthelper.installedproduct.InstalledProduct
      extended by com.ibm.jsdt.support.deploymenthelper.installedproduct.WebserverPluginForWASInstalledProduct

public class WebserverPluginForWASInstalledProduct
extends InstalledProduct

Handles pre-installation and post-installation activities of Web server plugin for WAS.


Field Summary
 
Fields inherited from class com.ibm.jsdt.support.deploymenthelper.installedproduct.InstalledProduct
helper
 
Constructor Summary
protected WebserverPluginForWASInstalledProduct(java.lang.String version, java.lang.String location)
          Constructs a new WebserverPluginForWASInstalledProduct containing the version and the location of the installed product.
 
Method Summary
static WebserverPluginForWASInstalledProduct getInstalledProduct(java.lang.String location)
          Gets all instances of the Web server plugin for WebSphere Application Server - Express installed product at the specified location, Calls InstalledProduct object and passes the location and the created object of policy class implementor.
static WebserverPluginForWASInstalledProduct[] getInstalledProducts()
          Gets all instances of Web server plugin for WebSphere Application Server - Express installed products, if any, on the target computer.
 java.lang.String getLogFileDirectory()
          Returns the fully qualified name of the log directory.
 java.lang.String getPrimaryInstallLogFileName()
          Returns the file name for the primary installation log file.
 java.lang.String getSignatureFile()
          Returns the path to the signature file for the installation location passed in.
 
Methods inherited from class com.ibm.jsdt.support.deploymenthelper.installedproduct.InstalledProduct
compareVersion, getDeploymentHelper, getInstalledLocation, getInstalledProduct, getInstalledProducts, getInstalledVersion, getOSDeploymentHelper, grepRPM, setDeploymentHelper, setInstalledLocation, setInstalledVersion, trimVersionToNVersionPlaces
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebserverPluginForWASInstalledProduct

protected WebserverPluginForWASInstalledProduct(java.lang.String version,
                                                java.lang.String location)
Constructs a new WebserverPluginForWASInstalledProduct containing the version and the location of the installed product.

Parameters:
version - - The version of the product.
location - - The location of the product.
Method Detail

getInstalledProduct

public static WebserverPluginForWASInstalledProduct getInstalledProduct(java.lang.String location)
Gets all instances of the Web server plugin for WebSphere Application Server - Express installed product at the specified location, Calls InstalledProduct object and passes the location and the created object of policy class implementor.

Parameters:
location - The location of the product.
Returns:
Returns an instance of the installed product.

getInstalledProducts

public static WebserverPluginForWASInstalledProduct[] getInstalledProducts()
Gets all instances of Web server plugin for WebSphere Application Server - Express installed products, if any, on the target computer. Calls InstalledProduct object and passes the created object of the policy class implementor.

Returns:
Returns an instance of the installed product.

getSignatureFile

public java.lang.String getSignatureFile()
Returns the path to the signature file for the installation location passed in. Does not do an existence check of the file.

Returns:
The fully qualified path to the signature file.

getLogFileDirectory

public java.lang.String getLogFileDirectory()
Returns the fully qualified name of the log directory. The directory might have specific directories for installation and uninstallation logs.

Returns:
Full path of the log directory.

getPrimaryInstallLogFileName

public java.lang.String getPrimaryInstallLogFileName()
Returns the file name for the primary installation log file. To get other installation log file names, see the getSecondaryInstallLogFileNames() method.

Returns:
Fully qualified file name of the primary installation log.