Class EnumerateResponse<E>
java.lang.Object
javax.wbem.client.EnumerateResponse<E>
- Type Parameters:
E- Type parameter.
This class is a container that stores the information from a Pull request.
-
Constructor Summary
ConstructorsConstructorDescriptionEnumerateResponse(String pContext, CloseableIterator<E> pResponses, boolean pEnd) Creates anEnumerateResponse. -
Method Summary
Modifier and TypeMethodDescriptionGet the context that can be used for a subsequent pull request.Get theCloseableIteratorfor the returned CIM Elements.booleanisEnd()Iftrue, there are no more elements to be returned.
-
Constructor Details
-
EnumerateResponse
Creates anEnumerateResponse.- Parameters:
pContext- The enumeration context returned. This will be used for any future calls for this particular enumeration.pResponses- The results of the operation.pEnd-trueif this is the last of the results;falseotherwise.
-
-
Method Details
-
getContext
Get the context that can be used for a subsequent pull request.- Returns:
- The Enumeration Context returned from the server.
-
getResponses
Get theCloseableIteratorfor the returned CIM Elements.- Returns:
CloseableIteratorfor the elements returned.
-
isEnd
public boolean isEnd()Iftrue, there are no more elements to be returned.- Returns:
trueif this is the last of the results;falseotherwise.
-