Package com.ultikits.ultitools.utils
Class ModuleFileTransactions.RemovedModule
java.lang.Object
com.ultikits.ultitools.utils.ModuleFileTransactions.RemovedModule
- Enclosing class:
ModuleFileTransactions
A module an uninstall removed, in every form a transaction can name it by: the
identify-strings and runtime names of the instances it unloaded (plus the argument it was
given), and the file names of its JARs -- the ones those instances were loaded from, the ones
the start-up scan recorded as declaring their main class, and the ones it deleted or recorded
for deletion. A cancellation matches on all of them, so it follows the identity the uninstall
resolved rather than the name the operator typed (round-10 review).
-
Field Summary
FieldsModifier and TypeFieldDescription -
Constructor Summary
ConstructorsConstructorDescriptionRemovedModule(Collection<String> identifyStrings, Collection<String> moduleNames, Collection<String> jarNames) The uninstalled module. -
Method Summary
-
Field Details
-
identifyKeys
-
moduleNames
-
jarNames
-
-
Constructor Details
-
RemovedModule
public RemovedModule(Collection<String> identifyStrings, Collection<String> moduleNames, Collection<String> jarNames) The uninstalled module.- Parameters:
identifyStrings- its identify-strings; anullor blank one is skippedmoduleNames- the names it was loaded under or named byjarNames- the file names of its JARs in the modules folder
-
-
Method Details
-
addNonNull
-
matches
Whether a transaction that names a module this way belongs to this one.- Parameters:
key- the transaction's normalised identify-stringmoduleName- the runtime name it was staged underoldJarName- the file name of the JAR it replaces- Returns:
truewhen any of them is this module's
-
toString
-