MCPcopy Create free account

hub / github.com/Byteflux/libby / functions

Functions82 in github.com/Byteflux/libby

↓ 10 callersMethodlog
Logs a message with the provided level. @param level message severity level @param message the message to log
core/src/main/java/net/byteflux/libby/logging/adapters/LogAdapter.java:15
↓ 8 callersMethoddebug
Logs a debug message. <p> If the logger's configured log level is more severe than {@link LogLevel#DEBUG}, this message won't be logged. @param messa
core/src/main/java/net/byteflux/libby/logging/Logger.java:110
↓ 8 callersMethodlog
Logs a message with the provided level. <p> If the provided log level is less severe than the logger's configured log level, this message won't be log
core/src/main/java/net/byteflux/libby/logging/Logger.java:76
↓ 8 callersMethodwarn
Logs a warning message. <p> If the logger's configured log level is more severe than {@link LogLevel#WARN}, this message won't be logged. @param mess
core/src/main/java/net/byteflux/libby/logging/Logger.java:160
↓ 6 callersMethodinfo
Logs an informational message. <p> If the logger's configured log level is more severe than {@link LogLevel#INFO}, this message won't be logged. @par
core/src/main/java/net/byteflux/libby/logging/Logger.java:135
↓ 5 callersMethodaddRepository
Adds a repository URL to this library manager. <p> Artifacts will be resolved using this repository when attempts to locate the artifact through previ
core/src/main/java/net/byteflux/libby/LibraryManager.java:139
↓ 4 callersMethoddownloadLibrary
Downloads a library jar and returns the contents as a byte array. @param url the URL to the library jar @return downloaded jar as byte array or null
core/src/main/java/net/byteflux/libby/LibraryManager.java:203
↓ 4 callersMethoderror
Logs an error message. @param message the message to log
core/src/main/java/net/byteflux/libby/logging/Logger.java:182
↓ 3 callersMethodaddPath
Adds a path to the classpath. @param path the path to add
core/src/main/java/net/byteflux/libby/classloader/IsolatedClassLoader.java:44
↓ 3 callersMethodartifactId
Sets the Maven artifact ID for this library. @param artifactId Maven artifact ID @return this builder
core/src/main/java/net/byteflux/libby/Library.java:301
↓ 3 callersMethodbuild
Creates a new relocation using this builder's configuration. @return new relocation
core/src/main/java/net/byteflux/libby/relocation/Relocation.java:180
↓ 3 callersMethodbuilder
Creates a new library builder. @return new library builder
core/src/main/java/net/byteflux/libby/Library.java:228
↓ 3 callersMethodchecksum
Sets the binary SHA-256 checksum for this library. @param checksum binary SHA-256 checksum @return this builder
core/src/main/java/net/byteflux/libby/Library.java:334
↓ 3 callersMethodgroupId
Sets the Maven group ID for this library. @param groupId Maven group ID @return this builder
core/src/main/java/net/byteflux/libby/Library.java:290
↓ 3 callersMethodversion
Sets the artifact version for this library. @param version artifact version @return this builder
core/src/main/java/net/byteflux/libby/Library.java:312
↓ 2 callersMethodcanLog
Gets whether messages matching the provided level can be logged under the current log level setting. <p> Returns true if provided log level is equal t
core/src/main/java/net/byteflux/libby/logging/Logger.java:59
↓ 2 callersMethodgetChecksum
Gets the binary SHA-256 checksum of this library's jar file. @return checksum or null
core/src/main/java/net/byteflux/libby/Library.java:159
↓ 2 callersMethodgetPath
Gets the relative Maven path to this library's artifact. @return Maven path for this library
core/src/main/java/net/byteflux/libby/Library.java:195
↓ 2 callersMethodhasClassifier
Gets whether this library has an artifact classifier. @return true if library has classifier, false otherwise
core/src/main/java/net/byteflux/libby/Library.java:150
↓ 2 callersMethodhasRelocations
Gets whether this library has any jar relocations. @return true if library has relocations, false otherwise
core/src/main/java/net/byteflux/libby/Library.java:186
↓ 1 callersMethodaddToClasspath
Adds a file to the plugin's classpath. @param file the file to add
core/src/main/java/net/byteflux/libby/LibraryManager.java:87
↓ 1 callersMethodaddURL
Adds a URL to the classpath. @param url the URL to add
core/src/main/java/net/byteflux/libby/classloader/IsolatedClassLoader.java:34
↓ 1 callersMethodgetExcludes
Gets excluded classes and resources. @return classes and resources to exclude
core/src/main/java/net/byteflux/libby/relocation/Relocation.java:92
↓ 1 callersMethodgetIncludes
Gets included classes and resources. @return classes and resources to include
core/src/main/java/net/byteflux/libby/relocation/Relocation.java:83
↓ 1 callersMethodgetLevel
Gets the current log level. @return current log level
core/src/main/java/net/byteflux/libby/logging/Logger.java:36
↓ 1 callersMethodgetPattern
Gets the search pattern. @return pattern to search
core/src/main/java/net/byteflux/libby/relocation/Relocation.java:65
↓ 1 callersMethodgetRelocatedPath
Gets the relative path to this library's relocated jar. @return path to relocated artifact or null if has no relocations
core/src/main/java/net/byteflux/libby/Library.java:204
↓ 1 callersMethodgetRelocatedPattern
Gets the replacement pattern. @return pattern to replace with
core/src/main/java/net/byteflux/libby/relocation/Relocation.java:74
↓ 1 callersMethodgetRelocations
Gets the jar relocations to apply to this library. @return jar relocations to apply
core/src/main/java/net/byteflux/libby/Library.java:177
↓ 1 callersMethodgetRepositories
Gets the currently added repositories used to resolve artifacts. <p> For each library this list is traversed to download artifacts after the direct do
core/src/main/java/net/byteflux/libby/LibraryManager.java:122
↓ 1 callersMethodgetUrls
Gets the direct download URLs for this library. @return direct download URLs
core/src/main/java/net/byteflux/libby/Library.java:105
↓ 1 callersMethodhasChecksum
Gets whether this library has a checksum. @return true if library has checksum, false otherwise
core/src/main/java/net/byteflux/libby/Library.java:168
↓ 1 callersMethodrelocate
Processes the input jar and generates an output jar with the provided relocation rules applied, then returns the path to the relocated jar. @param in
core/src/main/java/net/byteflux/libby/LibraryManager.java:338
↓ 1 callersMethodresolveLibrary
Gets all of the possible download URLs for this library. Entries are ordered by direct download URLs first and then repository download URLs. @param
core/src/main/java/net/byteflux/libby/LibraryManager.java:188
↓ 1 callersMethodsetLevel
Sets a new log level. @param level new log level
core/src/main/java/net/byteflux/libby/logging/Logger.java:45
↓ 1 callersMethodtoString
Gets a concise, human-readable string representation of this library. @return string representation
core/src/main/java/net/byteflux/libby/Library.java:213
MethodBukkitLibraryManager
Creates a new Bukkit library manager. @param plugin the plugin to manage
bukkit/src/main/java/net/byteflux/libby/BukkitLibraryManager.java:26
MethodBungeeLibraryManager
Creates a new Bungee library manager. @param plugin the plugin to manage
bungee/src/main/java/net/byteflux/libby/BungeeLibraryManager.java:26
MethodIsolatedClassLoader
Creates a new isolated class loader for the given URLs. @param urls the URLs to add to the classpath
core/src/main/java/net/byteflux/libby/classloader/IsolatedClassLoader.java:25
MethodJDKLogAdapter
Creates a new JDK log adapter that logs to a {@link Logger}. @param logger the JDK logger to wrap
core/src/main/java/net/byteflux/libby/logging/adapters/JDKLogAdapter.java:24
MethodLibrary
Creates a new library. @param urls direct download URLs @param groupId Maven group ID @param artifactId Maven artifact ID @param version
core/src/main/java/net/byteflux/libby/Library.java:75
MethodLibraryManager
Creates a new library manager. @param logAdapter plugin logging adapter @param dataDirectory plugin's data directory
core/src/main/java/net/byteflux/libby/LibraryManager.java:77
MethodLogger
Creates a new logger with the provided adapter. @param adapter the adapter to wrap
core/src/main/java/net/byteflux/libby/logging/Logger.java:27
MethodNukkitLibraryManager
Creates a new Nukkit library manager. @param plugin the plugin to manage
nukkit/src/main/java/net/byteflux/libby/NukkitLibraryManager.java:26
MethodNukkitLogAdapter
Creates a new Nukkit log adapter that logs to a {@link PluginLogger}. @param logger the plugin logger to wrap
nukkit/src/main/java/net/byteflux/libby/logging/adapters/NukkitLogAdapter.java:22
MethodRelocation
Creates a new relocation. @param pattern search pattern @param relocatedPattern replacement pattern @param includes classes and reso
core/src/main/java/net/byteflux/libby/relocation/Relocation.java:43
MethodRelocationHelper
Creates a new relocation helper using the provided library manager to download the dependencies required for runtime relocation. @param libraryManage
core/src/main/java/net/byteflux/libby/relocation/RelocationHelper.java:45
MethodSLF4JLogAdapter
Creates a new SLF4J log adapter that logs to a {@link Logger}. @param logger the SLF4J logger to wrap
slf4j/src/main/java/net/byteflux/libby/logging/adapters/SLF4JLogAdapter.java:22
MethodSpongeLibraryManager
Creates a new Sponge library manager. @param logger the plugin logger @param dataDirectory plugin's data directory @param plugin the pl
sponge/src/main/java/net/byteflux/libby/SpongeLibraryManager.java:30
MethodURLClassLoaderHelper
Creates a new URL class loader helper. @param classLoader the class loader to manage
core/src/main/java/net/byteflux/libby/classloader/URLClassLoaderHelper.java:32
MethodVelocityLibraryManager
Creates a new Velocity library manager. @param logger the plugin logger @param dataDirectory plugin's data directory @param pluginManager Velo
velocity/src/main/java/net/byteflux/libby/VelocityLibraryManager.java:36
MethodaddJCenter
Adds the Bintray JCenter repository.
core/src/main/java/net/byteflux/libby/LibraryManager.java:170
MethodaddJitPack
Adds the JitPack repository.
core/src/main/java/net/byteflux/libby/LibraryManager.java:177
MethodaddMavenCentral
Adds the Maven Central repository.
core/src/main/java/net/byteflux/libby/LibraryManager.java:156
MethodaddMavenLocal
Adds the current user's local Maven repository.
core/src/main/java/net/byteflux/libby/LibraryManager.java:149
MethodaddSonatype
Adds the Sonatype OSS repository.
core/src/main/java/net/byteflux/libby/LibraryManager.java:163
MethodaddToClasspath
Adds a file to the Bungee plugin's classpath. @param file the file to add
bungee/src/main/java/net/byteflux/libby/BungeeLibraryManager.java:36
MethodaddToClasspath
Adds a file to the Bukkit plugin's classpath. @param file the file to add
bukkit/src/main/java/net/byteflux/libby/BukkitLibraryManager.java:36
MethodaddToClasspath
Adds a URL to the class loader's classpath. @param url the URL to add
core/src/main/java/net/byteflux/libby/classloader/URLClassLoaderHelper.java:48
MethodaddToClasspath
Adds a file to the Velocity plugin's classpath. @param file the file to add
velocity/src/main/java/net/byteflux/libby/VelocityLibraryManager.java:52
MethodaddToClasspath
Adds a file to the Sponge plugin's classpath. @param file the file to add
sponge/src/main/java/net/byteflux/libby/SpongeLibraryManager.java:41
MethodaddToClasspath
Adds a file to the Nukkit plugin's classpath. @param file the file to add
nukkit/src/main/java/net/byteflux/libby/NukkitLibraryManager.java:36
Methodbuild
Creates a new library using this builder's configuration. @return new library
core/src/main/java/net/byteflux/libby/Library.java:376
Methodbuilder
Creates a new relocation builder. @return new relocation builder
core/src/main/java/net/byteflux/libby/relocation/Relocation.java:101
Methodclassifier
Sets the artifact classifier for this library. @param classifier artifact classifier @return this builder
core/src/main/java/net/byteflux/libby/Library.java:323
Methodexclude
Adds a class or resource to be excluded. @param exclude class or resource to exclude @return this builder
core/src/main/java/net/byteflux/libby/relocation/Relocation.java:170
MethodgetArtifactId
Gets the Maven artifact ID for this library. @return Maven artifact ID
core/src/main/java/net/byteflux/libby/Library.java:123
MethodgetClassifier
Gets the artifact classifier for this library. @return artifact classifier or null
core/src/main/java/net/byteflux/libby/Library.java:141
MethodgetGroupId
Gets the Maven group ID for this library. @return Maven group ID
core/src/main/java/net/byteflux/libby/Library.java:114
MethodgetLogLevel
Gets the logging level for this library manager. @return log level
core/src/main/java/net/byteflux/libby/LibraryManager.java:94
MethodgetVersion
Gets the artifact version for this library. @return artifact version
core/src/main/java/net/byteflux/libby/Library.java:132
Methodinclude
Adds a class or resource to be included. @param include class or resource to include @return this builder
core/src/main/java/net/byteflux/libby/relocation/Relocation.java:159
MethodloadLibrary
Loads a library jar into the plugin's classpath. If the library jar doesn't exist locally, it will be downloaded. <p> If the provided library has any
core/src/main/java/net/byteflux/libby/LibraryManager.java:384
Methodlog
Logs a message with the provided level to the SLF4J logger. @param level message severity level @param message the message to log
slf4j/src/main/java/net/byteflux/libby/logging/adapters/SLF4JLogAdapter.java:32
Methodlog
Logs a message with the provided level to the JDK logger. @param level message severity level @param message the message to log
core/src/main/java/net/byteflux/libby/logging/adapters/JDKLogAdapter.java:34
Methodlog
Logs a message with the provided level to the Nukkit plugin logger. @param level message severity level @param message the message to log
nukkit/src/main/java/net/byteflux/libby/logging/adapters/NukkitLogAdapter.java:32
Methodpattern
Sets the search pattern. @param pattern pattern to search @return this builder
core/src/main/java/net/byteflux/libby/relocation/Relocation.java:137
Methodrelocate
Adds a jar relocation to apply to this library. @param relocation jar relocation to apply @return this builder
core/src/main/java/net/byteflux/libby/Library.java:355
Methodrelocate
Invokes the jar relocator to process the input jar and generate an output jar with the provided relocation rules applied. @param in input ja
core/src/main/java/net/byteflux/libby/relocation/RelocationHelper.java:105
MethodrelocatedPattern
Sets the replacement pattern. @param relocatedPattern pattern to replace with @return this builder
core/src/main/java/net/byteflux/libby/relocation/Relocation.java:148
MethodsetLogLevel
Sets the logging level for this library manager. <p> By setting this value, the library manager's logger will not log any messages with a level less s
core/src/main/java/net/byteflux/libby/LibraryManager.java:110
Methodurl
Adds a direct download URL for this library. @param url direct download URL @return this builder
core/src/main/java/net/byteflux/libby/Library.java:279