Package org.camunda.bpm.engine.rest.impl
Class MetricsRestServiceImpl
java.lang.Object
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
-
Field Summary
Modifier and TypeFieldDescriptionprotected final DateConverter
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
Fields inherited from class org.camunda.bpm.engine.rest.impl.AbstractRestProcessEngineAware
objectMapper, relativeRootResourcePath
Fields inherited from interface org.camunda.bpm.engine.rest.MetricsRestService
PATH
-
Constructor Summary
ConstructorDescriptionMetricsRestServiceImpl
(String engineName, com.fasterxml.jackson.databind.ObjectMapper objectMapper) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
applyQueryParams
(MetricsQuery query, jakarta.ws.rs.core.MultivaluedMap<String, String> queryParameters) protected List<MetricsIntervalResultDto>
convertToDtos
(List<MetricIntervalValue> metrics) jakarta.ws.rs.core.Response
deleteTaskMetrics
(String dateString) getMetrics
(String name) interval
(jakarta.ws.rs.core.UriInfo uriInfo) Methods inherited from class org.camunda.bpm.engine.rest.impl.AbstractRestProcessEngineAware
getObjectMapper, getProcessEngine, setRelativeRootResourceUri
-
Field Details
-
QUERY_PARAM_NAME
- See Also:
-
QUERY_PARAM_REPORTER
- See Also:
-
QUERY_PARAM_START_DATE
- See Also:
-
QUERY_PARAM_END_DATE
- See Also:
-
QUERY_PARAM_FIRST_RESULT
- See Also:
-
QUERY_PARAM_MAX_RESULTS
- See Also:
-
QUERY_PARAM_INTERVAL
- See Also:
-
QUERY_PARAM_DATE
- See Also:
-
QUERY_PARAM_AGG_BY_REPORTER
- See Also:
-
dateConverter
-
-
Constructor Details
-
MetricsRestServiceImpl
public MetricsRestServiceImpl(String engineName, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
-
Method Details
-
getMetrics
- Specified by:
getMetrics
in interfaceMetricsRestService
-
interval
- Specified by:
interval
in interfaceMetricsRestService
-
deleteTaskMetrics
- Specified by:
deleteTaskMetrics
in interfaceMetricsRestService
-
applyQueryParams
protected void applyQueryParams(MetricsQuery query, jakarta.ws.rs.core.MultivaluedMap<String, String> queryParameters) -
convertToDtos
-