Class DatabasePurgeReport
java.lang.Object
org.camunda.bpm.engine.impl.management.DatabasePurgeReport
- All Implemented Interfaces:
PurgeReporting<Long>
- Author:
- Christopher Zell <christopher.zell@camunda.com>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddPurgeInformation(String key, Long value) Adds the key value pair as report information to the current purge report.booleancontainsReport(String key) Returns true if the key is present in the current report.Returns the current purge report.Transforms and returns the purge report to a string.getReportValue(String key) Returns the value for the given key.booleanbooleanisEmpty()Returns true if the report is empty.voidsetDbContainsLicenseKey(boolean dbContainsLicenseKey)
-
Constructor Details
-
DatabasePurgeReport
public DatabasePurgeReport()
-
-
Method Details
-
addPurgeInformation
Description copied from interface:PurgeReportingAdds the key value pair as report information to the current purge report.- Specified by:
addPurgeInformationin interfacePurgeReporting<Long>- Parameters:
key- the report keyvalue- the report value
-
getPurgeReport
Description copied from interface:PurgeReportingReturns the current purge report.- Specified by:
getPurgeReportin interfacePurgeReporting<Long>- Returns:
- the purge report
-
getPurgeReportAsString
Description copied from interface:PurgeReportingTransforms and returns the purge report to a string.- Specified by:
getPurgeReportAsStringin interfacePurgeReporting<Long>- Returns:
- the purge report as string
-
getReportValue
Description copied from interface:PurgeReportingReturns the value for the given key.- Specified by:
getReportValuein interfacePurgeReporting<Long>- Parameters:
key- the key which exist in the current report- Returns:
- the corresponding value
-
containsReport
Description copied from interface:PurgeReportingReturns true if the key is present in the current report.- Specified by:
containsReportin interfacePurgeReporting<Long>- Parameters:
key- the key- Returns:
- true if the key is present
-
isEmpty
public boolean isEmpty()Description copied from interface:PurgeReportingReturns true if the report is empty.- Specified by:
isEmptyin interfacePurgeReporting<Long>- Returns:
- true if the report is empty, false otherwise
-
isDbContainsLicenseKey
public boolean isDbContainsLicenseKey() -
setDbContainsLicenseKey
public void setDbContainsLicenseKey(boolean dbContainsLicenseKey)
-