STATUS_FAILURE, STATUS_RUNNING, STATUS_SUCCESS, STATUS_ZOMBIE| Constructor and Description |
|---|
Batch(String uuid)
Creates a new Batch.
|
Batch(String uuid,
String name,
String group)
Creates a new Batch.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getCurrentItem()
Retrieve the current processed item.
|
String |
getCurrentTask()
Retrieve the current task.
|
Date |
getEndDate()
Retrieve the end date of the job execution.
|
String |
getGroup()
Getting the group of batch.
|
long |
getItemCount() |
String |
getLastMessage()
Retrieve the last messages.
|
Date |
getLastUpdate() |
String |
getName()
Getting the name of batch.
|
IBatchProgressMonitor |
getProgressMonitor() |
float |
getProgressStatus()
Retrieve the current progress status of the job execution.
|
List<String> |
getRejectedItemsId()
Return all the rejected items.
|
Date |
getStartDate()
Return the starting date of the job execution.
|
String |
getStatus()
Retrieve the status of the batch execution.
|
String |
getUuid()
Retrieve all the jobs execution monitored by this agent monitor.
|
boolean |
isSuccess() |
void |
setProgressMonitor(IBatchProgressMonitor monitor)
This method is not intended to be used directly.
|
void |
setZombieInterval(int zombieInterval) |
public Batch(String uuid)
This method is not intended to be used directly.
uuid - unique batch identifierpublic String getCurrentItem()
getCurrentItem in interface IBatchpublic String getCurrentTask()
getCurrentTask in interface IBatchpublic Date getEndDate()
IBatchgetEndDate in interface IBatchpublic String getGroup()
IBatchpublic long getItemCount()
getItemCount in interface IBatchpublic String getLastMessage()
IBatchgetLastMessage in interface IBatchpublic Date getLastUpdate()
getLastUpdate in interface IBatchpublic String getName()
IBatchpublic IBatchProgressMonitor getProgressMonitor()
public float getProgressStatus()
IBatchgetProgressStatus in interface IBatchpublic List<String> getRejectedItemsId()
IBatchgetRejectedItemsId in interface IBatchpublic Date getStartDate()
IBatchgetStartDate in interface IBatchpublic String getStatus()
IBatchpublic String getUuid()
IBatchpublic void setProgressMonitor(IBatchProgressMonitor monitor)
IBatchsetProgressMonitor in interface IBatchIBatch.setProgressMonitor(net.sf.appstatus.core.batch.IBatchProgressMonitor)public void setZombieInterval(int zombieInterval)
Copyright © 2010–2016. All rights reserved.