public static enum Plugin.MainType extends java.lang.Enum<Plugin.MainType>
Enum Constant and Description |
---|
ANALYZE |
EXPORT |
IMPORT |
INTENSITY |
OTHER |
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
displayValue |
private int |
value |
private static java.util.Map<java.lang.Integer,Plugin.MainType> |
valueMapping
Maps an integer to a type.
|
Modifier and Type | Method and Description |
---|---|
static Plugin.MainType |
fromValue(int value) |
int |
getValue() |
java.lang.String |
toString() |
static Plugin.MainType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Plugin.MainType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Plugin.MainType IMPORT
public static final Plugin.MainType EXPORT
public static final Plugin.MainType INTENSITY
public static final Plugin.MainType ANALYZE
public static final Plugin.MainType OTHER
private static final java.util.Map<java.lang.Integer,Plugin.MainType> valueMapping
private final int value
private final java.lang.String displayValue
public static Plugin.MainType[] values()
for (Plugin.MainType c : Plugin.MainType.values()) System.out.println(c);
public static Plugin.MainType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static Plugin.MainType fromValue(int value)
public int getValue()
public java.lang.String toString()
toString
in class java.lang.Enum<Plugin.MainType>