Enum ExcelTemplateConstants.Header
- java.lang.Object
-
- java.lang.Enum<ExcelTemplateConstants.Header>
-
- com.hybris.backoffice.excel.template.ExcelTemplateConstants.Header
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ExcelTemplateConstants.Header>
- Enclosing class:
- ExcelTemplateConstants
public static enum ExcelTemplateConstants.Header extends java.lang.Enum<ExcelTemplateConstants.Header>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DEFAULT_VALUEDISPLAY_NAMEREFERENCE_PATTERN
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetIndex()static ExcelTemplateConstants.HeadervalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ExcelTemplateConstants.Header[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DISPLAY_NAME
public static final ExcelTemplateConstants.Header DISPLAY_NAME
-
REFERENCE_PATTERN
public static final ExcelTemplateConstants.Header REFERENCE_PATTERN
-
DEFAULT_VALUE
public static final ExcelTemplateConstants.Header DEFAULT_VALUE
-
-
Method Detail
-
values
public static ExcelTemplateConstants.Header[] 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 (ExcelTemplateConstants.Header c : ExcelTemplateConstants.Header.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ExcelTemplateConstants.Header 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
-
getIndex
public int getIndex()
-
-