com.atlassian.jira.rest.internal
Class SiteDarkFeaturesResource

java.lang.Object
  extended by com.atlassian.jira.rest.internal.SiteDarkFeaturesResource

public class SiteDarkFeaturesResource
extends Object

REST resource for managing site-wide dark features.

Since:
5.2

Constructor Summary
SiteDarkFeaturesResource(FeatureManager featureManager)
           
 
Method Summary
 javax.ws.rs.core.Response get(String featureKey)
          Gets whether dark feature is enabled or disabled.
 javax.ws.rs.core.Response put(String featureKey, DarkFeaturePropertyBean darkFeaturePropertyBean)
          Enable or disable a dark feature via POST.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SiteDarkFeaturesResource

public SiteDarkFeaturesResource(FeatureManager featureManager)
Method Detail

get

public javax.ws.rs.core.Response get(String featureKey)
Gets whether dark feature is enabled or disabled.


put

public javax.ws.rs.core.Response put(String featureKey,
                                     DarkFeaturePropertyBean darkFeaturePropertyBean)
Enable or disable a dark feature via POST.



Copyright © 2002-2013 Atlassian. All Rights Reserved.