public interface AnnoyingLibrary
AnnoyingLibraryManager
getId()!| Modifier and Type | Method and Description |
|---|---|
default @NotNull java.lang.String |
getId()
The unique ID of the library (used for identification with
AnnoyingLibraryManager.getIsolatedClassLoaderOf(RuntimeLibrary)) |
default net.byteflux.libby.Library.Builder |
getLibrary()
Sets the
ID of the library and returns the builder |
@NotNull java.util.function.Supplier<net.byteflux.libby.Library.Builder> |
getLibrarySupplier()
The supplier of the builder to create the library with
|
default net.byteflux.libby.Library.Builder |
getLibraryWithRelocations(@NotNull AnnoyingPlugin plugin)
Runs
getLibrary() and applies the relocations to the library |
@NotNull java.util.function.Function<AnnoyingPlugin,java.util.Collection<net.byteflux.libby.relocation.Relocation>> |
getRelocations()
The relocations to apply to the library
|
@NotNull default @NotNull java.lang.String getId()
AnnoyingLibraryManager.getIsolatedClassLoaderOf(RuntimeLibrary))@NotNull @NotNull java.util.function.Supplier<net.byteflux.libby.Library.Builder> getLibrarySupplier()
@NotNull @NotNull java.util.function.Function<AnnoyingPlugin,java.util.Collection<net.byteflux.libby.relocation.Relocation>> getRelocations()
@NotNull default net.byteflux.libby.Library.Builder getLibrary()
ID of the library and returns the builder@NotNull
default net.byteflux.libby.Library.Builder getLibraryWithRelocations(@NotNull
@NotNull AnnoyingPlugin plugin)
getLibrary() and applies the relocations to the libraryplugin - the plugin to apply the relocations with