|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.ibm.di.UpdateInstaller.InstalledComponent
com.ibm.di.UpdateInstaller.AMCInstalledComponent
public class AMCInstalledComponent
Represents an AMC component. Different from a regular InstalledComponent in that it also must remember whether or not AMC was deployed during the initial installation of the component.
| Field Summary |
|---|
| Fields inherited from class com.ibm.di.UpdateInstaller.InstalledComponent |
|---|
fixes |
| Constructor Summary | |
|---|---|
AMCInstalledComponent(String name)
Class constructor specifying the name of this component. |
|
| Method Summary | |
|---|---|
void |
addFix(int pos,
String fixName)
Adds the name of a fix to the specified position in the list of fixes that have been applied to this component. |
void |
addFix(String fixName)
Adds the name of a fix to the end of the list of fixes that have been applied to this component. |
boolean |
equals(Object obj)
Tells if two AMCInstalledComponents are equal by comparing their names. |
boolean |
equals(String name)
Tells if two InstalledComponents are equal by comparing their names. |
boolean |
getDeferredDeployment()
Gets a value indicating whether or not AMC deployment was deferred during the initial TDI installation. |
int |
hashCode()
Computes this InstalledComponent's hash code. |
void |
setDeferredDeployment(boolean deferred)
Sets whether or not AMC deployment occurred during the initial installation of TDI. |
void |
setDeferredDeployment(String deferred)
Sets whether or not AMC deployment occurred during the initial installation of TDI. |
String |
toString()
Converts the current object to a String for printing. |
void |
writeFixes(PrintWriter outfile)
Write this component's information in the appropriate format to specified open file. |
| Methods inherited from class com.ibm.di.UpdateInstaller.InstalledComponent |
|---|
getFixes, getName, isFirstFix, isFixInstalled, posOfFixInstalled, remove, removeAll, setName |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AMCInstalledComponent(String name)
name - Component name| Method Detail |
|---|
public void setDeferredDeployment(boolean deferred)
deferred - true or falsepublic void setDeferredDeployment(String deferred)
deferred - "true" or "false"public boolean getDeferredDeployment()
public void addFix(int pos,
String fixName)
addFix in class InstalledComponentpos - Position to add this fix in the listfixName - Name of the fixpublic void addFix(String fixName)
addFix in class InstalledComponentfixName - Name of the fixpublic void writeFixes(PrintWriter outfile)
writeFixes in class InstalledComponentoutfile - The file that is being createdpublic boolean equals(Object obj)
equals in class InstalledComponentobj - An InstalledComponent to compare
public boolean equals(String name)
equals in class InstalledComponentname - A String with the name of the component to compare
public int hashCode()
hashCode in class InstalledComponentpublic String toString()
toString in class InstalledComponent
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||