public class UninstallData extends Object
Modifier and Type | Field and Description |
---|---|
private Map |
additionalData
Additional uninstall data like uninstaller listener list.
|
private List |
executablesList
The executables list.
|
private List |
filesList
The files list.
|
private static UninstallData |
instance
The uninstall data object.
|
private String |
uninstallerJarFilename
The uninstaller jar filename.
|
private String |
uninstallerPath
The uninstaller path.
|
Modifier | Constructor and Description |
---|---|
private |
UninstallData()
The constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addAdditionalData(String name,
Object value)
Sets additional uninstall data like uninstaller listener list.
|
void |
addExecutable(ExecutableFile file)
Adds an executable to the data.
|
void |
addFile(String path)
Adds a file to the data.
|
Map |
getAdditionalData()
Returns additional uninstall data like uninstaller listener list.
|
List |
getExecutablesList()
Returns the executables list.
|
List |
getFilesList()
Returns the files list.
|
static UninstallData |
getInstance()
Returns the instance (it is a singleton).
|
String |
getUninstallerJarFilename()
Returns the uninstaller jar filename.
|
String |
getUninstallerPath()
Returns the path to the uninstaller.
|
void |
setUninstallerJarFilename(String name)
Sets the uninstaller jar filename.
|
void |
setUninstallerPath(String path)
Sets the uninstaller path.
|
private static UninstallData instance
private List executablesList
private String uninstallerJarFilename
private String uninstallerPath
private Map additionalData
private UninstallData()
public static UninstallData getInstance()
public void addFile(String path)
path
- The file to add.public List getFilesList()
public void addExecutable(ExecutableFile file)
file
- The executable file.public List 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 Map getAdditionalData()
public void addAdditionalData(String name, Object value)
name
- key for the additional uninstall datavalue
- the additional uninstall dataWebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses