Enum RuntimeLibrary

    • Enum Constant Detail

      • BSTATS_BASE

        public static final RuntimeLibrary BSTATS_BASE
        org.bstats:bstats-base
      • BSTATS_BUKKIT

        public static final RuntimeLibrary BSTATS_BUKKIT
        org.bstats:bstats-bukkit
      • JAVASSIST

        public static final RuntimeLibrary JAVASSIST
        org.javassist:javassist
      • REFLECTIONS

        public static final RuntimeLibrary REFLECTIONS
        org.reflections:reflections
      • ITEM_NBT_API

        public static final RuntimeLibrary ITEM_NBT_API
        de.tr7zw:item-nbt-api
      • POSTGRESQL

        public static final RuntimeLibrary POSTGRESQL
        org.postgresql:postgresql
    • Method Detail

      • values

        public static RuntimeLibrary[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (RuntimeLibrary c : RuntimeLibrary.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static RuntimeLibrary valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • getLibrarySupplier

        @NotNull
        public @NotNull java.util.function.Supplier<net.byteflux.libby.Library.Builder> getLibrarySupplier()
        Description copied from interface: AnnoyingLibrary
        The supplier of the builder to create the library with
        Specified by:
        getLibrarySupplier in interface AnnoyingLibrary
        Returns:
        a supplier that gives a new builder to create the library with
      • getRelocations

        @NotNull
        public @NotNull java.util.function.Function<AnnoyingPlugin,​java.util.Collection<net.byteflux.libby.relocation.Relocation>> getRelocations()
        Description copied from interface: AnnoyingLibrary
        The relocations to apply to the library
        Specified by:
        getRelocations in interface AnnoyingLibrary
        Returns:
        a function that gives a collection of relocations to apply to the library