Package org.togglz.core.context
Class StaticFeatureManagerProvider
java.lang.Object
org.togglz.core.context.StaticFeatureManagerProvider
- All Implemented Interfaces:
FeatureManagerProvider,Weighted
Implementation of
FeatureManagerProvider for Java SE applications. To use it, create a FeatureManager using
the FeatureManagerBuilder and register it using setFeatureManager(FeatureManager).- Author:
- Christian Kaltepoth
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.togglz.core.util.Weighted
Weighted.WeightedComparator -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintpriority()Low priorities are processed first.static voidsetFeatureManager(FeatureManager featureManager) Sets theFeatureManagerthat the provider should return for calls togetFeatureManager().
-
Constructor Details
-
StaticFeatureManagerProvider
public StaticFeatureManagerProvider()
-
-
Method Details
-
priority
public int priority()Description copied from interface:WeightedLow priorities are processed first. -
getFeatureManager
- Specified by:
getFeatureManagerin interfaceFeatureManagerProvider
-
setFeatureManager
Sets theFeatureManagerthat the provider should return for calls togetFeatureManager().
-