Package com.ultikits.ultitools.utils
Class PluginInstallUtils.UninstallReport
java.lang.Object
com.ultikits.ultitools.utils.PluginInstallUtils.UninstallReport
- Enclosing class:
PluginInstallUtils
What an uninstall did, and what it could not determine.
The entries it could not classify are not failures -- an entry nothing can be read from must never stop an uninstall -- but they are not nothing either: if one of them is a copy of this module, it loads again at the next start. Reporting them is what lets the operator decide, which is not the same as guessing on their behalf.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final boolean -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateUninstallReport(boolean jarsDeleted, List<String> undetermined, List<String> deleted) -
Method Summary
Modifier and TypeMethodDescriptionThe files this uninstall deleted, by absolute path.boolean
-
Field Details
-
jarsDeleted
private final boolean jarsDeleted -
undetermined
-
deleted
-
-
Constructor Details
-
UninstallReport
-
-
Method Details
-
of
- Parameters:
jarsDeleted- whether every entry identified as this module's was deletedundetermined- the absolute paths of the entries nothing could identify- Returns:
- the report, with no files named as deleted
-
of
public static PluginInstallUtils.UninstallReport of(boolean jarsDeleted, List<String> undetermined, List<String> deleted) - Parameters:
jarsDeleted- whether every entry identified as this module's was deletedundetermined- the absolute paths of the entries nothing could identifydeleted- the absolute paths of the entries that were deleted- Returns:
- the report
-
jarsDeleted
public boolean jarsDeleted()- Returns:
- whether every entry identified as this module's was deleted
-
undeterminedEntries
- Returns:
- the absolute paths of the entries whose identity could not be determined
-
deletedFiles
The files this uninstall deleted, by absolute path.Named so the operator can see what was removed: every other outcome names paths, and a success that named none is what made a deletion outside the operator's request invisible (gate 1, IN-12 and BL-02).
- Returns:
- the deleted paths
-