public class IterateResult extends Result
Result.ErrorType
Modifier and Type | Field and Description |
---|---|
(package private) List<DocEntry> |
entries |
(package private) boolean |
isCompleted |
Constructor and Description |
---|
IterateResult(List<DocEntry> entries,
boolean isCompleted)
Creates a successful result.
|
IterateResult(Result.ErrorType type,
String message)
Creates a result with an error.
|
Modifier and Type | Method and Description |
---|---|
List<DocEntry> |
getEntries() |
boolean |
isCompleted() |
equals, equals, getErrorMessage, getErrorType, hasError, toString
public IterateResult(Result.ErrorType type, String message)
type
- The type of errormessage
- A human-readable error message to further detail the error.Copyright © 2017. All rights reserved.