Enum Class UnlinkAccountCommand.Message
java.lang.Object
java.lang.Enum<UnlinkAccountCommand.Message>
org.geysermc.floodgate.core.command.UnlinkAccountCommand.Message
- All Implemented Interfaces:
Serializable,Comparable<UnlinkAccountCommand.Message>,Constable,TranslatableMessage
- Enclosing class:
- UnlinkAccountCommand
public static enum UnlinkAccountCommand.Message
extends Enum<UnlinkAccountCommand.Message>
implements TranslatableMessage
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionReturns the message attached to the enum identifierString[]Returns the parts of this message (getRawMessage() split on " ")static UnlinkAccountCommand.MessageReturns the enum constant of this class with the specified name.static UnlinkAccountCommand.Message[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface org.geysermc.floodgate.core.platform.command.TranslatableMessage
translateMessage
-
Enum Constant Details
-
NOT_LINKED
-
UNLINK_SUCCESS
-
UNLINK_ERROR
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getRawMessage
Description copied from interface:TranslatableMessageReturns the message attached to the enum identifier- Specified by:
getRawMessagein interfaceTranslatableMessage
-
getTranslateParts
Description copied from interface:TranslatableMessageReturns the parts of this message (getRawMessage() split on " ")- Specified by:
getTranslatePartsin interfaceTranslatableMessage
-