net.sf.basedb.core.plugin
Enum Plugin.MainType
java.lang.Object
java.lang.Enum<Plugin.MainType>
net.sf.basedb.core.plugin.Plugin.MainType
- All Implemented Interfaces:
- Serializable, Comparable<Plugin.MainType>
- Enclosing interface:
- Plugin
public static enum Plugin.MainType
- extends Enum<Plugin.MainType>
IMPORT
public static final Plugin.MainType IMPORT
EXPORT
public static final Plugin.MainType EXPORT
INTENSITY
public static final Plugin.MainType INTENSITY
ANALYZE
public static final Plugin.MainType ANALYZE
OTHER
public static final Plugin.MainType OTHER
valueMapping
private static final Map<Integer,Plugin.MainType> valueMapping
- Maps an integer to a type.
value
private final int value
displayValue
private final String displayValue
values
public static Plugin.MainType[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (Plugin.MainType c : Plugin.MainType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Plugin.MainType valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
fromValue
public static Plugin.MainType fromValue(int value)
getValue
public int getValue()
toString
public String toString()
- Overrides:
toString
in class Enum<Plugin.MainType>