com.atlassian.greenhopper.web.configuration
Class FeaturesResource

java.lang.Object
  extended by com.atlassian.greenhopper.web.AbstractResource
      extended by com.atlassian.greenhopper.web.configuration.FeaturesResource

public class FeaturesResource
extends AbstractResource

REST resource for managing the features within GreenHopper's configuration.


Field Summary
 
Fields inherited from class com.atlassian.greenhopper.web.AbstractResource
HTTP_HEADER_GREENHOPPER_GADGET, log
 
Constructor Summary
FeaturesResource(com.atlassian.jira.security.JiraAuthenticationContext jiraAuthenticationContext, com.atlassian.jira.security.PermissionManager permissionManager, GreenHopperSettingsService greenHopperSettingsService)
           
 
Method Summary
 javax.ws.rs.core.Response toggleReleasePlanningBetaFeature(com.atlassian.greenhopper.web.configuration.FeaturesResource.ToggleModel toggleModel)
           
 javax.ws.rs.core.Response toggleReportingBetaFeature(com.atlassian.greenhopper.web.configuration.FeaturesResource.ToggleModel toggleModel)
           
 
Methods inherited from class com.atlassian.greenhopper.web.AbstractResource
check, createErrorResponse, createFromServiceOutcome, createNoContentResponse, createOkResponse, createOkResponse, getUser, isGadgetRequest, nullSafe, response, wireAuthenticationContext, wireI18nFactoryService
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FeaturesResource

public FeaturesResource(com.atlassian.jira.security.JiraAuthenticationContext jiraAuthenticationContext,
                        com.atlassian.jira.security.PermissionManager permissionManager,
                        GreenHopperSettingsService greenHopperSettingsService)
Method Detail

toggleReportingBetaFeature

public javax.ws.rs.core.Response toggleReportingBetaFeature(com.atlassian.greenhopper.web.configuration.FeaturesResource.ToggleModel toggleModel)

toggleReleasePlanningBetaFeature

public javax.ws.rs.core.Response toggleReleasePlanningBetaFeature(com.atlassian.greenhopper.web.configuration.FeaturesResource.ToggleModel toggleModel)


Copyright © 2007-2014 Atlassian. All Rights Reserved.