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 java.lang.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, java.util.Map<java.lang.String,java.lang.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,
                                    java.util.Map<java.lang.String,java.lang.Boolean> globalDarkFeatures)
Method Detail

afterPropertiesSet

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

destroy

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


Copyright © 2003-2014 Atlassian. All Rights Reserved.