public enum ImportMode extends java.lang.Enum<ImportMode>
Enum Constant and Description |
---|
IMPORT_WITHOUT_TAGS |
NO_IMPORT |
Modifier and Type | Method and Description |
---|---|
static ImportMode |
fromString(java.lang.String key) |
java.lang.String |
getDescription() |
java.lang.String |
getKey() |
static ImportMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ImportMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ImportMode NO_IMPORT
public static final ImportMode IMPORT_WITHOUT_TAGS
public static ImportMode[] values()
for (ImportMode c : ImportMode.values()) System.out.println(c);
public static ImportMode 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 java.lang.String getKey()
public java.lang.String getDescription()
public static ImportMode fromString(java.lang.String key)