com.ibm.jsdt.support
Class SupportSolarisHelper

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

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

public class SupportSolarisHelper
extends SupportHelper

Solaris specific helper functionality.


Field Summary
 
Fields inherited from class com.ibm.jsdt.support.SupportHelper
theSupportBase
 
Constructor Summary
SupportSolarisHelper()
          Deprecated. Sole constructor.
 
Method Summary
 boolean areAllPackagesInstalled(SupportSolarisBase s)
          Deprecated. Checks for the installation of all packages in a Vector of packages on the target machine.
 boolean areAnyPackagesInstalled(SupportSolarisBase s)
          Deprecated. Checks for the installation of any package in a Vector of packages on the target machine.
 void chmodDirPermissions(SupportSolarisBase s)
          Deprecated. Changes the permissions on a directory.
 void chmodFilePermissions(SupportSolarisBase s)
          Deprecated. Changes the permissions on a file.
 boolean doesUserExist(SupportSolarisBase s)
          Deprecated. Checks if a username exists on the target machine.
 java.util.Vector installedPackages(SupportSolarisBase s)
          Deprecated. Finds a subset of packages which are installed on the target machine.
 boolean isEnoughSpace(SupportSolarisBase s)
          Deprecated. use instead method isEnoughSpaceAvailable(SupportSolarisBase)
 boolean isEnoughSpaceAvailable(SupportSolarisBase s)
          Deprecated. Verifies that the space required is less than the total free space.
 boolean isIntelBasedSunOS(SupportBase s)
          Deprecated. Determine whether the machine is a intel based machine on Sun.
 boolean isPackageInstalled(SupportSolarisBase s)
          Deprecated. Checks for the installation of a package on the target machine.
 boolean isSunOS64(SupportBase s)
          Deprecated. Indicates whether the current architecture is Solaris 64 bit.
 
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

SupportSolarisHelper

public SupportSolarisHelper()
Deprecated. 
Sole constructor.

Method Detail

doesUserExist

public boolean doesUserExist(SupportSolarisBase s)
Deprecated. 
Checks if a username exists on the target machine. Determines whether or not the given user exists on the system by searching the /etc/passwd file.

The SupportSolarisBase to be queried must invoke SupportSolarisBase.setUserName before calling this method.

Parameters:
s - the SupportSolarisBase to be queried
  • a String user name SupportSolarisBase.getUserName
Returns:
a boolean
  • true if the user exists
  • false the user does not exist

isEnoughSpace

public boolean isEnoughSpace(SupportSolarisBase s)
Deprecated. use instead method isEnoughSpaceAvailable(SupportSolarisBase)

Verifies that the space required is less than the total free space.

The SupportSolarisBase to be queried must invoke SupportSolarisBase.setSpaceRequired before calling this method.

Parameters:
s - the SupportSolarisBase to be queried
  • int the space required SupportSolarisBase.getSpaceRequired
Returns:
a boolean
  • true if enough space is on the target machine to install the product
  • false otherwise

isEnoughSpaceAvailable

public boolean isEnoughSpaceAvailable(SupportSolarisBase s)
Deprecated. 
Verifies that the space required is less than the total free space.

The SupportSolarisBase to be queried must invoke SupportSolarisBase.setSpaceRequired before calling this method.

Parameters:
s - the SupportSolarisBase to be queried
  • int the space required SupportSolarisBase.getSpaceRequired
Returns:
a boolean
  • true if enough space is on the target machine to install the product
  • false otherwise

areAnyPackagesInstalled

public boolean areAnyPackagesInstalled(SupportSolarisBase s)
Deprecated. 
Checks for the installation of any package in a Vector of packages on the target machine.

The SupportSolarisBase to be queried must invoke SupportSolarisBase.setPackages before calling this method.

Parameters:
s - the SupportSolarisBase to be queried
  • a vector of packages SupportSolarisBase.getPackages
Returns:
a boolean
  • true if at least one of the packages in the Vector is installed on the target
  • false otherwise

areAllPackagesInstalled

public boolean areAllPackagesInstalled(SupportSolarisBase s)
Deprecated. 
Checks for the installation of all packages in a Vector of packages on the target machine.

The SupportSolarisBase to be queried must invoke SupportSolarisBase.setPackages before calling this method.

Parameters:
s - the SupportSolarisBase to be queried vector of packages SupportSolarisBase.getPackages
Returns:
boolean
  • true if all of the packages in the Vector are installed on the target
  • false otherwise

isPackageInstalled

public boolean isPackageInstalled(SupportSolarisBase s)
Deprecated. 
Checks for the installation of a package on the target machine.

The SupportSolarisBase to be queried must invoke SupportSolarisBase.setPackageName before calling this method.

Parameters:
s - the SupportSolarisBase to be queried
  • String SupportSolarisBase.getPackageName
Returns:
a boolean
  • true if package is installed on target machine
  • false otherwise

installedPackages

public java.util.Vector installedPackages(SupportSolarisBase s)
Deprecated. 
Finds a subset of packages which are installed on the target machine. All of the packages in the Vector which are installed on the target machine are returned in a Vector.

The SupportSolarisBase to be queried must invoke SupportSolarisBase.setPackages before calling this method.

Parameters:
s - the SupportSolarisBase to be queried
  • Vector of packages SupportSolarisBase.getPackages
Returns:
a Vector of Strings, each String representing a package

chmodDirPermissions

public void chmodDirPermissions(SupportSolarisBase s)
Deprecated. 
Changes the permissions on a directory.

The SupportSolarisBase to be queried must invoke SupportSolarisBase.setPath and SupportSolarisBase.setChmodValue before calling this method.

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

chmodFilePermissions

public void chmodFilePermissions(SupportSolarisBase s)
Deprecated. 
Changes the permissions on a file.

The SupportSolarisBase to be queried must invoke SupportSolarisBase.setFileName and SupportSolarisBase.setChmodValue before calling this method.

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

isSunOS64

public boolean isSunOS64(SupportBase s)
Deprecated. 
Indicates whether the current architecture is Solaris 64 bit.

Parameters:
s - the SupportBase to be queried
    Returns:
    boolean

isIntelBasedSunOS

public boolean isIntelBasedSunOS(SupportBase s)
Deprecated. 
Determine whether the machine is a intel based machine on Sun.

Returns:
true if OS is Sun 64 bit