Package cdc.impex.exports
Enum ExportIssueType
- java.lang.Object
-
- java.lang.Enum<ExportIssueType>
-
- cdc.impex.exports.ExportIssueType
-
- All Implemented Interfaces:
cdc.issues.IssueSeverityItem,Serializable,Comparable<ExportIssueType>
public enum ExportIssueType extends Enum<ExportIssueType> implements cdc.issues.IssueSeverityItem
-
-
Enum Constant Summary
Enum Constants Enum Constant Description APP_FAILUREThe application failed to execute the required action, for reasons such as:APP_INFOThe application sends an informative message.GENERATE_SHEETA sheet is being created.GENERATE_WORKBOOKA workbook is being created.GENERATED_SHEETA sheet has been created.GENERATED_WORKBOOKA workbook has been created.IGNORED_SHEETMISSING_MANDATORY_DATANo data for a mandatory column in a row.NON_COMPLIANT_DATAData is rejected by the checker.
The severity can be any ofIssueSeverity, as set byColumnTemplate.getCheckFailureSeverity().NON_CONVERTIBLE_DATAData can not be converted to expected declared data type.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description cdc.issues.IssueSeveritygetSeverity()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
-
GENERATE_WORKBOOK
public static final ExportIssueType GENERATE_WORKBOOK
A workbook is being created.
-
GENERATED_WORKBOOK
public static final ExportIssueType GENERATED_WORKBOOK
A workbook has been created.
-
GENERATE_SHEET
public static final ExportIssueType GENERATE_SHEET
A sheet is being created.
-
GENERATED_SHEET
public static final ExportIssueType GENERATED_SHEET
A sheet has been created.
-
IGNORED_SHEET
public static final ExportIssueType IGNORED_SHEET
-
MISSING_MANDATORY_DATA
public static final ExportIssueType MISSING_MANDATORY_DATA
No data for a mandatory column in a row.
-
NON_CONVERTIBLE_DATA
public static final ExportIssueType NON_CONVERTIBLE_DATA
Data can not be converted to expected declared data type.
-
NON_COMPLIANT_DATA
public static final ExportIssueType NON_COMPLIANT_DATA
Data is rejected by the checker.
The severity can be any ofIssueSeverity, as set byColumnTemplate.getCheckFailureSeverity().
-
APP_FAILURE
public static final ExportIssueType APP_FAILURE
The application failed to execute the required action, for reasons such as:
-
APP_INFO
public static final ExportIssueType APP_INFO
The application sends an informative message.
-
-
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
-
getSeverity
public cdc.issues.IssueSeverity getSeverity()
- Specified by:
getSeverityin interfacecdc.issues.IssueSeverityItem
-
-