|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.jsdt.support.installedproduct.InstalledProduct
com.ibm.jsdt.support.installedproduct.ConsoleMgmtExtInstalledProduct
public class ConsoleMgmtExtInstalledProduct
Handles pre-installation and post-installation activities for the console management extension.
Field Summary | |
---|---|
static java.lang.String |
DB2_PPC_SUPPORTED_VERSION_UPPERLIMIT
Deprecated. |
static java.lang.String |
DB2_SUPPORTED_VERSION_LOWERLIMIT
Deprecated. |
static java.lang.String |
DB2_SUPPORTED_VERSION_UPPERLIMIT
Deprecated. |
static java.lang.String |
IDS_SUPPORTED_VERSION_LOWERLIMIT
Deprecated. |
static java.lang.String |
IDS_SUPPORTED_VERSION_UPPERLIMIT
Deprecated. |
static java.lang.String |
IHS_SUPPORTED_VERSION_LOWERLIMIT
Deprecated. |
static java.lang.String |
IHS_SUPPORTED_VERSION_UPPERLIMIT
Deprecated. |
static java.lang.String |
WAS_SUPPORTED_VERSION_LOWERLIMIT
Deprecated. |
static java.lang.String |
WAS_SUPPORTED_VERSION_UPPERLIMIT
Deprecated. |
Constructor Summary | |
---|---|
protected |
ConsoleMgmtExtInstalledProduct(java.lang.String version,
java.lang.String location)
Deprecated. Constructs a new ConsoleMgmtExtInstalledProduct containing the version and the location of the installed product. |
Method Summary | |
---|---|
int |
discoverDB2(java.lang.String lowerLimit,
java.lang.String upperLimit)
Deprecated. Discovers DB2 UDB Express installed on the system and updates the console agent properties file with the entries. |
int |
discoverDB2(java.lang.String lowerLimit,
java.lang.String upperLimit,
boolean updatePropertiesFile)
Deprecated. Discovers DB2 UDB Express installed on the system and updates the console agent properties file with the entries. |
int |
discoverIDS(java.lang.String lowerLimit,
java.lang.String upperLimit)
Deprecated. Discovers Informix database installed on the system and updates console agent properties file with the entries. |
int |
discoverIDS(java.lang.String lowerLimit,
java.lang.String upperLimit,
boolean updatePropertiesFile)
Deprecated. Discovers Informix database installed on the system and updates console agent properties file with the entries. |
int |
discoverIHS(java.lang.String lowerLimit,
java.lang.String upperLimit)
Deprecated. Discovers IBM HTTP Server installed on the system and updates console agent properties file with the entries. |
int |
discoverIHS(java.lang.String lowerLimit,
java.lang.String upperLimit,
boolean updatePropertiesFile)
Deprecated. Discovers IBM HTTP Server installed on the system and updates console agent properties file with the entries. |
int |
discoverWAS(java.lang.String lowerLimit,
java.lang.String upperLimit)
Deprecated. Discovers WebSphere Application Server - Express installed on the system and updates the console agent properties file with the entries. |
int |
discoverWAS(java.lang.String lowerLimit,
java.lang.String upperLimit,
boolean updatePropertiesFile)
Deprecated. Discovers WebSphere Application Server - Express installed on the system and updates the console agent properties file with the entries. |
boolean |
doesMiddlewareNeedUpdateInPropFile()
Deprecated. Determines if there are middleware on the system that needs to be updated in the console agent properties file in order to manage it. |
void |
fileSearchAndAppendLine(java.lang.String filename,
java.lang.String find,
java.lang.String lineToAppend)
Deprecated. Searches for a string, if that particular string is found, then appends a given line on the next line after the string is found. |
void |
fileSearchAndDeleteLineWithText(java.lang.String filename,
java.lang.String find)
Deprecated. Searches a file for a given string, if that particular string is found this method will delete the entire line on which the string resides. |
ConsoleAgentInstalledProduct |
getConsoleAgentInstalledProduct()
Deprecated. Returns Console agent installed product on the system. |
static ConsoleMgmtExtInstalledProduct |
getInstalledProduct(java.lang.String location)
Deprecated. Gets the console management extension installed product at the given location. |
static ConsoleMgmtExtInstalledProduct |
getInstalledProduct(SupportBase callerBase,
java.lang.String location)
Deprecated. Gets the console management extension installed product at the given location. |
static ConsoleMgmtExtInstalledProduct[] |
getInstalledProducts()
Deprecated. Gets the console management extension installed product from the target computer. |
static ConsoleMgmtExtInstalledProduct[] |
getInstalledProducts(SupportBase callerBase)
Deprecated. Gets the console management extension installed product from the target computer. |
java.lang.String |
getMgmtExtLogLocation()
Deprecated. Retrieves the console management extension log. |
void |
makeMiddlewareUpdatesToPropFile()
Deprecated. Update the console agent properties file with any middleware that are not updated. |
boolean |
restartConsoleAgent()
Deprecated. Restarts the console agent |
boolean |
restartConsoleAgent(boolean fromConsoleMachine)
Deprecated. Restarts the console agent |
boolean |
restartConsoleAgentUsingServicesFile()
Deprecated. Restarts the console agent service using a script file. |
void |
updateConsoleAgentServiceFile()
Deprecated. Updates the console agent service file. |
Methods inherited from class com.ibm.jsdt.support.installedproduct.InstalledProduct |
---|
compareVersion, getActualSupportBase, getInstalledLocation, getInstalledProduct, getInstalledProducts, getInstalledVersion, getSupportBase, grepRPM, setInstalledLocation, setInstalledVersion, setSupportBase, trimVersionToNVersionPlaces |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String WAS_SUPPORTED_VERSION_LOWERLIMIT
public static final java.lang.String WAS_SUPPORTED_VERSION_UPPERLIMIT
public static final java.lang.String DB2_SUPPORTED_VERSION_LOWERLIMIT
public static final java.lang.String DB2_SUPPORTED_VERSION_UPPERLIMIT
public static final java.lang.String DB2_PPC_SUPPORTED_VERSION_UPPERLIMIT
public static final java.lang.String IDS_SUPPORTED_VERSION_LOWERLIMIT
public static final java.lang.String IDS_SUPPORTED_VERSION_UPPERLIMIT
public static final java.lang.String IHS_SUPPORTED_VERSION_LOWERLIMIT
public static final java.lang.String IHS_SUPPORTED_VERSION_UPPERLIMIT
Constructor Detail |
---|
protected ConsoleMgmtExtInstalledProduct(java.lang.String version, java.lang.String location)
version
- The version of the installed product.location
- The location of the installed product.Method Detail |
---|
public static ConsoleMgmtExtInstalledProduct getInstalledProduct(java.lang.String location)
location
- The location of the installed product.
public static ConsoleMgmtExtInstalledProduct getInstalledProduct(SupportBase callerBase, java.lang.String location)
callerBase
- The SupportBase object to use.location
- The location of the installed product.
public static ConsoleMgmtExtInstalledProduct[] getInstalledProducts()
public static ConsoleMgmtExtInstalledProduct[] getInstalledProducts(SupportBase callerBase)
callerBase
- The SupportBase object to use.
public java.lang.String getMgmtExtLogLocation()
public int discoverWAS(java.lang.String lowerLimit, java.lang.String upperLimit)
lowerLimit
- Lowest supported versionupperLimit
- Highest supported version
public int discoverWAS(java.lang.String lowerLimit, java.lang.String upperLimit, boolean updatePropertiesFile)
lowerLimit
- Lowest supported versionupperLimit
- Highest supported versionupdatePropertiesFile
- True if the console agent properties file should be updated.
public int discoverDB2(java.lang.String lowerLimit, java.lang.String upperLimit)
lowerLimit
- Lowest supported version.upperLimit
- Highest supported version.
public int discoverDB2(java.lang.String lowerLimit, java.lang.String upperLimit, boolean updatePropertiesFile)
lowerLimit
- Lowest supported version.upperLimit
- Highest supported version.updatePropertiesFile
- True if the console agent properties file should be updated.
public void updateConsoleAgentServiceFile()
public int discoverIDS(java.lang.String lowerLimit, java.lang.String upperLimit)
lowerLimit
- Lowest supported versionupperLimit
- Highest supported version
public int discoverIDS(java.lang.String lowerLimit, java.lang.String upperLimit, boolean updatePropertiesFile)
lowerLimit
- Lowest supported versionupperLimit
- Highest supported versionupdatePropertiesFile
- True if the console agent properties file should be updated.
public int discoverIHS(java.lang.String lowerLimit, java.lang.String upperLimit)
lowerLimit
- lowest supported versionupperLimit
- highest supported version
public int discoverIHS(java.lang.String lowerLimit, java.lang.String upperLimit, boolean updatePropertiesFile)
lowerLimit
- lowest supported versionupperLimit
- highest supported versionupdatePropertiesFile
- True if the console agent properties file should be updated.
public ConsoleAgentInstalledProduct getConsoleAgentInstalledProduct()
public void fileSearchAndDeleteLineWithText(java.lang.String filename, java.lang.String find)
filename
- The name of the file to be searched.find
- The string to search for.public void fileSearchAndAppendLine(java.lang.String filename, java.lang.String find, java.lang.String lineToAppend)
filename
- The name of the file to search.find
- The string that is being searched for.lineToAppend
- The line which you wish to append.public boolean restartConsoleAgent()
public boolean restartConsoleAgent(boolean fromConsoleMachine)
fromConsoleMachine
- true - If issuing call from the console machine. On Windows operating system, the
command will not be run from a new command window.
false - The call is made outside the console machine.
public boolean restartConsoleAgentUsingServicesFile()
public boolean doesMiddlewareNeedUpdateInPropFile()
public void makeMiddlewareUpdatesToPropFile()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |