Package com.ultikits.ultitools.utils
Enum Class PluginInstallUtils.EntryState
java.lang.Object
java.lang.Enum<PluginInstallUtils.EntryState>
com.ultikits.ultitools.utils.PluginInstallUtils.EntryState
- All Implemented Interfaces:
Serializable,Comparable<PluginInstallUtils.EntryState>,java.lang.constant.Constable
- Enclosing class:
PluginInstallUtils
What one entry of the modules folder is, relative to the module being uninstalled. Every
entry is exactly one of these, and each is decided by a positive test on the archive -- with
one exception, stated where it is taken: an entry the module loader itself would never load,
judged by the same
.jar test PluginManager#init applies to this folder, is
state B without being opened.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe archive opened and itsplugin.ymldeclares another module, or the entry is one the module loader would never load at all.It is a loaded instance's own code-source JAR, or the archive opened and itsplugin.ymldeclares this module.Nothing about it identifies a module: the archive would not open, the entry could not be read, theplugin.ymlis not valid YAML, it carries noplugin.yml, or that file declares noname:. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static PluginInstallUtils.EntryState[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
THIS_MODULES
It is a loaded instance's own code-source JAR, or the archive opened and itsplugin.ymldeclares this module. -
NOT_THIS_MODULES
The archive opened and itsplugin.ymldeclares another module, or the entry is one the module loader would never load at all. -
UNDETERMINED
Nothing about it identifies a module: the archive would not open, the entry could not be read, theplugin.ymlis not valid YAML, it carries noplugin.yml, or that file declares noname:. Unknown is not "no".
-
-
Constructor Details
-
EntryState
private EntryState()
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-