Package com.atlassian.jira.bc.dataimport
Class DataImportService.ImportResult
java.lang.Object
com.atlassian.jira.bc.ServiceResultImpl
com.atlassian.jira.bc.dataimport.DataImportService.ImportResult
- All Implemented Interfaces:
ServiceResult
,Serializable
- Enclosing interface:
- DataImportService
public static class DataImportService.ImportResult
extends ServiceResultImpl
implements Serializable
Represents the result of performing an import. Clients should use the provided
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.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Methods inherited from class com.atlassian.jira.bc.ServiceResultImpl
getErrorCollection, getWarningCollection
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.atlassian.jira.bc.ServiceResult
hasWarnings
-
Method Details
-
getImportError
-
getSpecificErrorMessage
-
getValidationErrorMessages
-
isValid
public boolean isValid()- Specified by:
isValid
in interfaceServiceResult
- Overrides:
isValid
in classServiceResultImpl
- Returns:
- true if there are no errors, false otherwise.
-
getParams
-