Interface ExportResult
-
- All Known Implementing Classes:
ExportCronJobResult
public interface ExportResultRepresents a result of an export. Provides methods for getting the state and result of the export as well as methods for getting the exported data.- Since:
- 4.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ExportModelgetExport()Gets an export object referencing exported data anad media.ImpExMediaModelgetExportedData()Gets the media containing the exported csv files (backed by a zip-archive).ImpExMediaModelgetExportedMedia()Gets the media containing the exported media files (backed by a zip-archive).booleanisError()Gets whether the export was not successfully.booleanisFinished()Gets whether the export is not running anymore.booleanisRunning()Gets whether the export is still running.booleanisSuccessful()Gets whether the export was successfully.
-
-
-
Method Detail
-
isSuccessful
boolean isSuccessful()
Gets whether the export was successfully.- Returns:
- true if export was successfully
- Throws:
java.lang.IllegalStateException- in case export is still running.
-
isError
boolean isError()
Gets whether the export was not successfully.- Returns:
- true if export was not successfully
- Throws:
java.lang.IllegalStateException- in case export is still running.
-
isRunning
boolean isRunning()
Gets whether the export is still running.- Returns:
- true if export is still running
-
isFinished
boolean isFinished()
Gets whether the export is not running anymore.- Returns:
- true if export is not running
-
getExportedData
ImpExMediaModel getExportedData()
Gets the media containing the exported csv files (backed by a zip-archive).- Returns:
- exported data
-
getExportedMedia
ImpExMediaModel getExportedMedia()
Gets the media containing the exported media files (backed by a zip-archive).- Returns:
- exported media
-
getExport
ExportModel getExport()
Gets an export object referencing exported data anad media.- Returns:
- export result model
-
-