Package com.massivecraft.factions.struct
Enum ChatMode
- java.lang.Object
-
- java.lang.Enum<ChatMode>
-
- com.massivecraft.factions.struct.ChatMode
-
-
Method Summary
Modifier and Type Method Description ChatMode
getNext()
boolean
isAtLeast(ChatMode role)
boolean
isAtMost(ChatMode role)
java.lang.String
toString()
static ChatMode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ChatMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Field Detail
-
value
public final int value
-
nicename
public final TL nicename
-
-
Method Detail
-
values
public static ChatMode[] values()
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 ChatMode valueOf(java.lang.String name)
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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
isAtLeast
public boolean isAtLeast(ChatMode role)
-
isAtMost
public boolean isAtMost(ChatMode role)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<ChatMode>
-
getNext
public ChatMode getNext()
-
-