Enum Status

java.lang.Object
java.lang.Enum<Status>
com.alessiodp.parties.api.enums.Status
All Implemented Interfaces:
Serializable, Comparable<Status>, java.lang.constant.Constable

@Deprecated public enum Status extends Enum<Status>
Deprecated.
No longer used
Status is an enum that provides a result for some Parties API methods.
  • Enum Constant Details

    • NOEXIST

      public static final Status NOEXIST
      Deprecated.
      The party doesn't exist
    • NOPARTY

      public static final Status NOPARTY
      Deprecated.
      The player isn't in a party
    • ALREADYINPARTY

      public static final Status ALREADYINPARTY
      Deprecated.
      The player is already in a party
    • ALREADYEXISTPARTY

      public static final Status ALREADYEXISTPARTY
      Deprecated.
      The party already exists
    • PARTYFULL

      public static final Status PARTYFULL
      Deprecated.
      The party is full
    • SUCCESS

      public static final Status SUCCESS
      Deprecated.
      Action performed successfully
  • Method Details

    • values

      public static Status[] values()
      Deprecated.
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static Status valueOf(String name)
      Deprecated.
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null