org.camunda.bpm.engine.rest.impl
Class MetricsRestServiceImpl
java.lang.Object
org.camunda.bpm.engine.rest.spi.impl.AbstractProcessEngineAware
org.camunda.bpm.engine.rest.impl.AbstractRestProcessEngineAware
org.camunda.bpm.engine.rest.impl.MetricsRestServiceImpl
- All Implemented Interfaces:
- MetricsRestService
public class MetricsRestServiceImpl
- extends AbstractRestProcessEngineAware
- implements MetricsRestService
- Author:
- Daniel Meyer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QUERY_PARAM_NAME
public static final String QUERY_PARAM_NAME
- See Also:
- Constant Field Values
QUERY_PARAM_REPORTER
public static final String QUERY_PARAM_REPORTER
- See Also:
- Constant Field Values
QUERY_PARAM_START_DATE
public static final String QUERY_PARAM_START_DATE
- See Also:
- Constant Field Values
QUERY_PARAM_END_DATE
public static final String QUERY_PARAM_END_DATE
- See Also:
- Constant Field Values
QUERY_PARAM_FIRST_RESULT
public static final String QUERY_PARAM_FIRST_RESULT
- See Also:
- Constant Field Values
QUERY_PARAM_MAX_RESULTS
public static final String QUERY_PARAM_MAX_RESULTS
- See Also:
- Constant Field Values
QUERY_PARAM_INTERVAL
public static final String QUERY_PARAM_INTERVAL
- See Also:
- Constant Field Values
MetricsRestServiceImpl
public MetricsRestServiceImpl(String engineName,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
getMetrics
public MetricsResource getMetrics(String name)
- Specified by:
getMetrics in interface MetricsRestService
interval
public List<MetricsIntervalResultDto> interval(javax.ws.rs.core.UriInfo uriInfo)
- Specified by:
interval in interface MetricsRestService
applyQueryParams
protected void applyQueryParams(MetricsQuery query,
javax.ws.rs.core.MultivaluedMap<String,String> queryParameters)
convertToDtos
protected List<MetricsIntervalResultDto> convertToDtos(List<MetricIntervalValue> metrics)
Copyright © 2016 camunda services GmbH. All rights reserved.