Package xyz.srnyx.annoyingapi.library
Enum Class AnnoyingAPILibrary
- All Implemented Interfaces:
Serializable,Comparable<AnnoyingAPILibrary>,Constable,AnnoyingLibrary
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal @NotNull Supplier<net.byteflux.libby.Library.Builder> final @Nullable Function<AnnoyingPlugin, Collection<net.byteflux.libby.relocation.Relocation>> final @Nullable Collection<AnnoyingLibrary> -
Method Summary
Modifier and TypeMethodDescription@NotNull Supplier<net.byteflux.libby.Library.Builder> The supplier of the builder to create the library with@Nullable Function<AnnoyingPlugin, Collection<net.byteflux.libby.relocation.Relocation>> The relocations to apply to the library@Nullable Collection<AnnoyingLibrary> The libraries that are required to load this librarystatic AnnoyingAPILibraryReturns the enum constant of this class with the specified name.static AnnoyingAPILibrary[]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
-
ANNOTATIONS
-
XSERIES
-
OKAERI_CONFIGS_CORE
-
OKAERI_CONFIGS_YAML_BUKKIT
-
OKAERI_CONFIGS_SERDES_COMMONS
-
OKAERI_CONFIGS_SERDES_BUKKIT
-
OKAERI_VALIDATOR
-
OKAERI_CONFIGS_VALIDATOR_OKAERI
-
ITEM_NBT_API
-
BSTATS_BASE
-
BSTATS_BUKKIT
-
FASTSTATS_CORE
-
FASTSTATS_CONFIG
-
FASTSTATS_BUKKIT
-
JAVASSIST
-
REFLECTIONS
-
HIKARICP
-
REACTIVE_STREAMS
-
R2DBC_SPI
-
JOOQ
-
H2
-
POSTGRESQL
-
-
Field Details
-
librarySupplier
-
relocations
@Nullable public final @Nullable Function<AnnoyingPlugin,Collection<net.byteflux.libby.relocation.Relocation>> relocations -
requiredLibraries
-
-
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
@Nullable public @Nullable 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
-
getRequiredLibraries
Description copied from interface:AnnoyingLibraryThe libraries that are required to load this library- Specified by:
getRequiredLibrariesin interfaceAnnoyingLibrary- Returns:
- a list of libraries that are required to load this library
-