public static enum UnlinkAccountCommand.Message extends Enum<UnlinkAccountCommand.Message> implements TranslatableMessage
| Enum Constant and Description |
|---|
NOT_LINKED |
UNLINK_ERROR |
UNLINK_SUCCESS |
| Modifier and Type | Method and Description |
|---|---|
String |
getRawMessage()
Returns the message attached to the enum identifier
|
String[] |
getTranslateParts()
Returns the parts of this message (getRawMessage() split on " ")
|
static UnlinkAccountCommand.Message |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UnlinkAccountCommand.Message[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOftranslateMessagepublic static final UnlinkAccountCommand.Message NOT_LINKED
public static final UnlinkAccountCommand.Message UNLINK_SUCCESS
public static final UnlinkAccountCommand.Message UNLINK_ERROR
public static UnlinkAccountCommand.Message[] values()
for (UnlinkAccountCommand.Message c : UnlinkAccountCommand.Message.values()) System.out.println(c);
public static UnlinkAccountCommand.Message valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getRawMessage()
TranslatableMessagegetRawMessage in interface TranslatableMessagepublic String[] getTranslateParts()
TranslatableMessagegetTranslateParts in interface TranslatableMessage