public class InProcessBatchProgressMonitor extends AbstractBatchProgressMonitor implements IBatchProgressMonitorExt
currentChildren, currentItem, done, endTime, executionId, itemCount, parent, rejectedItems, startTime, successItems, taskName, totalWork, workedUNKNOW| Constructor and Description |
|---|
InProcessBatchProgressMonitor(String executionId,
IBatch batch,
InProcessBatchManager manager)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Batch |
getBatch() |
Date |
getEndDate()
Returns end date is the task is finished, or an estimate if task is still
running.
|
Date |
getStartDate() |
protected IBatchProgressMonitor |
newInstance(int work) |
protected void |
onBatchEnd() |
void |
worked(int work)
Notify the processing of items.
|
beginTask, createSubTask, done, endBatch, endTask, fail, fail, getCurrentItem, getItemCount, getLastMessage, getLastUpdate, getLogger, getMainMonitor, getParentWork, getProgress, getRejectedItems, getTaskDescription, getTaskGroup, getTaskName, getTotalWork, getWritingDelay, isCancelRequested, isDone, isSuccess, message, reject, reject, reject, reject, setCurrentItem, setLogger, setTotalWork, setWritingDelay, touchclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetItemCount, getLastMessage, getProgress, getTotalWorkbeginTask, createSubTask, done, fail, fail, getLastUpdate, isCancelRequested, message, reject, reject, reject, reject, setCurrentItem, setLoggerpublic InProcessBatchProgressMonitor(String executionId, IBatch batch, InProcessBatchManager manager)
executionId - job execution idmanager - batch managerbatch - current batchpublic Batch getBatch()
getBatch in class AbstractBatchProgressMonitorpublic Date getEndDate()
AbstractBatchProgressMonitorgetEndDate in class AbstractBatchProgressMonitorpublic Date getStartDate()
getStartDate in class AbstractBatchProgressMonitorprotected IBatchProgressMonitor newInstance(int work)
newInstance in class AbstractBatchProgressMonitorprotected void onBatchEnd()
onBatchEnd in class AbstractBatchProgressMonitorpublic void worked(int work)
worked in interface IBatchProgressMonitorworked in class AbstractBatchProgressMonitorwork - items processedCopyright © 2010–2016. All rights reserved.