public class HeatMapResource extends SearchQueryBackedResource
Modifier and Type | Class and Description |
---|---|
static class |
HeatMapResource.DataRow |
static class |
HeatMapResource.HeatMap
A simple bean contain all information required to render the Heat Map
|
chartUtils, permissionManager, QUERY_STRING, searchService
Constructor and Description |
---|
HeatMapResource(ChartUtils chartUtils,
JiraAuthenticationContext authenticationContext,
PermissionManager permissionManager,
StatisticTypesProvider statisticTypesProvider,
SearchService searchService,
VelocityRequestContextFactory velocityRequestContextFactory,
CustomFieldManager customFieldManager) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
getHeatMap(String queryString,
String statType)
Generate a heat map and returns a simple bean containing all relievent information
|
javax.ws.rs.core.Response |
validateHeatMap(String queryString,
String statType)
Ensures all parameters are valid for the heat map
|
getFilterTitle, getFilterUrl, getSearchRequestAndValidate, validateSize
createErrorResponse, createIndexingUnavailableResponse, createValidationResponse
public HeatMapResource(ChartUtils chartUtils, JiraAuthenticationContext authenticationContext, PermissionManager permissionManager, StatisticTypesProvider statisticTypesProvider, SearchService searchService, VelocityRequestContextFactory velocityRequestContextFactory, CustomFieldManager customFieldManager)
public javax.ws.rs.core.Response getHeatMap(String queryString, String statType)
queryString
- a filter id (starts with "filter-") or project id (starts with "project-") or jql (starts with
"jql-")statType
- a valid statistic type. See StatisticTypesResource
HeatMapResource.HeatMap
if all params validated else a Collection of ValidationError
public javax.ws.rs.core.Response validateHeatMap(String queryString, String statType)
queryString
- a filter id (starts with "filter-") or project id (starts with "project-") or jql (starts with
"jql-")statType
- a valid statistic type. See StatisticTypesResource
ValidationError
. Or empty list if no
errors.Copyright © 2002-2022 Atlassian. All Rights Reserved.