public static enum Source.Type extends Enum<Source.Type>
| Enum Constant and Description |
|---|
ENTITY
Represents an
Entity source |
UNKNOWN
Represents an unknown source
|
| Modifier and Type | Method and Description |
|---|---|
static Source.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Source.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Source.Type ENTITY
Entity sourceEntitySourcepublic static final Source.Type UNKNOWN
public static Source.Type[] values()
for (Source.Type c : Source.Type.values()) System.out.println(c);
public static Source.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 null