Package de.xima.fc.importer.project
Enum PromptQueryImportSpec.ImportAction
- java.lang.Object
-
- java.lang.Enum<PromptQueryImportSpec.ImportAction>
-
- de.xima.fc.importer.project.PromptQueryImportSpec.ImportAction
-
- All Implemented Interfaces:
Serializable,Comparable<PromptQueryImportSpec.ImportAction>
- Enclosing class:
- PromptQueryImportSpec
public static enum PromptQueryImportSpec.ImportAction extends Enum<PromptQueryImportSpec.ImportAction>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CREATE_NEWOVERWRITE_EXISTINGSKIPUSE_EXISTING
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDisplayName(Locale locale)static PromptQueryImportSpec.ImportActionvalueOf(String name)Returns the enum constant of this type with the specified name.static PromptQueryImportSpec.ImportAction[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SKIP
public static final PromptQueryImportSpec.ImportAction SKIP
-
CREATE_NEW
public static final PromptQueryImportSpec.ImportAction CREATE_NEW
-
OVERWRITE_EXISTING
public static final PromptQueryImportSpec.ImportAction OVERWRITE_EXISTING
-
USE_EXISTING
public static final PromptQueryImportSpec.ImportAction USE_EXISTING
-
-
Method Detail
-
values
public static PromptQueryImportSpec.ImportAction[] 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 (PromptQueryImportSpec.ImportAction c : PromptQueryImportSpec.ImportAction.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PromptQueryImportSpec.ImportAction 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 nameNullPointerException- if the argument is null
-
-