public enum CompatibilityBundle extends Enum<CompatibilityBundle>
| Enum Constant and Description |
|---|
CRAFTBUKKIT |
NONE |
| Modifier and Type | Field and Description |
|---|---|
Map<LibraryKey,Library> |
libraries |
| Modifier and Type | Method and Description |
|---|---|
static CompatibilityBundle |
fromConfig(String configValue)
Converts the given config value into the appropriate bundle.
|
static CompatibilityBundle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CompatibilityBundle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CompatibilityBundle CRAFTBUKKIT
public static final CompatibilityBundle NONE
public final Map<LibraryKey,Library> libraries
public static CompatibilityBundle[] values()
for (CompatibilityBundle c : CompatibilityBundle.values()) System.out.println(c);
public static CompatibilityBundle valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static CompatibilityBundle fromConfig(String configValue)
configValue - The value from the config file.Copyright © 2021. All rights reserved.