Package cdc.impex.api.issues
Enum ExportIssueType
- java.lang.Object
-
- java.lang.Enum<ExportIssueType>
-
- cdc.impex.api.issues.ExportIssueType
-
- All Implemented Interfaces:
Serializable,Comparable<ExportIssueType>
public enum ExportIssueType extends Enum<ExportIssueType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BEGIN_SHEETA sheet is being created.
This is aIssueLevel.INFO.BEGIN_WORKBOOKA workbook is being created.
This is aIssueLevel.INFO.END_SHEETA sheet has been created.
This is aIssueLevel.INFO.END_WORKBOOKA workbook has been created.
This is aIssueLevel.INFO.MISSING_MANDATORY_DATANo data for a mandatory column in a row.
This is aIssueLevel.ERROR.NON_COMPLIANT_DATAData is rejected by the checker.
The severity can be any ofIssueLevel.INFO,IssueLevel.WARNING,IssueLevel.ERROR, orIssueLevel.FATAL.
It depends onColumnTemplate.getCheckFailureLevel().NON_CONVERTIBLE_DATAData can not be converted to expected declared data type.
This is aIssueLevel.FATAL.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ExportIssueTypevalueOf(String name)Returns the enum constant of this type with the specified name.static ExportIssueType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BEGIN_WORKBOOK
public static final ExportIssueType BEGIN_WORKBOOK
A workbook is being created.
This is aIssueLevel.INFO.
-
END_WORKBOOK
public static final ExportIssueType END_WORKBOOK
A workbook has been created.
This is aIssueLevel.INFO.
-
BEGIN_SHEET
public static final ExportIssueType BEGIN_SHEET
A sheet is being created.
This is aIssueLevel.INFO.
-
END_SHEET
public static final ExportIssueType END_SHEET
A sheet has been created.
This is aIssueLevel.INFO.
-
MISSING_MANDATORY_DATA
public static final ExportIssueType MISSING_MANDATORY_DATA
No data for a mandatory column in a row.
This is aIssueLevel.ERROR.
-
NON_CONVERTIBLE_DATA
public static final ExportIssueType NON_CONVERTIBLE_DATA
Data can not be converted to expected declared data type.
This is aIssueLevel.FATAL.
-
NON_COMPLIANT_DATA
public static final ExportIssueType NON_COMPLIANT_DATA
Data is rejected by the checker.
The severity can be any ofIssueLevel.INFO,IssueLevel.WARNING,IssueLevel.ERROR, orIssueLevel.FATAL.
It depends onColumnTemplate.getCheckFailureLevel().
-
-
Method Detail
-
values
public static ExportIssueType[] 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 (ExportIssueType c : ExportIssueType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ExportIssueType 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
-
-