Class ExportCronJobResult
- java.lang.Object
-
- de.hybris.platform.servicelayer.impex.impl.ExportCronJobResult
-
- All Implemented Interfaces:
ExportResult
public class ExportCronJobResult extends java.lang.Object implements ExportResult
Implementation based on an export cronjob.- Since:
- 4.0
-
-
Constructor Summary
Constructors Constructor Description ExportCronJobResult(ImpExExportCronJobModel cronJob)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CronJobModelgetCronJob()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.
-
-
-
Constructor Detail
-
ExportCronJobResult
public ExportCronJobResult(ImpExExportCronJobModel cronJob)
-
-
Method Detail
-
getExport
public ExportModel getExport()
Description copied from interface:ExportResultGets an export object referencing exported data anad media.- Specified by:
getExportin interfaceExportResult- Returns:
- export result model
-
getExportedData
public ImpExMediaModel getExportedData()
Description copied from interface:ExportResultGets the media containing the exported csv files (backed by a zip-archive).- Specified by:
getExportedDatain interfaceExportResult- Returns:
- exported data
-
getExportedMedia
public ImpExMediaModel getExportedMedia()
Description copied from interface:ExportResultGets the media containing the exported media files (backed by a zip-archive).- Specified by:
getExportedMediain interfaceExportResult- Returns:
- exported media
-
isError
public boolean isError()
Description copied from interface:ExportResultGets whether the export was not successfully.- Specified by:
isErrorin interfaceExportResult- Returns:
- true if export was not successfully
-
isFinished
public boolean isFinished()
Description copied from interface:ExportResultGets whether the export is not running anymore.- Specified by:
isFinishedin interfaceExportResult- Returns:
- true if export is not running
-
isSuccessful
public boolean isSuccessful()
Description copied from interface:ExportResultGets whether the export was successfully.- Specified by:
isSuccessfulin interfaceExportResult- Returns:
- true if export was successfully
-
isRunning
public boolean isRunning()
Description copied from interface:ExportResultGets whether the export is still running.- Specified by:
isRunningin interfaceExportResult- Returns:
- true if export is still running
-
getCronJob
public CronJobModel getCronJob()
-
-