|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.izforge.izpack.installer.data.UninstallData
public class UninstallData
Holds uninstallation data.
| Field Summary | |
|---|---|
static String |
ROOTSCRIPT
Constant RootFiles = "rootfiles" |
| Constructor Summary | |
|---|---|
UninstallData()
The constructor. |
|
| Method Summary | |
|---|---|
void |
addAdditionalData(String name,
Object value)
Sets additional uninstall data. |
void |
addExecutable(ExecutableFile file)
Adds an executable to the data. |
void |
addFile(String path,
boolean uninstall)
Adds a file to the data. |
void |
addJar(CustomData jar)
Adds a reference to a jar to be copied to the uninstaller. |
void |
addNativeLibrary(String path)
Adds a reference to a native library, to be copied to the uninstaller. |
void |
addUninstallerListener(CustomData listener)
Adds an listener to invoke at uninstall. |
void |
addUninstallScript(String aRootUninstallScript)
Adds the given File to delete several Shortcuts as Root for the given Users. |
Map<String,Object> |
getAdditionalData()
Returns additional uninstall data. |
List<ExecutableFile> |
getExecutablesList()
Returns the executables list. |
List<String> |
getInstalledFilesList()
Returns the installed files list. |
List<CustomData> |
getJars()
Returns the jars that must be merged to the uninstaller. |
List<String> |
getNativeLibraries()
Returns the native library paths, to be copied to the uninstaller. |
List<String> |
getUninstalableFilesList()
Returns the uninstallable files list. |
String |
getUninstallerJarFilename()
Returns the uninstaller jar filename. |
List<CustomData> |
getUninstallerListeners()
Returns the listeners to invoke at uninstall. |
String |
getUninstallerPath()
Returns the path to the uninstaller. |
ArrayList<String> |
getUninstallScripts()
Returns the root data. |
void |
setUninstallerJarFilename(String name)
Sets the uninstaller jar filename. |
void |
setUninstallerPath(String path)
Sets the uninstaller path. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String ROOTSCRIPT
| Constructor Detail |
|---|
public UninstallData()
| Method Detail |
|---|
public void addFile(String path,
boolean uninstall)
path - The file to add.uninstall - If true, file must be uninstalled.public List<String> getInstalledFilesList()
public List<String> getUninstalableFilesList()
public void addExecutable(ExecutableFile file)
file - The executable file.public List<ExecutableFile> getExecutablesList()
public String getUninstallerJarFilename()
public void setUninstallerJarFilename(String name)
name - The uninstaller jar filename.public String getUninstallerPath()
public void setUninstallerPath(String path)
path - The uninstaller path.public void addUninstallerListener(CustomData listener)
listener - the listenerpublic List<CustomData> getUninstallerListeners()
public void addJar(CustomData jar)
jar - the jarpublic List<CustomData> getJars()
public void addNativeLibrary(String path)
path - the native library resource pathpublic List<String> getNativeLibraries()
public Map<String,Object> getAdditionalData()
public void addAdditionalData(String name,
Object value)
name - key for the additional uninstall datavalue - the additional uninstall datapublic void addUninstallScript(String aRootUninstallScript)
aRootUninstallScript - The Script to exec as Root at uninstall.public ArrayList<String> getUninstallScripts()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||