|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.jsdt.support.deploymenthelper.installedproduct.InstalledProduct
com.ibm.jsdt.support.deploymenthelper.installedproduct.ERConsoleInstalledProduct
public class ERConsoleInstalledProduct
Performs Express Runtime Console functionality on an installed instance of the product.
Field Summary | |
---|---|
static java.lang.String |
AGENT_CONNECTION_ERROR
|
static java.lang.String |
HOSTNAME_PORT_ENTRY
|
static java.lang.String |
INST_PATH_REQ_PREFIX_MISSING
|
static java.lang.String |
INVALID_CHAR_FOR_INST_PATH
|
static java.lang.String |
INVALID_OS_FOR_GIVEN_HOST
|
static java.lang.String |
ISC_RUNTIME_BASE_DIR
|
static java.lang.String |
LOG_FILE_ME_DEPLOYMENT_DID_NOT_START_STRING
|
static java.lang.String |
LOG_FILE_ME_FAILURE_STRING
|
static java.lang.String |
LOG_FILE_ME_SUCCESS_STRING
|
static java.lang.String |
LOG_FILE_ME_USERID_PASSWORD_INVALID
|
static java.lang.String |
NO_MIDDLEWARE_INSTALLED
|
protected static ProgramOutput |
output
|
static java.lang.String |
PRODUCT_VPD_PROPERTY_NAME
|
static java.lang.String |
SOLUTION_ENABLER_DIR
|
static java.lang.String |
WIN_DRIVE_LETTER_DOES_NOT_EXIST
|
Fields inherited from class com.ibm.jsdt.support.deploymenthelper.installedproduct.InstalledProduct |
---|
helper |
Constructor Summary | |
---|---|
protected |
ERConsoleInstalledProduct(java.lang.String version,
java.lang.String location)
Constructs a new ERConsoleInstalledProduct containing the version and the location of the installed product. |
Method Summary | |
---|---|
void |
addLeaveFilesOptionForManagementExtensionDeployments()
Add the option to leave deployment files on the target machine for debugging purposes. |
int |
deployModuleIntoISC(java.lang.String moduleDirectoryName,
java.lang.String iscAdminId,
java.lang.String iscAdminPassword)
Deploys modules into Integrated Solutions Console. |
boolean |
doThirdPartyModulesExistInISC()
Searches for third party modules within the ISC installed by Express Runtime. |
java.lang.String |
getConsoleAgentPortNumberForLastDeployment()
Searches the deployment wizard log file for the entry that displays the target host along with the console agent port number used. |
java.lang.String |
getConsoleSubDirectory()
Returns The Express Runtime Console sub directory. |
java.lang.String |
getDeploymentWizardLog()
Returns the absolute location of the deployment wizard log. |
java.lang.String |
getHttpPort()
Get the http port. |
java.lang.String[] |
getInstallationLogFiles()
Gets the installation log files. |
java.lang.String |
getInstalledLocation()
Overrides super.getInstallationLocation() so that trailing slash is not returned. |
static ERConsoleInstalledProduct |
getInstalledProduct(java.lang.String location)
Returns an instance of ERConsoleInstalledProduct if Express Runtime Console is installed on the system in the given location. |
static ERConsoleInstalledProduct[] |
getInstalledProducts()
Returns an instance of ERConsoleInstalledProduct if Express Runtime Console is installed on the system. |
java.lang.String |
getManagementExtensionDeploymentScript()
Returns the absolute location of the script file used to deploy the management extension. |
java.lang.String |
getMESolutionName()
Returns the absolute location of the solution name used to deploy the management extensions. |
java.lang.String |
getTaskFileNameForDeployment()
Returns the absolute location of the task file used to deploy the management extensions. |
boolean |
isISCInstalledByER()
Determines if the ISC installed was performed by the Express Runtime Console installation. |
boolean |
isManagementExtensionDeploymentSuccessful()
Determines if the management extension deployment was successful. |
boolean |
isManagementExtensionDeploymentSuccessful(int startSearchingPosition)
Determines if the management extension deployment was successful. |
void |
removeLeaveFilesOptionForManagementExtensionDeployments()
Remove the option to leave deployment files on the target machine for debugging purposes. |
boolean |
restartConsole()
Controls the restart of the ER Console. |
int |
runMEDeployment()
Runs the management extension install. |
boolean |
searchForStringInDeploymentWizardLog(java.lang.String searchString)
Searches the deployment wizard log file for a given string. |
boolean |
searchForStringInDeploymentWizardLog(java.lang.String searchString,
int startSearchingPosition)
Searches the deployment wizard log file for a given string. |
boolean |
startConsole(java.lang.String commandDir)
Starts the ER Console server, if it is currently not running. |
boolean |
statusConsole()
Determines whether the ER Console is currently running. |
boolean |
stopConsole(java.lang.String commandDir)
Stops the ER Console server, if it is currently running. |
Methods inherited from class com.ibm.jsdt.support.deploymenthelper.installedproduct.InstalledProduct |
---|
compareVersion, getDeploymentHelper, 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 |
Field Detail |
---|
public static final java.lang.String ISC_RUNTIME_BASE_DIR
public static final java.lang.String PRODUCT_VPD_PROPERTY_NAME
public static final java.lang.String SOLUTION_ENABLER_DIR
public static final java.lang.String LOG_FILE_ME_SUCCESS_STRING
public static final java.lang.String LOG_FILE_ME_FAILURE_STRING
public static final java.lang.String LOG_FILE_ME_DEPLOYMENT_DID_NOT_START_STRING
public static final java.lang.String LOG_FILE_ME_USERID_PASSWORD_INVALID
public static final java.lang.String WIN_DRIVE_LETTER_DOES_NOT_EXIST
public static final java.lang.String INST_PATH_REQ_PREFIX_MISSING
public static final java.lang.String INVALID_CHAR_FOR_INST_PATH
public static final java.lang.String INVALID_OS_FOR_GIVEN_HOST
public static final java.lang.String AGENT_CONNECTION_ERROR
public static final java.lang.String HOSTNAME_PORT_ENTRY
public static final java.lang.String NO_MIDDLEWARE_INSTALLED
protected static ProgramOutput output
Constructor Detail |
---|
protected ERConsoleInstalledProduct(java.lang.String version, java.lang.String location)
version
- The version of Express Runtime Console installed.location
- The installation location of Express Runtime Console.Method Detail |
---|
public static ERConsoleInstalledProduct getInstalledProduct(java.lang.String location)
location
- The install location of Express Runtime console.
public static ERConsoleInstalledProduct[] getInstalledProducts()
public java.lang.String getConsoleSubDirectory()
public boolean isISCInstalledByER()
public boolean doThirdPartyModulesExistInISC()
public java.lang.String[] getInstallationLogFiles()
public java.lang.String getHttpPort()
public int deployModuleIntoISC(java.lang.String moduleDirectoryName, java.lang.String iscAdminId, java.lang.String iscAdminPassword)
moduleDirectoryName
- The directory name of the module to deploy.iscAdminId
- ISC administrator IDiscAdminPassword
- ISC password
public java.lang.String getTaskFileNameForDeployment()
public java.lang.String getMESolutionName()
public java.lang.String getDeploymentWizardLog()
public java.lang.String getManagementExtensionDeploymentScript()
public int runMEDeployment()
public java.lang.String getInstalledLocation()
getInstalledLocation
in class InstalledProduct
public boolean isManagementExtensionDeploymentSuccessful()
public boolean isManagementExtensionDeploymentSuccessful(int startSearchingPosition)
startSearchingPosition
- The start position of the log file to begin searching.
public boolean searchForStringInDeploymentWizardLog(java.lang.String searchString)
searchString
- The string to search for.
public boolean searchForStringInDeploymentWizardLog(java.lang.String searchString, int startSearchingPosition)
searchString
- The string to search for.startSearchingPosition
- The position of the log file to begin search
public java.lang.String getConsoleAgentPortNumberForLastDeployment()
public void addLeaveFilesOptionForManagementExtensionDeployments()
public void removeLeaveFilesOptionForManagementExtensionDeployments()
public boolean restartConsole()
public boolean statusConsole()
public boolean stopConsole(java.lang.String commandDir)
commandDir
- The directory path in which the command to run can be found.
public boolean startConsole(java.lang.String commandDir)
commandDir
- The directory path in which the command to run can be found.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |