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