public final class SanityResponse extends CwsResponse
Returns a list of Data Objects, which have failed their sanity checks, i.e. the bytes stored which may somehow have been corrupted over time, so they no longer can be decrypted.
If the CircleId is given in the request, then the resulting list is limited to the records for the given Circle, same applies to the timestamp, since, which means that only newer record information is being retrieved.
For any system, having any results from request is considered a disaster, as the underlying data storage cannot be trusted.
Please see CwsResponse
for information about the result of the
processing.
Constructor and Description |
---|
SanityResponse()
Empty Constructor, to use if the setters are invoked.
|
SanityResponse(ReturnCode returnCode,
String returnMessage)
Error Constructor, used if an error occurred, and the request could not
complete successfully.
|
Modifier and Type | Method and Description |
---|---|
List<Sanity> |
getSanities() |
void |
setSanities(List<Sanity> sanities) |
getReturnCode, getReturnMessage, isOk, setReturnCode, setReturnMessage
public SanityResponse()
public SanityResponse(ReturnCode returnCode, String returnMessage)
returnCode
- The CWS Return CodereturnMessage
- The CWS Return MessageCopyright © 2019 JavaDog.io. All rights reserved.