public class MetricsResourceImpl extends Object implements MetricsResource
Modifier and Type | Field and Description |
---|---|
protected String |
metricsName |
protected com.fasterxml.jackson.databind.ObjectMapper |
objectMapper |
protected ProcessEngine |
processEngine |
Constructor and Description |
---|
MetricsResourceImpl(String metricsName,
ProcessEngine processEngine,
com.fasterxml.jackson.databind.ObjectMapper objectMapper) |
Modifier and Type | Method and Description |
---|---|
protected 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) |
MetricsResultDto |
sum(javax.ws.rs.core.UriInfo uriInfo) |
protected String metricsName
protected ProcessEngine processEngine
protected com.fasterxml.jackson.databind.ObjectMapper objectMapper
public MetricsResourceImpl(String metricsName, ProcessEngine processEngine, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
public MetricsResultDto sum(javax.ws.rs.core.UriInfo uriInfo)
sum
in interface MetricsResource
protected 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)
Copyright © 2022. All rights reserved.