public static class ErrorCollector.JSONErrorCollector extends Object implements ErrorCollector
ErrorCollector.BackgroundJobErrorCollector, ErrorCollector.JSONErrorCollector
Constructor and Description |
---|
JSONErrorCollector() |
Modifier and Type | Method and Description |
---|---|
void |
add(String error) |
void |
addAll(com.google.gson.JsonArray responseErrors) |
boolean |
isRetryCurrentWindowFlag() |
void |
setRetryCurrentWindowFlag() |
com.google.gson.JsonArray |
toJsonArray() |
public void add(String error)
add
in interface ErrorCollector
public com.google.gson.JsonArray toJsonArray()
public void addAll(com.google.gson.JsonArray responseErrors)
addAll
in interface ErrorCollector
public void setRetryCurrentWindowFlag()
setRetryCurrentWindowFlag
in interface ErrorCollector
public boolean isRetryCurrentWindowFlag()
isRetryCurrentWindowFlag
in interface ErrorCollector
Copyright © 2022 Requirement Yogi. All rights reserved.