| java.lang.Object com.sun.portal.fabric.upgrade.UpgradeUtils
UpgradeUtils | public class UpgradeUtils (Code) | | |
Method Summary | |
static void | addSRACertificateInfoElement(File sXMLFile, String xpath, String CERT_INFO, String CERT_DB_PASSWORD) | public static void | addSRAElementNodes(File sXMLFile, String xpath, String elementNodeName, String[] platformConfs, String sraLogPassword, String startInstanceStatus) | public static boolean | checkDirectoryExists(String dir) | static boolean | checkJESInstallerSuccess() | static void | copy(File src, File dst) | public static void | copyAllAMFilesToVarTmp(String resourceDir, String varTmpPSVersionDir) | public static void | copyAllAMFilesToVarTmpPortal(String[] resDirs) | public static void | echo(boolean on) | public static void | enableSRA(String[] platformConfs, Properties prop, String amadminPasswordFilePath) | public static void | execAMRequest(Properties prop, String compName, int totalFiles) | public static void | execAMResourceBundleRequest(Properties prop, String compName) | public static void | execAnt(String buildfile, Vector targets, String logfile, String propfile) | public static void | execAnt(String buildfile, Vector targets, String logfile, String propfile, Vector env) | public static void | execLDAPModify(Properties prop, String compName) | public static void | execPSInstall(Properties prop) | public static void | executeAccessManagerUpdates(Properties psInstallationProps, String[] resDirs) | public static void | executeClassPathUpdates(File cpChangesFile, String configFilePath, Properties wcAttributes, boolean validate) | public static void | executeDesktopProfileUpdates(Properties psInstallationProps, String[] resDirs) | public static void | executeJVMOptionUpdates(File jvmOCFile, Properties wcAttributes, boolean validate) | public static void | executePS7To71DPUpdates(Properties psInstallationProps, String resDir) | public static void | executeServerPolicyUpdates(File spChangesFile, Properties wcAttributes, Logger log, boolean validate) | public static String | getAMBaseDirOnLinux() | public static void | getAMSpecialUsersDN() | public static String | getAccessManagerVersion() | public static String | getAppServerVersion() | public static String | getCommandOptionValue(String[] args, String opt) | static int | getExitCode() | public static String | getGatewayJDKDir(String gwConfigPropFileDir) | public static String | getJESInstallerWizardID(File psinstallShFile) | static String | getLocalSystemIPAddress() | public static String | getPS7BaseDirOnLinux() | public static String | getPSBaseDirOnLinux() | static String | getPSVersion(String psProdDir, boolean psInstalled) | static String | getPSVersionOnLinux() | public static String | getPatchKey() | public static String | getPortalServerVersion() | public static String | getRPMFullName(String rpm) | public static String | getResourceDir(String version) | public static String[] | getResourceDirs(String version) | static String | getStartInstanceStatus(String stat) | public static String | getWebContainerType(Properties WCType) | public static String | getWebServerVersion() | public static DocumentFragment | getXmlNode(org.w3c.dom.Document doc, String fragment) | public static boolean | hasCommandOption(String[] args, String opt) | static boolean | isAccessManagerAdminCredentialValid(String host, int port, String DN, String password) | static boolean | isAccessManagerLDAPUserCredentialValid(String host, int port, String DN, String password) | static boolean | isDirectoryManagerCredentialValid(String host, int port, String DN, String password) | static boolean | isDirectoryServerRunning(String host, int port) | public static boolean | isJES4Stack(String psVersion, String deployType) | public static boolean | isJES5Stack(String psVersion, String deployType) | public static boolean | isLinuxOS() | public static boolean | isLinuxPatchApplied(String patchID) | public static boolean | isPackageInstalled(String pkg) | public static boolean | isRPMInstalled(String rpm) | public static boolean | isRPMInstalled(String rpm, boolean checkVersion) | static boolean | isSRACredentialsValid(String host, int port, String sraAgentName, String password) | public static boolean | isSunOS() | public static boolean | isSunOSPatchApplied(String patchID) | boolean | isWebContainerServerRunning() | public static boolean | isWebServer70Installed() | public static void | log(String msg) | public static void | log(int severity, String msg) | static void | mkdir(String root, String child) | static String | parseCertInfo(String certStr, String info) | public static void | preparePSAMBackupScript(Properties prop, File backUpScript) | static void | processDPUpdates(File dp, File dpChanges, String type) | static String | promptUser(String s) | public static String | readInput(String prompt) | public static String | readPassword(String prompt) | static String | readUserResponse() | public static boolean | removeDir(String psBaseDir) | public static boolean | removeLinuxOSPackage(String pkg) | static void | removeLogHandler() | public static boolean | removeService(Properties prop, String serviceName) | public static boolean | removeSunOSPackage(String pkg) | static String[] | returnFileList(String dirStr, String pat, int matchmode) | static String[] | returnFileListEndingWith(String dirStr, String startpat, String[] endpatterns) | public static String[] | returnFileListEndingWith(String dirStr, String startpat, String endpattern) | static String[] | returnFileListHavingPattern(String dirStr, String regexpat) | public static boolean | rmdir(File path) | public static void | setExecUtil(ExecuteUtil exec) | static void | setExitCode(int ec) | public static void | setLogger(Logger log) | public static void | setSSLLDAPConnection(boolean sslEnabled) | static boolean | validateCredentials(String host, int port, String userName, String credentials) |
checkDirectoryExists | public static boolean checkDirectoryExists(String dir)(Code) | | |
checkJESInstallerSuccess | static boolean checkJESInstallerSuccess()(Code) | | |
copyAllAMFilesToVarTmpPortal | public static void copyAllAMFilesToVarTmpPortal(String[] resDirs) throws IOException(Code) | | |
echo | public static void echo(boolean on)(Code) | | |
executeClassPathUpdates | public static void executeClassPathUpdates(File cpChangesFile, String configFilePath, Properties wcAttributes, boolean validate)(Code) | | |
executeJVMOptionUpdates | public static void executeJVMOptionUpdates(File jvmOCFile, Properties wcAttributes, boolean validate)(Code) | | |
executeServerPolicyUpdates | public static void executeServerPolicyUpdates(File spChangesFile, Properties wcAttributes, Logger log, boolean validate)(Code) | | |
getAMBaseDirOnLinux | public static String getAMBaseDirOnLinux()(Code) | | |
getAMSpecialUsersDN | public static void getAMSpecialUsersDN()(Code) | | |
getAccessManagerVersion | public static String getAccessManagerVersion()(Code) | | |
getAppServerVersion | public static String getAppServerVersion()(Code) | | |
getExitCode | static int getExitCode()(Code) | | |
getJESInstallerWizardID | public static String getJESInstallerWizardID(File psinstallShFile)(Code) | | |
getLocalSystemIPAddress | static String getLocalSystemIPAddress()(Code) | | |
getPS7BaseDirOnLinux | public static String getPS7BaseDirOnLinux()(Code) | | |
getPSBaseDirOnLinux | public static String getPSBaseDirOnLinux()(Code) | | |
getPSVersionOnLinux | static String getPSVersionOnLinux()(Code) | | |
getPortalServerVersion | public static String getPortalServerVersion()(Code) | | |
getWebServerVersion | public static String getWebServerVersion()(Code) | | |
isAccessManagerAdminCredentialValid | static boolean isAccessManagerAdminCredentialValid(String host, int port, String DN, String password)(Code) | | |
isAccessManagerLDAPUserCredentialValid | static boolean isAccessManagerLDAPUserCredentialValid(String host, int port, String DN, String password)(Code) | | |
isDirectoryManagerCredentialValid | static boolean isDirectoryManagerCredentialValid(String host, int port, String DN, String password)(Code) | | |
isDirectoryServerRunning | static boolean isDirectoryServerRunning(String host, int port)(Code) | | |
isLinuxOS | public static boolean isLinuxOS()(Code) | | |
isLinuxPatchApplied | public static boolean isLinuxPatchApplied(String patchID)(Code) | | |
isPackageInstalled | public static boolean isPackageInstalled(String pkg)(Code) | | |
isRPMInstalled | public static boolean isRPMInstalled(String rpm)(Code) | | |
isRPMInstalled | public static boolean isRPMInstalled(String rpm, boolean checkVersion)(Code) | | |
isSRACredentialsValid | static boolean isSRACredentialsValid(String host, int port, String sraAgentName, String password)(Code) | | |
isSunOS | public static boolean isSunOS()(Code) | | |
isSunOSPatchApplied | public static boolean isSunOSPatchApplied(String patchID)(Code) | | |
isWebContainerServerRunning | boolean isWebContainerServerRunning()(Code) | | |
isWebServer70Installed | public static boolean isWebServer70Installed()(Code) | | |
preparePSAMBackupScript | public static void preparePSAMBackupScript(Properties prop, File backUpScript)(Code) | | |
removeDir | public static boolean removeDir(String psBaseDir)(Code) | | |
removeLinuxOSPackage | public static boolean removeLinuxOSPackage(String pkg)(Code) | | |
removeLogHandler | static void removeLogHandler()(Code) | | |
removeSunOSPackage | public static boolean removeSunOSPackage(String pkg)(Code) | | |
setExitCode | static void setExitCode(int ec)(Code) | | |
setSSLLDAPConnection | public static void setSSLLDAPConnection(boolean sslEnabled)(Code) | | |
|
|