public static enum FormImage.Type extends Enum<FormImage.Type>
| Modifier and Type | Method and Description |
|---|---|
static FormImage.Type |
getByName(String name) |
static FormImage.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FormImage.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@SerializedName(value="path") public static final FormImage.Type PATH
@SerializedName(value="url") public static final FormImage.Type URL
public static FormImage.Type[] values()
for (FormImage.Type c : FormImage.Type.values()) System.out.println(c);
public static FormImage.Type 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 static FormImage.Type getByName(String name)
Copyright © 2020 GeyserMC. All rights reserved.