public static class DataImportService.ImportResult extends ServiceResultImpl implements Serializable
DataImportService.ImportResult.Builder
to
construct an instance of this class. It contains a general collection of errors to display in the UI.
It can also return a more specific error message via the DataImportService.ImportError
to indicate a large problem during
the import which will result in JIRA being locked after the import.
Modifier and Type | Class and Description |
---|---|
static class |
DataImportService.ImportResult.Builder |
Modifier and Type | Method and Description |
---|---|
DataImportService.ImportError |
getImportError() |
DataImportParams |
getParams() |
String |
getSpecificErrorMessage() |
List<String> |
getValidationErrorMessages() |
boolean |
isValid() |
getErrorCollection, getWarningCollection
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
hasWarnings
public DataImportService.ImportError getImportError()
public String getSpecificErrorMessage()
public boolean isValid()
isValid
in interface ServiceResult
isValid
in class ServiceResultImpl
public DataImportParams getParams()
Copyright © 2002-2017 Atlassian. All Rights Reserved.