Enum ExcelFileRequirementsImportSettings.ExcelRangeDeterminationMethod
- java.lang.Object
-
- java.lang.Enum<ExcelFileRequirementsImportSettings.ExcelRangeDeterminationMethod>
-
- com.piketec.tpt.api.requirements.excel.ExcelFileRequirementsImportSettings.ExcelRangeDeterminationMethod
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ExcelFileRequirementsImportSettings.ExcelRangeDeterminationMethod>
- Enclosing class:
- ExcelFileRequirementsImportSettings
public static enum ExcelFileRequirementsImportSettings.ExcelRangeDeterminationMethod extends java.lang.Enum<ExcelFileRequirementsImportSettings.ExcelRangeDeterminationMethod>
The choice for determining the range of cells within the sheet for the import.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUTO_ID_TOP_LEFT
Use the cells between the top-left most cell with name "ID" and the bottom-right most cell within the sheet for the import.AUTO_MAX
Use all cells within the sheet for the import.MANUAL
Use the cells within thegiven range
(which must not benull
).
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ExcelFileRequirementsImportSettings.ExcelRangeDeterminationMethod
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ExcelFileRequirementsImportSettings.ExcelRangeDeterminationMethod[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AUTO_MAX
public static final ExcelFileRequirementsImportSettings.ExcelRangeDeterminationMethod AUTO_MAX
Use all cells within the sheet for the import.
-
AUTO_ID_TOP_LEFT
public static final ExcelFileRequirementsImportSettings.ExcelRangeDeterminationMethod AUTO_ID_TOP_LEFT
Use the cells between the top-left most cell with name "ID" and the bottom-right most cell within the sheet for the import.
-
MANUAL
public static final ExcelFileRequirementsImportSettings.ExcelRangeDeterminationMethod MANUAL
Use the cells within thegiven range
(which must not benull
).
-
-
Method Detail
-
values
public static ExcelFileRequirementsImportSettings.ExcelRangeDeterminationMethod[] 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 (ExcelFileRequirementsImportSettings.ExcelRangeDeterminationMethod c : ExcelFileRequirementsImportSettings.ExcelRangeDeterminationMethod.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ExcelFileRequirementsImportSettings.ExcelRangeDeterminationMethod valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-