Package com.atlassian.jira.bc.dataimport
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
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)
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe index or attachment path provided by the data was not valid.The data being imported is from a newer version of JIRA.Some validation errors occurred.No error happened.An error occurred when the data was being upgraded to the latest version. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static DataImportService.ImportError[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
No error happened. -
FAILED_VALIDATION
Some validation errors occurred. -
UPGRADE_EXCEPTION
An error occurred when the data was being upgraded to the latest version. -
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
The data being imported is from a newer version of JIRA.
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-