Class EmptyResult<T>
- java.lang.Object
-
- org.opennms.features.jest.client.bulk.EmptyResult<T>
-
- All Implemented Interfaces:
BulkResultWrapper<T>
public class EmptyResult<T> extends Object implements BulkResultWrapper<T>
-
-
Constructor Summary
Constructors Constructor Description EmptyResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getErrorMessage()
List<T>
getFailedDocuments()
List<FailedItem<T>>
getFailedItems()
io.searchbox.core.BulkResult
getRawResult()
boolean
isSucceeded()
-
-
-
Method Detail
-
isSucceeded
public boolean isSucceeded()
- Specified by:
isSucceeded
in interfaceBulkResultWrapper<T>
-
getErrorMessage
public String getErrorMessage()
- Specified by:
getErrorMessage
in interfaceBulkResultWrapper<T>
-
getFailedItems
public List<FailedItem<T>> getFailedItems()
- Specified by:
getFailedItems
in interfaceBulkResultWrapper<T>
-
getRawResult
public io.searchbox.core.BulkResult getRawResult()
- Specified by:
getRawResult
in interfaceBulkResultWrapper<T>
-
getFailedDocuments
public List<T> getFailedDocuments()
- Specified by:
getFailedDocuments
in interfaceBulkResultWrapper<T>
-
-