public class PipelineResultImpl extends java.lang.Object implements PipelineResult
An object which implements the PipelineResult interface. This is the default PipelineResultImpl object which is created by the PipelineManager when a chain is executed if no other PipelineResultImpl object is specified.
PipelineChain,
PipelineProcessor,
PipelineResult| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLASS_VERSION |
protected java.util.HashMap |
mErrors |
| Constructor and Description |
|---|
PipelineResultImpl()
Constructs a PipelineResult object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addError(java.lang.Object pKey,
java.lang.Object pError)
Adds an error object mapped to aKey.
|
void |
copyInto(PipelineResult pResult)
Copies the data from pResult to this.
|
java.lang.Object |
getError(java.lang.Object pKey)
Returns the object associated with aKey.
|
java.lang.Object[] |
getErrorKeys()
Returns an array of key objects which exist in the PipelineResult.
|
java.lang.Object[] |
getErrors()
Returns an array of error objects which exist in the PipelineResult.
|
boolean |
hasErrors()
Returns true if at least one error object exists, false otherwise.
|
void |
removeError(java.lang.Object pKey)
Removes the error object mapped to aKey from the PipelineResult.
|
public static java.lang.String CLASS_VERSION
protected java.util.HashMap mErrors
public PipelineResultImpl()
public java.lang.Object getError(java.lang.Object pKey)
getError in interface PipelineResultpublic void addError(java.lang.Object pKey,
java.lang.Object pError)
addError in interface PipelineResultpublic java.lang.Object[] getErrorKeys()
getErrorKeys in interface PipelineResultpublic java.lang.Object[] getErrors()
getErrors in interface PipelineResultpublic boolean hasErrors()
hasErrors in interface PipelineResultpublic void removeError(java.lang.Object pKey)
removeError in interface PipelineResultpublic void copyInto(PipelineResult pResult)
copyInto in interface PipelineResult