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, setId
getDescr, getName, setDescr, setName
getState, getStateKey, getType, getTypeKey, setState, setStateKey, setType, setTypeKey
getMeta, setMeta
getAttributes, getAttributeValue, getAttributeValueList, setAttributes
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getType, getTypeKey
getState, getStateKey
getAttributes
public BatchJobResultInfo()
public BatchJobResultInfo(BatchJobResult orig)
public ContextInfo getContext()
BatchJobResult
getContext
in interface BatchJobResult
public void setContext(ContextInfo context)
public List<AttributeInfo> getGlobalResults()
BatchJobResult
getGlobalResults
in interface BatchJobResult
public void setGlobalResults(List<AttributeInfo> globalResults)
public List<AttributeInfo> getParameters()
BatchJobResult
getParameters
in interface BatchJobResult
public void setParameters(List<AttributeInfo> parameters)
public Integer getItemsProcessed()
BatchJobResult
getItemsProcessed
in interface BatchJobResult
public void setItemsProcessed(Integer itemsProcessed)
public Integer getItemsExpected()
BatchJobResult
getItemsExpected
in interface BatchJobResult
public void setItemsExpected(Integer itemsExpected)
public RichTextInfo getMessage()
BatchJobResult
getMessage
in interface BatchJobResult
public void setMessage(RichTextInfo message)
Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.