public class DatabasePurgeReport extends Object implements PurgeReporting<Long>
| Constructor and Description | 
|---|
| DatabasePurgeReport() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addPurgeInformation(String key,
                   Long value)Adds the key value pair as report information to the current purge report. | 
| boolean | containsReport(String key)Returns true if the key is present in the current report. | 
| Map<String,Long> | getPurgeReport()Returns the current purge report. | 
| String | getPurgeReportAsString()Transforms and returns the purge report to a string. | 
| Long | getReportValue(String key)Returns the value for the given key. | 
| boolean | isEmpty()Returns true if the report is empty. | 
public void addPurgeInformation(String key, Long value)
PurgeReportingaddPurgeInformation in interface PurgeReporting<Long>key - the report keyvalue - the report valuepublic Map<String,Long> getPurgeReport()
PurgeReportinggetPurgeReport in interface PurgeReporting<Long>public String getPurgeReportAsString()
PurgeReportinggetPurgeReportAsString in interface PurgeReporting<Long>public Long getReportValue(String key)
PurgeReportinggetReportValue in interface PurgeReporting<Long>key - the key which exist in the current reportpublic boolean containsReport(String key)
PurgeReportingcontainsReport in interface PurgeReporting<Long>key - the keypublic boolean isEmpty()
PurgeReportingisEmpty in interface PurgeReporting<Long>Copyright © 2018. All rights reserved.