Package xyz.srnyx.annoyingapi.library
Enum Class RuntimeLibrary
- All Implemented Interfaces:
Serializable,Comparable<RuntimeLibrary>,Constable,AnnoyingLibrary
All possible runtime libraries that Annoying API may download (depending on feature use)
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionorg.bstats:bstats-baseorg.bstats:bstats-bukkitcom.h2database:h2de.tr7zw:item-nbt-apiorg.javassist:javassistorg.postgresql:postgresqlorg.reflections:reflections -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal @NotNull Supplier<net.byteflux.libby.Library.Builder> final @NotNull Function<AnnoyingPlugin, Collection<net.byteflux.libby.relocation.Relocation>> -
Method Summary
Modifier and TypeMethodDescription@NotNull Supplier<net.byteflux.libby.Library.Builder> The supplier of the builder to create the library with@NotNull Function<AnnoyingPlugin, Collection<net.byteflux.libby.relocation.Relocation>> The relocations to apply to the librarystatic RuntimeLibraryReturns the enum constant of this class with the specified name.static RuntimeLibrary[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface xyz.srnyx.annoyingapi.library.AnnoyingLibrary
getId, getLibrary, getLibraryWithRelocations
-
Enum Constant Details
-
ITEM_NBT_API
de.tr7zw:item-nbt-api -
BSTATS_BASE
org.bstats:bstats-base -
BSTATS_BUKKIT
org.bstats:bstats-bukkit -
JAVASSIST
org.javassist:javassist -
REFLECTIONS
org.reflections:reflections -
H2
com.h2database:h2 -
POSTGRESQL
org.postgresql:postgresql
-
-
Field Details
-
librarySupplier
-
relocations
@NotNull public final @NotNull Function<AnnoyingPlugin,Collection<net.byteflux.libby.relocation.Relocation>> relocations
-
-
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
-
getLibrarySupplier
Description copied from interface:AnnoyingLibraryThe supplier of the builder to create the library with- Specified by:
getLibrarySupplierin interfaceAnnoyingLibrary- Returns:
- a supplier that gives a new builder to create the library with
-
getRelocations
@NotNull public @NotNull Function<AnnoyingPlugin,Collection<net.byteflux.libby.relocation.Relocation>> getRelocations()Description copied from interface:AnnoyingLibraryThe relocations to apply to the library- Specified by:
getRelocationsin interfaceAnnoyingLibrary- Returns:
- a function that gives a collection of relocations to apply to the library
-