Class HistoryCleanupRestServiceImpl
- java.lang.Object
-
- org.camunda.bpm.engine.rest.impl.history.HistoryCleanupRestServiceImpl
-
- All Implemented Interfaces:
HistoryCleanupRestService
public class HistoryCleanupRestServiceImpl extends Object implements HistoryCleanupRestService
-
-
Field Summary
Fields Modifier and Type Field Description protected com.fasterxml.jackson.databind.ObjectMapper
objectMapper
protected ProcessEngine
processEngine
-
Fields inherited from interface org.camunda.bpm.engine.rest.history.HistoryCleanupRestService
PATH
-
-
Constructor Summary
Constructors Constructor Description HistoryCleanupRestServiceImpl(com.fasterxml.jackson.databind.ObjectMapper objectMapper, ProcessEngine processEngine)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JobDto
cleanupAsync(boolean immediatelyDue)
JobDto
findCleanupJob()
List<JobDto>
findCleanupJobs()
HistoryCleanupConfigurationDto
getHistoryCleanupConfiguration()
-
-
-
Field Detail
-
objectMapper
protected com.fasterxml.jackson.databind.ObjectMapper objectMapper
-
processEngine
protected ProcessEngine processEngine
-
-
Constructor Detail
-
HistoryCleanupRestServiceImpl
public HistoryCleanupRestServiceImpl(com.fasterxml.jackson.databind.ObjectMapper objectMapper, ProcessEngine processEngine)
-
-
Method Detail
-
cleanupAsync
public JobDto cleanupAsync(boolean immediatelyDue)
- Specified by:
cleanupAsync
in interfaceHistoryCleanupRestService
-
findCleanupJob
public JobDto findCleanupJob()
- Specified by:
findCleanupJob
in interfaceHistoryCleanupRestService
-
findCleanupJobs
public List<JobDto> findCleanupJobs()
- Specified by:
findCleanupJobs
in interfaceHistoryCleanupRestService
-
getHistoryCleanupConfiguration
public HistoryCleanupConfigurationDto getHistoryCleanupConfiguration()
- Specified by:
getHistoryCleanupConfiguration
in interfaceHistoryCleanupRestService
-
-