Enum Class Repository

java.lang.Object
java.lang.Enum<Repository>
org.geysermc.floodgate.isolation.library.Repository
All Implemented Interfaces:
Serializable, Comparable<Repository>, Constable

public enum Repository extends Enum<Repository>
  • Enum Constant Details

    • MAVEN_CENTRAL

      public static final Repository MAVEN_CENTRAL
    • OPEN_COLLAB

      public static final Repository OPEN_COLLAB
    • BUNDLED

      public static final Repository BUNDLED
  • Method Details

    • values

      public static Repository[] 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 Repository 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
    • download

      public byte[] download(Library library)
    • downloadTo

      public void downloadTo(Library library, Path location)