|
|||||||||||
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.LWIInstalledComponent
public class LWIInstalledComponent
Represents an LWI (Embedded Web Platform) component. Different from a regular InstalledComponent in that it also must remember a config ID to be used when rolling back.
Field Summary |
---|
Fields inherited from class com.ibm.di.UpdateInstaller.InstalledComponent |
---|
fixes |
Constructor Summary | |
---|---|
LWIInstalledComponent(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 InstalledComponents are equal by comparing their names. |
boolean |
equals(String name)
Tells if two LWIInstalledComponents are equal by comparing their names. |
Object[] |
getConfigIDs()
Gets the list of config IDs. |
String |
getServiceName()
Gets the Windows LWI service name. |
int |
hashCode()
Computes this InstalledComponent's hash code. |
int |
remove(String fixName)
Removes a fix from this component's list. |
void |
removeAll()
Clears the list of applied fixes for this component. |
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, setName |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public LWIInstalledComponent(String name)
name
- Component nameMethod Detail |
---|
public Object[] getConfigIDs()
public String getServiceName()
public void addFix(int pos, String fixName)
addFix
in class InstalledComponent
pos
- Position to add this fix in the listfixName
- Name of the fixpublic void addFix(String fixName)
addFix
in class InstalledComponent
fixName
- Name of the fixpublic int remove(String fixName)
remove
in class InstalledComponent
fixName
- The name of the fix to remove
public void removeAll()
removeAll
in class InstalledComponent
public void writeFixes(PrintWriter outfile)
writeFixes
in class InstalledComponent
outfile
- The file that is being createdpublic boolean equals(Object obj)
equals
in class InstalledComponent
obj
- An InstalledComponent to compare
public boolean equals(String name)
equals
in class InstalledComponent
name
- A String with the name of the component to compare
public int hashCode()
hashCode
in class InstalledComponent
public String toString()
toString
in class InstalledComponent
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |