Enum Class Dependency

java.lang.Object
java.lang.Enum<Dependency>
me.lucko.luckperms.common.dependencies.Dependency
All Implemented Interfaces:
Serializable, Comparable<Dependency>, Constable

public enum Dependency extends Enum<Dependency>
The dependencies used by LuckPerms.
  • Enum Constant Details

    • ASM

      public static final Dependency ASM
    • ASM_COMMONS

      public static final Dependency ASM_COMMONS
    • JAR_RELOCATOR

      public static final Dependency JAR_RELOCATOR
    • ADVENTURE

      public static final Dependency ADVENTURE
    • ADVENTURE_PLATFORM

      public static final Dependency ADVENTURE_PLATFORM
    • ADVENTURE_PLATFORM_BUKKIT

      public static final Dependency ADVENTURE_PLATFORM_BUKKIT
    • ADVENTURE_PLATFORM_BUNGEECORD

      public static final Dependency ADVENTURE_PLATFORM_BUNGEECORD
    • EVENT

      public static final Dependency EVENT
    • CAFFEINE

      public static final Dependency CAFFEINE
    • OKIO

      public static final Dependency OKIO
    • OKHTTP

      public static final Dependency OKHTTP
    • BYTEBUDDY

      public static final Dependency BYTEBUDDY
    • COMMODORE

      public static final Dependency COMMODORE
    • COMMODORE_FILE

      public static final Dependency COMMODORE_FILE
    • MARIADB_DRIVER

      public static final Dependency MARIADB_DRIVER
    • MYSQL_DRIVER

      public static final Dependency MYSQL_DRIVER
    • POSTGRESQL_DRIVER

      public static final Dependency POSTGRESQL_DRIVER
    • H2_DRIVER_LEGACY

      public static final Dependency H2_DRIVER_LEGACY
    • H2_DRIVER

      public static final Dependency H2_DRIVER
    • SQLITE_DRIVER

      public static final Dependency SQLITE_DRIVER
    • HIKARI

      public static final Dependency HIKARI
    • SLF4J_SIMPLE

      public static final Dependency SLF4J_SIMPLE
    • SLF4J_API

      public static final Dependency SLF4J_API
    • MONGODB_DRIVER_CORE

      public static final Dependency MONGODB_DRIVER_CORE
    • MONGODB_DRIVER_LEGACY

      public static final Dependency MONGODB_DRIVER_LEGACY
    • MONGODB_DRIVER_SYNC

      public static final Dependency MONGODB_DRIVER_SYNC
    • MONGODB_DRIVER_BSON

      public static final Dependency MONGODB_DRIVER_BSON
    • JEDIS

      public static final Dependency JEDIS
    • NATS

      public static final Dependency NATS
    • RABBITMQ

      public static final Dependency RABBITMQ
    • COMMONS_POOL_2

      public static final Dependency COMMONS_POOL_2
    • CONFIGURATE_CORE

      public static final Dependency CONFIGURATE_CORE
    • CONFIGURATE_GSON

      public static final Dependency CONFIGURATE_GSON
    • CONFIGURATE_YAML

      public static final Dependency CONFIGURATE_YAML
    • SNAKEYAML

      public static final Dependency SNAKEYAML
    • CONFIGURATE_HOCON

      public static final Dependency CONFIGURATE_HOCON
    • HOCON_CONFIG

      public static final Dependency HOCON_CONFIG
    • CONFIGURATE_TOML

      public static final Dependency CONFIGURATE_TOML
    • TOML4J

      public static final Dependency TOML4J
  • Method Details

    • values

      public static Dependency[] 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

      public static Dependency valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getFileName

      public String getFileName(String classifier)
    • getChecksum

      public byte[] getChecksum()
    • checksumMatches

      public boolean checksumMatches(byte[] hash)
    • getRelocations

      public List<Relocation> getRelocations()
    • createDigest

      public static MessageDigest createDigest()
      Creates a MessageDigest suitable for computing the checksums of dependencies.
      Returns:
      the digest