Package com.alessiodp.parties.api.enums
Enum Status
- java.lang.Object
-
- java.lang.Enum<Status>
-
- com.alessiodp.parties.api.enums.Status
-
- All Implemented Interfaces:
Serializable,Comparable<Status>
@Deprecated public enum Status extends Enum<Status>
Deprecated.No longer usedStatus is an enum that provides a result for some Parties API methods.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALREADYEXISTPARTYDeprecated.The party already existsALREADYINPARTYDeprecated.The player is already in a partyNOEXISTDeprecated.The party doesn't existNOPARTYDeprecated.The player isn't in a partyPARTYFULLDeprecated.The party is fullSUCCESSDeprecated.Action performed successfully
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static StatusvalueOf(String name)Deprecated.Returns the enum constant of this type with the specified name.static Status[]values()Deprecated.Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
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 Detail
-
values
public static Status[] values()
Deprecated.Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Status c : Status.values()) System.out.println(c);
- 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 nameNullPointerException- if the argument is null
-
-