com.pyxis.greenhopper.gadget
Class WatchedFieldsResource

java.lang.Object
  extended by com.pyxis.greenhopper.gadget.AbstractGadgetResource
      extended by com.pyxis.greenhopper.gadget.WatchedFieldsResource

public class WatchedFieldsResource
extends AbstractGadgetResource

Generation and validation resource for the watched field dropdown in the configuration screen of the custom field burndown gadget.


Nested Class Summary
static class WatchedFieldsResource.WatchedFieldOption
           
static class WatchedFieldsResource.WatchedFields2
           
 
Field Summary
static java.lang.String PROJECT_ID
           
static java.lang.String PROJECT_PREFIX
           
static java.lang.String SHOW_SYSTEM
           
 
Constructor Summary
WatchedFieldsResource(com.atlassian.jira.project.ProjectManager projectManager, com.atlassian.jira.security.JiraAuthenticationContext authenticationContext, GreenHopperLicenseManager ghLicense, com.atlassian.jira.security.PermissionManager permissionManager, com.atlassian.jira.project.version.VersionManager versionManager)
           
 
Method Summary
 javax.ws.rs.core.Response generate(java.lang.String projectIdStr, boolean showSystem)
           
 
Methods inherited from class com.pyxis.greenhopper.gadget.AbstractGadgetResource
createErrorResponse, createIndexingUnavailableResponse, createOkResponse, createValidationResponse, response
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROJECT_ID

public static final java.lang.String PROJECT_ID
See Also:
Constant Field Values

SHOW_SYSTEM

public static final java.lang.String SHOW_SYSTEM
See Also:
Constant Field Values

PROJECT_PREFIX

public static final java.lang.String PROJECT_PREFIX
See Also:
Constant Field Values
Constructor Detail

WatchedFieldsResource

public WatchedFieldsResource(com.atlassian.jira.project.ProjectManager projectManager,
                             com.atlassian.jira.security.JiraAuthenticationContext authenticationContext,
                             GreenHopperLicenseManager ghLicense,
                             com.atlassian.jira.security.PermissionManager permissionManager,
                             com.atlassian.jira.project.version.VersionManager versionManager)
Method Detail

generate

public javax.ws.rs.core.Response generate(java.lang.String projectIdStr,
                                          boolean showSystem)


Copyright © 2007-2012 Atlassian. All Rights Reserved.