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
- Enclosing interface:
- DataImportService
public static class DataImportService.ImportResult
- extends ServiceResultImpl
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getImportError
public DataImportService.ImportError getImportError()
getSpecificErrorMessage
public String getSpecificErrorMessage()
isValid
public boolean isValid()
- Specified by:
isValid
in interface ServiceResult
- Overrides:
isValid
in class ServiceResultImpl
- Returns:
- true if there are no errors, false otherwise.
getParams
public DataImportParams getParams()
Copyright © 2002-2011 Atlassian. All Rights Reserved.