Package javax.wbem.client
Class EnumerateResponse<E>
- java.lang.Object
-
- javax.wbem.client.EnumerateResponse<E>
-
- Type Parameters:
E
- Type parameter.
public class EnumerateResponse<E> extends java.lang.Object
This class is a container that stores the information from a Pull request.
-
-
Constructor Summary
Constructors Constructor Description EnumerateResponse(java.lang.String pContext, CloseableIterator<E> pResponses, boolean pEnd)
Creates anEnumerateResponse
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getContext()
Get the context that can be used for a subsequent pull request.CloseableIterator<E>
getResponses()
Get theCloseableIterator
for the returned CIM Elements.boolean
isEnd()
Iftrue
, there are no more elements to be returned.
-
-
-
Constructor Detail
-
EnumerateResponse
public EnumerateResponse(java.lang.String pContext, CloseableIterator<E> pResponses, boolean pEnd)
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
-true
if this is the last of the results;false
otherwise.
-
-
Method Detail
-
getContext
public java.lang.String getContext()
Get the context that can be used for a subsequent pull request.- Returns:
- The Enumeration Context returned from the server.
-
getResponses
public CloseableIterator<E> getResponses()
Get theCloseableIterator
for the returned CIM Elements.- Returns:
CloseableIterator
for the elements returned.
-
isEnd
public boolean isEnd()
Iftrue
, there are no more elements to be returned.- Returns:
true
if this is the last of the results;false
otherwise.
-
-