Package de.xima.fc.importer.project
Enum TenantResourceImportSpec.ImportAction
- java.lang.Object
-
- java.lang.Enum<TenantResourceImportSpec.ImportAction>
-
- de.xima.fc.importer.project.TenantResourceImportSpec.ImportAction
-
- All Implemented Interfaces:
Serializable,Comparable<TenantResourceImportSpec.ImportAction>
- Enclosing class:
- TenantResourceImportSpec
public static enum TenantResourceImportSpec.ImportAction extends Enum<TenantResourceImportSpec.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 TenantResourceImportSpec.ImportActionvalueOf(String name)Returns the enum constant of this type with the specified name.static TenantResourceImportSpec.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 TenantResourceImportSpec.ImportAction SKIP
-
CREATE_NEW
public static final TenantResourceImportSpec.ImportAction CREATE_NEW
-
OVERWRITE_EXISTING
public static final TenantResourceImportSpec.ImportAction OVERWRITE_EXISTING
-
USE_EXISTING
public static final TenantResourceImportSpec.ImportAction USE_EXISTING
-
-
Method Detail
-
values
public static TenantResourceImportSpec.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 (TenantResourceImportSpec.ImportAction c : TenantResourceImportSpec.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 TenantResourceImportSpec.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
-
-