Class DatabasePurgeReport

java.lang.Object
org.camunda.bpm.engine.impl.management.DatabasePurgeReport
All Implemented Interfaces:
PurgeReporting<Long>

public class DatabasePurgeReport extends Object implements PurgeReporting<Long>
Author:
Christopher Zell <christopher.zell@camunda.com>
  • Constructor Details

    • DatabasePurgeReport

      public DatabasePurgeReport()
  • Method Details

    • addPurgeInformation

      public void addPurgeInformation(String key, Long value)
      Description copied from interface: PurgeReporting
      Adds the key value pair as report information to the current purge report.
      Specified by:
      addPurgeInformation in interface PurgeReporting<Long>
      Parameters:
      key - the report key
      value - the report value
    • getPurgeReport

      public Map<String,Long> getPurgeReport()
      Description copied from interface: PurgeReporting
      Returns the current purge report.
      Specified by:
      getPurgeReport in interface PurgeReporting<Long>
      Returns:
      the purge report
    • getPurgeReportAsString

      public String getPurgeReportAsString()
      Description copied from interface: PurgeReporting
      Transforms and returns the purge report to a string.
      Specified by:
      getPurgeReportAsString in interface PurgeReporting<Long>
      Returns:
      the purge report as string
    • getReportValue

      public Long getReportValue(String key)
      Description copied from interface: PurgeReporting
      Returns the value for the given key.
      Specified by:
      getReportValue in interface PurgeReporting<Long>
      Parameters:
      key - the key which exist in the current report
      Returns:
      the corresponding value
    • containsReport

      public boolean containsReport(String key)
      Description copied from interface: PurgeReporting
      Returns true if the key is present in the current report.
      Specified by:
      containsReport in interface PurgeReporting<Long>
      Parameters:
      key - the key
      Returns:
      true if the key is present
    • isEmpty

      public boolean isEmpty()
      Description copied from interface: PurgeReporting
      Returns true if the report is empty.
      Specified by:
      isEmpty in interface PurgeReporting<Long>
      Returns:
      true if the report is empty, false otherwise
    • isDbContainsLicenseKey

      public boolean isDbContainsLicenseKey()
    • setDbContainsLicenseKey

      public void setDbContainsLicenseKey(boolean dbContainsLicenseKey)