Class MetricsResourceImpl
java.lang.Object
org.camunda.bpm.engine.rest.sub.metrics.MetricsResourceImpl
- All Implemented Interfaces:
MetricsResource
- Author:
- Daniel Meyer
-
Field Summary
Modifier and TypeFieldDescriptionprotected String
protected com.fasterxml.jackson.databind.ObjectMapper
protected ProcessEngine
-
Constructor Summary
ConstructorDescriptionMetricsResourceImpl
(String metricsName, ProcessEngine processEngine, com.fasterxml.jackson.databind.ObjectMapper objectMapper) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
applyQueryParams
(jakarta.ws.rs.core.MultivaluedMap<String, String> queryParameters, DateConverter dateConverter, MetricsQuery query) protected Date
extractEndDate
(jakarta.ws.rs.core.MultivaluedMap<String, String> queryParameters, DateConverter dateConverter) protected Date
extractStartDate
(jakarta.ws.rs.core.MultivaluedMap<String, String> queryParameters, DateConverter dateConverter) sum
(jakarta.ws.rs.core.UriInfo uriInfo)
-
Field Details
-
metricsName
-
processEngine
-
objectMapper
protected com.fasterxml.jackson.databind.ObjectMapper objectMapper
-
-
Constructor Details
-
MetricsResourceImpl
public MetricsResourceImpl(String metricsName, ProcessEngine processEngine, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
-
Method Details
-
sum
- Specified by:
sum
in interfaceMetricsResource
-
applyQueryParams
protected void applyQueryParams(jakarta.ws.rs.core.MultivaluedMap<String, String> queryParameters, DateConverter dateConverter, MetricsQuery query) -
extractEndDate
protected Date extractEndDate(jakarta.ws.rs.core.MultivaluedMap<String, String> queryParameters, DateConverter dateConverter) -
extractStartDate
protected Date extractStartDate(jakarta.ws.rs.core.MultivaluedMap<String, String> queryParameters, DateConverter dateConverter)
-