| Modifier and Type | Method and Description |
|---|---|
protected int |
GradualActivationStrategy.calculateHashCode(FeatureUser user,
Feature feature) |
| Modifier and Type | Method and Description |
|---|---|
FeatureState |
LoggingStateRepository.getFeatureState(Feature feature) |
| Modifier and Type | Method and Description |
|---|---|
Class<? extends Feature> |
TogglzConfig.getFeatureClass()
Used to tell Togglz about the feature enum that you want to use.
|
Set<Feature> |
LazyResolvingFeatureManager.getFeatures() |
Set<Feature> |
EmptyFeatureProvider.getFeatures() |
Set<Feature> |
PropertyFeatureProvider.getFeatures() |
Set<Feature> |
FeatureManager.getFeatures()
Provides access to all features the manager is responsible for.
|
Set<Feature> |
CompositeFeatureProvider.getFeatures() |
Set<Feature> |
DefaultFeatureManager.getFeatures() |
Set<Feature> |
EnumBasedFeatureProvider.getFeatures() |
| Modifier and Type | Method and Description |
|---|---|
FeatureState |
LazyResolvingFeatureManager.getFeatureState(Feature feature) |
FeatureState |
FeatureManager.getFeatureState(Feature feature)
Returns the
FeatureState for the specified feature. |
FeatureState |
DefaultFeatureManager.getFeatureState(Feature feature) |
FeatureMetaData |
LazyResolvingFeatureManager.getMetaData(Feature feature) |
FeatureMetaData |
EmptyFeatureProvider.getMetaData(Feature feature) |
FeatureMetaData |
PropertyFeatureProvider.getMetaData(Feature feature) |
FeatureMetaData |
FeatureManager.getMetaData(Feature feature)
Returns the
FeatureMetaData describing the supplied feature. |
FeatureMetaData |
CompositeFeatureProvider.getMetaData(Feature feature) |
FeatureMetaData |
DefaultFeatureManager.getMetaData(Feature feature) |
FeatureMetaData |
EnumBasedFeatureProvider.getMetaData(Feature feature) |
boolean |
LazyResolvingFeatureManager.isActive(Feature feature) |
boolean |
FeatureManager.isActive(Feature feature)
Checks whether the supplied feature is active or not.
|
boolean |
DefaultFeatureManager.isActive(Feature feature) |
| Modifier and Type | Method and Description |
|---|---|
EnumBasedFeatureProvider |
EnumBasedFeatureProvider.addFeatureEnum(Class<? extends Feature> featureEnum) |
FeatureManagerBuilder |
FeatureManagerBuilder.featureClass(Class<? extends Feature> featureClass)
Deprecated.
|
FeatureManagerBuilder |
FeatureManagerBuilder.featureEnum(Class<? extends Feature> featureEnum)
Use the supplied feature enum class for the feature manager.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
SimpleFeatureGroup.contains(Feature feature) |
boolean |
FeatureGroup.contains(Feature feature) |
| Constructor and Description |
|---|
EmptyFeatureMetaData(Feature feature) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
AnnotationFeatureGroup.contains(Feature feature) |
| Constructor and Description |
|---|
EnumFeatureMetaData(Feature feature) |
| Constructor and Description |
|---|
PropertyFeatureMetaData(Feature feature,
String specification) |
| Modifier and Type | Method and Description |
|---|---|
Feature |
FeatureProxyInvocationHandler.getFeature() |
| Constructor and Description |
|---|
FeatureProxyInvocationHandler(Feature feature,
Object active,
Object inactive) |
FeatureProxyInvocationHandler(Feature feature,
Object active,
Object inactive,
FeatureManager featureManager) |
| Modifier and Type | Method and Description |
|---|---|
Feature |
FeatureState.getFeature()
Returns the feature represented by this feature state.
|
| Modifier and Type | Method and Description |
|---|---|
FeatureState |
StateRepository.getFeatureState(Feature feature)
Get the persisted state of a feature from the repository.
|
| Constructor and Description |
|---|
FeatureState(Feature feature)
This constructor creates a new feature state for the given feature.
|
FeatureState(Feature feature,
boolean enabled)
This constructor creates a new feature state for the given feature.
|
FeatureState(Feature feature,
boolean enabled,
List<String> users)
Deprecated.
This constructor will be removed soon. You should use
FeatureState.FeatureState(Feature, boolean) and
FeatureState.setParameter(String, String) instead. |
| Modifier and Type | Method and Description |
|---|---|
FeatureState |
CachingStateRepository.getFeatureState(Feature feature) |
| Modifier and Type | Method and Description |
|---|---|
FeatureState |
CompositeStateRepository.getFeatureState(Feature feature)
Returns the first non-null feature state as determined by the current iteration order.
|
| Modifier and Type | Method and Description |
|---|---|
FeatureState |
JDBCStateRepository.getFeatureState(Feature feature) |
| Modifier and Type | Method and Description |
|---|---|
FeatureState |
InMemoryStateRepository.getFeatureState(Feature feature) |
| Modifier and Type | Method and Description |
|---|---|
FeatureState |
PropertyBasedStateRepository.getFeatureState(Feature feature) |
| Modifier and Type | Method and Description |
|---|---|
Set<Feature> |
FeatureProvider.getFeatures()
Returns a list of all valid features, never
null. |
| Modifier and Type | Method and Description |
|---|---|
FeatureMetaData |
FeatureProvider.getMetaData(Feature feature)
Returns the
FeatureMetaData for the given feature. |
| Modifier and Type | Class and Description |
|---|---|
class |
NamedFeature
This class can be used if just the name of a feature is known but not the enum type.
|
class |
UntypedFeature
Deprecated.
Use
NamedFeature instead. |
| Modifier and Type | Method and Description |
|---|---|
static FeatureState |
FeatureStateStorageWrapper.featureStateForWrapper(Feature feature,
FeatureStateStorageWrapper wrapper) |
static <A extends Annotation> |
FeatureAnnotations.getAnnotation(Feature feature,
Class<A> annotationType) |
static Set<Annotation> |
FeatureAnnotations.getAnnotations(Feature feature) |
static String |
FeatureAnnotations.getInfoLink(Feature feature) |
static String |
FeatureAnnotations.getLabel(Feature feature) |
static String |
FeatureAnnotations.getOwner(Feature feature) |
static boolean |
FeatureAnnotations.isAnnotationPresent(Feature feature,
Class<? extends Annotation> annotationType) |
static boolean |
FeatureAnnotations.isEnabledByDefault(Feature feature) |
Copyright © 2018. All Rights Reserved.