public class ImportExportResult extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ImportExportResult.ImportExportStatus
Status of an import or export operation.
|
Modifier and Type | Method and Description |
---|---|
Throwable |
getError()
Gets the error if the status is
ImportExportStatus.Error . |
List |
getFailedFiles()
Gets the list of filenames that were not imported or exported.
|
String |
getProblemPath()
Gets the path that caused a problem if the status is
ImportExportStatus.FileError . |
ImportExportResult.ImportExportStatus |
getStatus()
Gets the status of the import or export operation.
|
List |
getSuccessfulFiles()
Gets the list of filenames that were successfully imported or exported.
|
String |
toString() |
public ImportExportResult.ImportExportStatus getStatus()
public Throwable getError()
ImportExportStatus.Error
.null
if status is not
ImportExportStatus.Error
.public String getProblemPath()
ImportExportStatus.FileError
.null
if status is not
ImportExportStatus.FileError
.public List getSuccessfulFiles()
List<String>
of file names.public List getFailedFiles()
List<String>
of file names.