@InterfaceAudience.Public @InterfaceStability.Unstable public class TimelineWriteResponse extends Object
TimelineEntity
objects is added to the timeline. If there are
errors in storing individual entity objects, they will be indicated in the
list of errors.Modifier and Type | Class and Description |
---|---|
static class |
TimelineWriteResponse.TimelineWriteError
A class that holds the error code for one entity.
|
Constructor and Description |
---|
TimelineWriteResponse() |
Modifier and Type | Method and Description |
---|---|
void |
addError(TimelineWriteResponse.TimelineWriteError error)
Add a single
TimelineWriteResponse.TimelineWriteError instance into the existing list. |
void |
addErrors(List<TimelineWriteResponse.TimelineWriteError> writeErrors)
Add a list of
TimelineWriteResponse.TimelineWriteError instances into the existing list. |
List<TimelineWriteResponse.TimelineWriteError> |
getErrors()
Get a list of
TimelineWriteResponse.TimelineWriteError instances. |
void |
setErrors(List<TimelineWriteResponse.TimelineWriteError> writeErrors)
Set the list to the given list of
TimelineWriteResponse.TimelineWriteError instances. |
public List<TimelineWriteResponse.TimelineWriteError> getErrors()
TimelineWriteResponse.TimelineWriteError
instances.TimelineWriteResponse.TimelineWriteError
instancespublic void addError(TimelineWriteResponse.TimelineWriteError error)
TimelineWriteResponse.TimelineWriteError
instance into the existing list.error
- a single TimelineWriteResponse.TimelineWriteError
instancepublic void addErrors(List<TimelineWriteResponse.TimelineWriteError> writeErrors)
TimelineWriteResponse.TimelineWriteError
instances into the existing list.writeErrors
- a list of TimelineWriteResponse.TimelineWriteError
instancespublic void setErrors(List<TimelineWriteResponse.TimelineWriteError> writeErrors)
TimelineWriteResponse.TimelineWriteError
instances.writeErrors
- a list of TimelineWriteResponse.TimelineWriteError
instancesCopyright © 2023 Apache Software Foundation. All rights reserved.