public static enum User.EnumFormatting extends Enum<User.EnumFormatting>
Enum Constant and Description |
---|
VALUE_MARKDOWN |
VALUE_PLAINTEXT |
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static User.EnumFormatting |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static User.EnumFormatting[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final User.EnumFormatting VALUE_MARKDOWN
public static final User.EnumFormatting VALUE_PLAINTEXT
public static User.EnumFormatting[] values()
for (User.EnumFormatting c : User.EnumFormatting.values()) System.out.println(c);
public static User.EnumFormatting 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 toString()
toString
in class Enum<User.EnumFormatting>
Copyright © 2020. All rights reserved.