Enum Class DataImportService.ImportError

java.lang.Object
java.lang.Enum<DataImportService.ImportError>
com.atlassian.jira.bc.dataimport.DataImportService.ImportError
All Implemented Interfaces:
Serializable, Comparable<DataImportService.ImportError>, Constable
Enclosing interface:
DataImportService

public static enum DataImportService.ImportError extends Enum<DataImportService.ImportError>
Returned by the DataImportService.ImportResult from a call to DataImportService#doImport(com.atlassian.crowd.embedded.api.User, com.atlassian.jira.bc.dataimport.DataImportService.ImportValidationResult, TaskProgressSink)
  • Enum Constant Details

    • NONE

      public static final DataImportService.ImportError NONE
      No error happened.
    • FAILED_VALIDATION

      public static final DataImportService.ImportError FAILED_VALIDATION
      Some validation errors occurred.
    • UPGRADE_EXCEPTION

      public static final DataImportService.ImportError UPGRADE_EXCEPTION
      An error occurred when the data was being upgraded to the latest version.
    • CUSTOM_PATH_EXCEPTION

      public static final DataImportService.ImportError CUSTOM_PATH_EXCEPTION
      The index or attachment path provided by the data was not valid. Meaning it didn't exist or the directory was not writable.
    • DOWNGRADE_FROM_ONDEMAND

      public static final DataImportService.ImportError DOWNGRADE_FROM_ONDEMAND
      The data being imported is from a newer version of JIRA.
  • Method Details

    • values

      public static DataImportService.ImportError[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static DataImportService.ImportError valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null