Enum ImportIssueType

    • Enum Constant Detail

      • LOAD_WORKBOOK

        public static final ImportIssueType LOAD_WORKBOOK
        A workbook is being loaded.
      • LOADED_WORKBOOK

        public static final ImportIssueType LOADED_WORKBOOK
        A workbook has been loaded.
      • LOAD_SHEET

        public static final ImportIssueType LOAD_SHEET
        A sheet is being loaded.
      • LOADED_SHEET

        public static final ImportIssueType LOADED_SHEET
        A sheet has been loaded.
      • IGNORED_SHEET

        public static final ImportIssueType IGNORED_SHEET
        A sheet of the loaded workbook is ignored because there is no associated template.
      • NO_TEMPLATES

        public static final ImportIssueType NO_TEMPLATES
        No templates were passed, and nothing can be done.
      • TOO_MANY_TEMPLATES

        public static final ImportIssueType TOO_MANY_TEMPLATES
        Too many templates were passed with a XSV file.
      • UNEXPECTED_ERASE

        public static final ImportIssueType UNEXPECTED_ERASE
        A cell contains ERASE pattern and it should not.

        ERASE should only be used when action is ImportAction.UPDATE.
        It shall never be used with mandatory columns.

      • UNEXPECTED_DATA

        public static final ImportIssueType UNEXPECTED_DATA
        A cell contains data and it should not.
      • MISSING_MANDATORY_COLUMN

        public static final ImportIssueType MISSING_MANDATORY_COLUMN
        An always mandatory column is absent in sheet header.
      • MISSING_PARTIALLY_MANDATORY_COLUMN

        public static final ImportIssueType MISSING_PARTIALLY_MANDATORY_COLUMN
        A partially mandatory column is absent.
      • MISSING_OPTIONAL_COLUMN

        public static final ImportIssueType MISSING_OPTIONAL_COLUMN
        An optional column is absent.
      • MISSING_ACTION_COLUMN

        public static final ImportIssueType MISSING_ACTION_COLUMN
        The action column is absent.
        This disables all actions.
      • IGNORED_COLUMN

        public static final ImportIssueType IGNORED_COLUMN
        A column that is not declared in template has been found.
        It will be ignored.
      • MISSING_MANDATORY_DATA

        public static final ImportIssueType MISSING_MANDATORY_DATA
        No data for a mandatory column in a row.
      • NON_CONVERTIBLE_DATA

        public static final ImportIssueType NON_CONVERTIBLE_DATA
        Data can not be converted to expected declared data type.
      • IMPORT_CANCELLED

        public static final ImportIssueType IMPORT_CANCELLED
        The import was cancelled.
      • APP_INFO

        public static final ImportIssueType APP_INFO
        The application sends an informative message.
    • Method Detail

      • values

        public static ImportIssueType[] 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 (ImportIssueType c : ImportIssueType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ImportIssueType 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 name
        NullPointerException - if the argument is null
      • getSeverity

        public cdc.issues.IssueSeverity getSeverity()
        Specified by:
        getSeverity in interface cdc.issues.IssueSeverityItem