public class CachePurgeReport extends Object implements PurgeReporting<Set<String>>
Modifier and Type | Field and Description |
---|---|
static String |
BPMN_MODEL_INST_CACHE |
static String |
CASE_DEF_CACHE |
static String |
CASE_MODEL_INST_CACHE |
static String |
DMN_DEF_CACHE |
static String |
DMN_MODEL_INST_CACHE |
static String |
DMN_REQ_DEF_CACHE |
static String |
PROCESS_DEF_CACHE |
Constructor and Description |
---|
CachePurgeReport() |
Modifier and Type | Method and Description |
---|---|
void |
addPurgeInformation(String key,
Set<String> 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,Set<String>> |
getPurgeReport()
Returns the current purge report.
|
String |
getPurgeReportAsString()
Transforms and returns the purge report to a string.
|
Set<String> |
getReportValue(String key)
Returns the value for the given key.
|
boolean |
isEmpty()
Returns true if the report is empty.
|
public static final String PROCESS_DEF_CACHE
public static final String BPMN_MODEL_INST_CACHE
public static final String CASE_DEF_CACHE
public static final String CASE_MODEL_INST_CACHE
public static final String DMN_DEF_CACHE
public static final String DMN_REQ_DEF_CACHE
public static final String DMN_MODEL_INST_CACHE
public void addPurgeInformation(String key, Set<String> value)
PurgeReporting
addPurgeInformation
in interface PurgeReporting<Set<String>>
key
- the report keyvalue
- the report valuepublic Map<String,Set<String>> getPurgeReport()
PurgeReporting
getPurgeReport
in interface PurgeReporting<Set<String>>
public String getPurgeReportAsString()
PurgeReporting
getPurgeReportAsString
in interface PurgeReporting<Set<String>>
public Set<String> getReportValue(String key)
PurgeReporting
getReportValue
in interface PurgeReporting<Set<String>>
key
- the key which exist in the current reportpublic boolean containsReport(String key)
PurgeReporting
containsReport
in interface PurgeReporting<Set<String>>
key
- the keypublic boolean isEmpty()
PurgeReporting
isEmpty
in interface PurgeReporting<Set<String>>
Copyright © 2018. All rights reserved.