com.ibm.jsdt.support
Class SupportAixHelper

java.lang.Object
  extended by com.ibm.jsdt.support.SupportHelper
      extended by com.ibm.jsdt.support.SupportAixHelper

Deprecated. Due to new package com.ibm.jsdt.support.deploymenthelper

public class SupportAixHelper
extends SupportHelper

AIX specific helper functionality.


Field Summary
 
Fields inherited from class com.ibm.jsdt.support.SupportHelper
sNEWLN, theSupportBase
 
Constructor Summary
SupportAixHelper()
          Deprecated. Sole constructor.
 
Method Summary
 void chmodDirPermissions(SupportBase s)
          Deprecated. Changes the permissions on a folder.
 void chmodFilePermissions(SupportBase s)
          Deprecated. Changes the permissions on a file.
 java.lang.String getAixVersion(SupportBase s)
          Deprecated. Gets the version of AIX.
 java.lang.String[] getLppInstalledDirs(SupportAixBase s)
          Deprecated. Gets a String[] of folder paths to versions of software products that use a common naming convention (they must be installed in the standard /usr/lpp folder).
 java.lang.String getPackageVersion(SupportAixBase s)
          Deprecated. Gets the version of an installed package.
 boolean isAix42Plus(SupportBase s)
          Deprecated. Determines whether the current AIX installation version is >= 4.2.
 boolean isAixPackageInstalled(SupportAixBase s)
          Deprecated. Determines whether a given package is installed on the AIX system.
 
Methods inherited from class com.ibm.jsdt.support.SupportHelper
arraySearch, buildCommand, checkDeployerVersion, checkFreeSpace, checkFreeSpaceAvailable, checkTargetDir, checkTargetDirectory, compareVersions, copyDirectory, determineLogFileName, directoryGrep, endOfFileGrep, executeCommand, fileCopy, fileCopyAndRename, fileDelete, fileExists, fileGrep, fileGrep, fileLength, fileSearchAndReplace, fileSearchAndReplaceLine, fileSearchAndReturnLinesWithSearch, findAndReplace, getBackLevelLogFileName, getCommandStdError, getCommandStdOut, getDeployerLocale, getDomain, getEntryResponseFilePath, getExitResponseFilePath, getFileValue, getGroupLocale, getHostName, getIbmNsiISMPPropValue, getIbmNsiProperties, getIbmNsiPropValue, getIbmNsiPropValue, getIbmNsiPropValueByKey, getLastCommandOutput, getLastCommandReturnCode, getLogsDir, getMainResponseFilePath, getOSType, getPartitionCapacity, getPartitionFileSystemType, getPartitionVolumeLabel, getPasswordValue, getPasswordValueByKey, getPreDeploymentCheckerResponseFilePath, getProductInstallingBundleProperties, getProductInstallingId, getProductInstallingVersion, getQualifiedHostName, getQualifiedHostName, getQualifiedTiedPasswordValue, getQualifiedTiedVariableValue, getResponseFilePath, getResponseFilePath, getResponseFilePaths, getResponseFileProperties, getResponseFileProperty, getResponseFileValue, getSelectedTaskList, getSetupFileRemovalSetting, getStringFromCommandArray, getSystemCommandOutput, getSystemCommandOutput, getSystemEnvVar, getTaskApplicationList, getTaskHostnameList, getTempDir, getTheSupportBase, getTiedPasswordValue, getTiedPasswordValueForKey, getTiedVariableValue, getTiedVariableValueForKey, getTranslatedMessage, getUnpackedDir, getVariableValueForTaskApplication, getVpdInstallLocationArray, getVpdPropertyList, getVpdVersionArray, invokeCommand, invokeCommand, invokeCommand, invokeCommandLogOutput, invokeCommandLogOutput, invokeCommandLogOutput, invokeCommandLogOutputToFileName, invokeCommandLogOutputToFileName, invokeCommandLogOutputToFileName, isAix, isAixOSType, isApplicationVersionEqual, isEnoughTargetDirSpace, isEnoughTargetDirSpaceAvailable, isHPUX, isHPUXOSType, isIpv6Address, isLinux, isLinuxOSType, isLinuxX86_32, isLinuxX86_64, isOS400, isOS400OSType, isPortOpen, isPortRegistered, isPowerLinuxOSType, isSameDirectoryName, isSunOS, isSunOSType, isVersionSupported, isWindows, isWindowsOSType, launchAndWait, launchLocalInteractiveProgram, log, log, log, logAppendFile, logAppendFile, logAppendFile, logAppendFile, logAppendFile, logNewLine, logStatus, modifyResponseFile, postCompletionMessageToDeployerUI, postErrorMessageToDeployerMainUI, postErrorMessageToDeployerUI, postInformationMessageToDeployerMainUI, postInformationMessageToDeployerUI, postSuccessMessageToDeployerMainUI, postSuccessMessageToDeployerUI, postWarningMessageToDeployerMainUI, postWarningMessageToDeployerUI, readFile, removeAlphaCharsFromString, replaceSubstring, setFileValue, setIbmNsiProperty, setResponseFileProperty, setResponseFileValue, setResponseFileValue, setTheSupportBase, trimDoubleQuotes, unPackJar, valueExists, waitForFile, writeFile
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SupportAixHelper

public SupportAixHelper()
Deprecated. 
Sole constructor.

Method Detail

chmodDirPermissions

public void chmodDirPermissions(SupportBase s)
Deprecated. 
Changes the permissions on a folder. This method changes the permissions of all files in the given folder to the chmod value specified (such as "0755"). This recursively blankets all files with the new permissions.

The SupportBase to be queried must call SupportBase.setPath and SupportBase.setChmodValue before calling this method.

Parameters:
s - the SupportBase to be queried
  • a String path SupportBase.getPath
  • a String valid chmod argument SupportBase.getChmodValue.

chmodFilePermissions

public void chmodFilePermissions(SupportBase s)
Deprecated. 
Changes the permissions on a file. This method changes the permissions of a single file to the chmod value specified (such as "0755").

The SupportBase to be queried must call SupportBase.setFileName and SupportBase.setChmodValue before calling this method.

Parameters:
s - the SupportBase to be queried
  • a String file name SupportBase.getFileName
  • a String valid chmod argument SupportBase.getChmodValue

getPackageVersion

public java.lang.String getPackageVersion(SupportAixBase s)
Deprecated. 
Gets the version of an installed package.

The SupportAixBase to be queried must call SupportAixBase.setAixPackage before calling this method.

Parameters:
s - the SupportAixBase to be queried
  • a package name SupportAixBase.getAixPackage
Returns:
the version of an installed package

getLppInstalledDirs

public java.lang.String[] getLppInstalledDirs(SupportAixBase s)
Deprecated. 
Gets a String[] of folder paths to versions of software products that use a common naming convention (they must be installed in the standard /usr/lpp folder).

The SupportAixBase to be queried must call SupportAixBase.setAixNameStem before calling this method.

Parameters:
s - the SupportAixBase to be queried
  • a String package/folder name prefix SupportAixBase.getAixNameStem
Returns:
an array of folder paths of existing installations

getAixVersion

public java.lang.String getAixVersion(SupportBase s)
Deprecated. 
Gets the version of AIX.

Parameters:
s - the SupportBase to be queried
Returns:
the AIX version

isAix42Plus

public boolean isAix42Plus(SupportBase s)
Deprecated. 
Determines whether the current AIX installation version is >= 4.2.

Parameters:
s - the SupportBase to be queried
Returns:
a boolean
  • true if the version is >= 4.2
  • false otherwise

isAixPackageInstalled

public boolean isAixPackageInstalled(SupportAixBase s)
Deprecated. 
Determines whether a given package is installed on the AIX system.

The SupportAixBase to be queried must call SupportAixBase.setAixPackage before calling this method.

Parameters:
s - the SupportAixBase to be queried
  • a package name SupportAixBase.getAixPackage
Returns:
a boolean
  • true if the package is installed
  • false otherwise