com.atlassian.jira.gadgets.system
Class HeatMapResource
java.lang.Object
com.atlassian.jira.gadgets.system.AbstractResource
com.atlassian.jira.gadgets.system.SearchQueryBackedResource
com.atlassian.jira.gadgets.system.HeatMapResource
public class HeatMapResource
- extends SearchQueryBackedResource
REST endpoint to validate and retreive a Heat Map. Similar to the pie chart gadget
- Since:
- v4.0
Method Summary |
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HeatMapResource
public HeatMapResource(ChartUtils chartUtils,
JiraAuthenticationContext authenticationContext,
PermissionManager permissionManager,
StatisticTypesResource statisticTypesResource,
SearchService searchService,
VelocityRequestContextFactory velocityRequestContextFactory,
ConstantsManager constantsManager,
CustomFieldManager customFieldManager)
getHeatMap
public javax.ws.rs.core.Response getHeatMap(String queryString,
String statType)
- Generate a heat map and returns a simple bean containing all relievent information
- Parameters:
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
- Returns:
- a
HeatMapResource.HeatMap
if all params validated else a Collection of ValidationError
validateHeatMap
public javax.ws.rs.core.Response validateHeatMap(String queryString,
String statType)
- Ensures all parameters are valid for the heat map
- Parameters:
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
- Returns:
- a Collection of
ValidationError
. Or empty list if no
errors.
Copyright © 2002-2012 Atlassian. All Rights Reserved.