public static enum DataImportService.ImportError extends Enum<DataImportService.ImportError>
DataImportService.ImportResult from a call to DataImportService#doImport(com.atlassian.crowd.embedded.api.User, com.atlassian.jira.bc.dataimport.DataImportService.ImportValidationResult, TaskProgressSink)| Enum Constant and Description |
|---|
CUSTOM_PATH_EXCEPTION
The index or attachment path provided by the data was not valid.
|
DOWNGRADE_FROM_ONDEMAND
The data being imported is from a newer version of JIRA.
|
FAILED_VALIDATION
Some validation errors occurred.
|
NONE
No error happened.
|
UPGRADE_EXCEPTION
An error occurred when the data was being upgraded to the latest version.
|
| Modifier and Type | Method and Description |
|---|---|
static DataImportService.ImportError |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DataImportService.ImportError[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DataImportService.ImportError NONE
public static final DataImportService.ImportError FAILED_VALIDATION
public static final DataImportService.ImportError UPGRADE_EXCEPTION
public static final DataImportService.ImportError CUSTOM_PATH_EXCEPTION
public static final DataImportService.ImportError DOWNGRADE_FROM_ONDEMAND
public static DataImportService.ImportError[] values()
for (DataImportService.ImportError c : DataImportService.ImportError.values()) System.out.println(c);
public static DataImportService.ImportError valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2002-2016 Atlassian. All Rights Reserved.