com.atlassian.confluence.plugins.eaps
Class PrimitiveGlobalFeatureSwitch

java.lang.Object
  extended by com.atlassian.confluence.plugins.eaps.PrimitiveGlobalFeatureSwitch
All Implemented Interfaces:
org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean

public class PrimitiveGlobalFeatureSwitch
extends Object
implements org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean

Configurable global dark feature switch.

This implementation will ignore any conflicting, existing dark feature settings and just override them with the configured settings.


Constructor Summary
PrimitiveGlobalFeatureSwitch(DarkFeaturesManager darkFeaturesManager, Map<String,Boolean> globalDarkFeatures)
           
 
Method Summary
 void afterPropertiesSet()
           
 void destroy()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrimitiveGlobalFeatureSwitch

public PrimitiveGlobalFeatureSwitch(DarkFeaturesManager darkFeaturesManager,
                                    Map<String,Boolean> globalDarkFeatures)
Method Detail

afterPropertiesSet

public void afterPropertiesSet()
                        throws Exception
Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
Throws:
Exception

destroy

public void destroy()
             throws Exception
Specified by:
destroy in interface org.springframework.beans.factory.DisposableBean
Throws:
Exception


Copyright © 2003-2013 Atlassian. All Rights Reserved.