public class BatchJobResultInfo extends IdEntityInfo implements BatchJobResult
| Constructor and Description |
|---|
BatchJobResultInfo() |
BatchJobResultInfo(BatchJobResult orig)
Copies batch job result
|
| Modifier and Type | Method and Description |
|---|---|
ContextInfo |
getContext()
The context under which this batch job was run
|
List<AttributeInfo> |
getGlobalResults()
Any global results of running the batch job
This may be a number or a count or a newly created id.
|
Integer |
getItemsExpected()
Number of items expected to be processed
|
Integer |
getItemsProcessed()
Number of items processed
Used to indicate the progress of the batch job
The batch job does not have to update this field every time it processes
a job it may decide to update it every 10 or 100 or 1000 items processed.
|
RichTextInfo |
getMessage()
Messages describing details of the status.
|
List<AttributeInfo> |
getParameters()
The parameters or options specified when the batch job was run
Note the list may be empty but it cannot be null
|
void |
setContext(ContextInfo context) |
void |
setGlobalResults(List<AttributeInfo> globalResults) |
void |
setItemsExpected(Integer itemsExpected) |
void |
setItemsProcessed(Integer itemsProcessed) |
void |
setMessage(RichTextInfo message) |
void |
setParameters(List<AttributeInfo> parameters) |
getId, setIdgetDescr, getName, setDescr, setNamegetState, getStateKey, getType, getTypeKey, setState, setStateKey, setType, setTypeKeygetMeta, setMetagetAttributes, getAttributeValue, getAttributeValueList, setAttributesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetType, getTypeKeygetState, getStateKeygetAttributespublic BatchJobResultInfo()
public BatchJobResultInfo(BatchJobResult orig)
public ContextInfo getContext()
BatchJobResultgetContext in interface BatchJobResultpublic void setContext(ContextInfo context)
public List<AttributeInfo> getGlobalResults()
BatchJobResultgetGlobalResults in interface BatchJobResultpublic void setGlobalResults(List<AttributeInfo> globalResults)
public List<AttributeInfo> getParameters()
BatchJobResultgetParameters in interface BatchJobResultpublic void setParameters(List<AttributeInfo> parameters)
public Integer getItemsProcessed()
BatchJobResultgetItemsProcessed in interface BatchJobResultpublic void setItemsProcessed(Integer itemsProcessed)
public Integer getItemsExpected()
BatchJobResultgetItemsExpected in interface BatchJobResultpublic void setItemsExpected(Integer itemsExpected)
public RichTextInfo getMessage()
BatchJobResultgetMessage in interface BatchJobResultpublic void setMessage(RichTextInfo message)
Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.