Enum Class Request

java.lang.Object
java.lang.Enum<Request>
ml.karmaconfigs.api.bukkit.util.spigot.Request
All Implemented Interfaces:
Serializable, Comparable<Request>, java.lang.constant.Constable

public enum Request extends Enum<Request>
Valid spigot xenforo API requests
  • Enum Constant Details

    • DEFAULT

      public static final Request DEFAULT
      Default is LIST_RESOURCES
    • LIST_RESOURCES

      public static final Request LIST_RESOURCES
      List spigot resources
    • GET_RESOURCE

      public static final Request GET_RESOURCE
      Get spigot resource
    • GET_BY_AUTHOR

      public static final Request GET_BY_AUTHOR
      Get spigot resource by author
    • LIST_CATEGORIES

      public static final Request LIST_CATEGORIES
      List spigot categories
    • GET_UPDATE

      public static final Request GET_UPDATE
      Get update info
    • GET_UPDATES

      public static final Request GET_UPDATES
      Get resource updates
    • GET_AUTHOR

      public static final Request GET_AUTHOR
      Get user info
    • FIND_AUTHOR

      public static final Request FIND_AUTHOR
      Find user by username
  • Method Details

    • values

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