Package ovh.mythmc.gestalt.loader
Enum Class GestaltLoaderInitializationResponse.Type
java.lang.Object
java.lang.Enum<GestaltLoaderInitializationResponse.Type>
ovh.mythmc.gestalt.loader.GestaltLoaderInitializationResponse.Type
- All Implemented Interfaces:
Serializable,Comparable<GestaltLoaderInitializationResponse.Type>,Constable
- Enclosing class:
GestaltLoaderInitializationResponse
public static enum GestaltLoaderInitializationResponse.Type
extends Enum<GestaltLoaderInitializationResponse.Type>
Enumerates the possible outcomes of a
GestaltLoader.initialize() call.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionGestalt was already loaded on this platform; no action was taken.Thelibs/directory could not be created due to a filesystem error.The remote download servers were unreachable and the JAR was not present locally.Gestalt was downloaded (if needed) and loaded successfully. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SUCCESS
Gestalt was downloaded (if needed) and loaded successfully. -
ALREADY_AVAILABLE
Gestalt was already loaded on this platform; no action was taken. -
REMOTE_UNAVAILABLE
The remote download servers were unreachable and the JAR was not present locally. -
DIRECTORY_UNAVAILABLE
Thelibs/directory could not be created due to a filesystem error.
-
-
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
-