com.atlassian.jira.gadgets.system
Class StatisticTypesResource
java.lang.Object
com.atlassian.jira.gadgets.system.StatisticTypesResource
public class StatisticTypesResource
- extends Object
REST resource for retreiving and validating Statistic Types.
- Since:
- v4.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COMPONENTS
public static final String COMPONENTS
- See Also:
- Constant Field Values
FIXFOR
public static final String FIXFOR
- See Also:
- Constant Field Values
ALLFIXFOR
public static final String ALLFIXFOR
- See Also:
- Constant Field Values
VERSION
public static final String VERSION
- See Also:
- Constant Field Values
ALLVERSION
public static final String ALLVERSION
- See Also:
- Constant Field Values
ASSIGNEES
public static final String ASSIGNEES
- See Also:
- Constant Field Values
ISSUETYPE
public static final String ISSUETYPE
- See Also:
- Constant Field Values
PRIORITIES
public static final String PRIORITIES
- See Also:
- Constant Field Values
PROJECT
public static final String PROJECT
- See Also:
- Constant Field Values
REPORTER
public static final String REPORTER
- See Also:
- Constant Field Values
RESOLUTION
public static final String RESOLUTION
- See Also:
- Constant Field Values
STATUSES
public static final String STATUSES
- See Also:
- Constant Field Values
LABELS
public static final String LABELS
- See Also:
- Constant Field Values
systemValues
protected static final Map<String,String> systemValues
StatisticTypesResource
public StatisticTypesResource(CustomFieldManager customFieldManager,
JiraAuthenticationContext authenticationContext)
getAxies
public javax.ws.rs.core.Response getAxies()
- Retreive all available Statistic Types in JIRA. Both System and Custom Fields.
- Returns:
- A collection key/value pairs
StatisticTypesResource.MapEntry
getDisplayName
public String getDisplayName(String field)
- Returns the display name for a field
- Parameters:
field
- The field to get the displayable name for
- Returns:
- A human consumable name for the field
getStatsMapper
public StatisticsMapper getStatsMapper(String statsMapperKey)
- Get the
StatisticsMapper
associated with passed key
- Parameters:
statsMapperKey
- The key for the statsmapper. Usually a customfield id, or one of the constants in this
class
- Returns:
- The StatisticsMapper associated with the passed in key.
Copyright © 2002-2012 Atlassian. All Rights Reserved.