public class AsyncExportTaskSupport extends Object implements ExportSupport
| 构造器和说明 |
|---|
AsyncExportTaskSupport(IStorageService storageService,
TaskService taskService) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
close(ExportContext ctx) |
ExcelTask |
createTask(DataExportParam param)
创建任务
|
void |
onComplete(ExportContext ctx)
完成阶段
|
void |
onError(ExportContext ctx)
失败处理阶段
|
void |
onExport(ExportContext ctx)
导出阶段
|
void |
onWrite(Collection<?> dataList,
ExportContext ctx)
写文件阶段
|
public AsyncExportTaskSupport(IStorageService storageService, TaskService taskService)
public ExcelTask createTask(DataExportParam param)
ExportSupportcreateTask 在接口中 ExportSupportpublic void onExport(ExportContext ctx)
ExportSupportonExport 在接口中 ExportSupportpublic void onWrite(Collection<?> dataList, ExportContext ctx)
ExportSupportonWrite 在接口中 ExportSupportpublic void close(ExportContext ctx)
public void onComplete(ExportContext ctx)
ExportSupportonComplete 在接口中 ExportSupportpublic void onError(ExportContext ctx)
ExportSupportonError 在接口中 ExportSupportCopyright © 2022. All rights reserved.