public class BatchResult
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected int[] |
failureIds |
protected CIMOperation[] |
operations |
protected int[] |
successIds |
Constructor and Description |
---|
BatchResult(java.lang.Object[] results)
Constructs an object of a BatchResult.
|
Modifier and Type | Method and Description |
---|---|
int[] |
getFailureIds()
Returns an array which contains the indexes of the operations that
failed.
|
java.lang.Object |
getResult(int operationID)
Returns the object produced by the specified batch operation.
|
int[] |
getSuccessIds()
Returns a list of the operation ID that were successfully completed.
|
protected CIMOperation[] operations
protected int[] failureIds
protected int[] successIds
public BatchResult(java.lang.Object[] results)
results
- An array of CIMOperationpublic int[] getFailureIds()
public java.lang.Object getResult(int operationID) throws CIMException
operationID
- CIMException
- a cim exception of the operation was not succesfully
completed.java.lang.IllegalArgumentException
- is an invalid operationID is passed.public int[] getSuccessIds()
Copyright © 2005, 2011 IBM Corporation. All Rights Reserved.