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
(javax.ws.rs.core.MultivaluedMap<String, String> queryParameters, DateConverter dateConverter, MetricsQuery query) protected Date
extractEndDate
(javax.ws.rs.core.MultivaluedMap<String, String> queryParameters, DateConverter dateConverter) protected Date
extractStartDate
(javax.ws.rs.core.MultivaluedMap<String, String> queryParameters, DateConverter dateConverter) sum
(javax.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(javax.ws.rs.core.MultivaluedMap<String, String> queryParameters, DateConverter dateConverter, MetricsQuery query) -
extractEndDate
protected Date extractEndDate(javax.ws.rs.core.MultivaluedMap<String, String> queryParameters, DateConverter dateConverter) -
extractStartDate
protected Date extractStartDate(javax.ws.rs.core.MultivaluedMap<String, String> queryParameters, DateConverter dateConverter)
-