All Classes and Interfaces

Class
Description
An abstract activation strategy that is designed to support cases where the activation of a feature is driven based on the value of environmental/contextual properties.
An abstract activation strategy that is designed to support cases where a specific parameter contains comma-separated tokens that can be negated by prefixing the value with the NOT operator (!).
Contains information for a specific token including the token value and whether it has been negated.
Used to transform a given AbstractTokenizedActivationStrategy.Token value.
Allows to specify the activation parameters of the default activation strategy DefaultActivationStrategy.
This interface represents a custom strategy for deciding whether a feature is active or not.
Implementations of this interface are responsible for providing the activation strategies.
An implementation of FeatureGroup that based on annotations.
This SPI is used by Tooglz to lookup beans that are managed by bean containers like CDI or Spring.
FeatureManagerProvider that uses the BeanFinder SPI to lookup the FeatureManager.
Produces switching proxy implementations which delegate invocation to one of two objects depending on the state of the specified Feature.
Simple implementation of StateRepository which adds caching capabilities to an existing repository.
A feature provider that delegates to one or more other providers.
A StateRepository that is composed of one or more underlying repositories.
 
Provides a means to select from a collection of state repositories.
 
An advanced hash table supporting configurable garbage collection semantics of keys and values, optional referential-equality, full concurrency of retrievals, and adjustable expected concurrency for updates.
 
An option specifying which Java reference type should be used to refer to a key and/or value.
This implementation of FeatureManagerProvider stores one FeatureManager for each context class loader.
 
Allows to specify the default activation strategy if the StateRepository doesn't have any state saved for the feature.
Implementation of ActivationStrategyProvider that loads the strategies using the JDK ServiceLoader.
Default implementation of FeatureManager
This converter is able to convert string maps to simple strings and vice versa.
FeatureMetaData implementation that doesn't provide any information.
Dummy implementation of FeatureProvider that has no features.
Allows to specify that the annotated feature should be enabled by default if the StateRepository doesn't have any state saved.
Implementation of FeatureProvider that uses an Java enum to represent features.
Implementation of FeatureMetaData that looks for annotations like Label, EnabledByDefault and DefaultActivationStrategy on feature enums.
This interface represents a feature and is typically implemented by the feature enum.
Utility class to read annotation on feature enums.
Annotation used to define custom metadata attributes for features.
This class is typically used to obtain the FeatureManager from application code.
Identifies an annotation type as an feature group annotation
Represents a group of feature flags.
The FeatureManager is the central class in Togglz.
This class is used to automatically bootstrap a FeatureManager for Togglz which is the default behavior for simple web applications.
Implementations of this SPI will be notified when the FeatureManager is created and before it is shut down.
Implementation of ObjectFactory that creates a FeatureManager.
SPI used by FeatureContext to lookup the FeatureManager to use.
This map can be used to check whether features are active.
Metadata of a Feature.
Implementations of this interface are responsible for providing feature base data.
A InvocationHandler implementation that delegates invocation to one of two object depending on the state of the specified feature.
This class represents the state of a feature that is persisted by StateRepository implementations.
A listener for feature-state changes.
Wraps the state of a feature (minus the feature itself) to make it easier to store the state of a feature in a cache and then recreate the FeatureState later.
This interface represents a user for Togglz
A PropertyBasedStateRepository that stores the state of features using a standard Java properties file.
Activation strategy that enables features for a given percentage of users.
Custom feature attribute that allows to set a link for additional information regarding this feature.
A very simply implementation of StateRepository entirely on memory.
Provides utility methods for working with I/O streams.
This implementation supports looking up the current user the JAAS AccessControlContext.
This repository implementation can be used to store the feature state in SQL database using the standard JDBC API.
Builder for a JDBCStateRepository.
Implementation of FeatureManagerProvider that tries to look up a FeatureManager from JNDI using the name java:/comp/env/FeatureManager.
Allows to set a label for a feature.
A feature manager that delegates all calls to the manager obtained lazily via FeatureContext.getFeatureManager().
 
Simple implementation of StateRepository which adds logging capabilities to an existing repository.
 
Helper functions that can operate on any Object.
This class can be used if just the name of a feature is known but not the enum type.
This implementation of UserProvider can be used if user-dependent feature toggling isn't used at all.
Custom feature attribute that allows to set the name of a contact person.
A parameter used to configure an ActivationStrategy.
Fluent API for creating Parameter instances.
Static convenience methods that help a method or constructor check whether it was invoked correctly (whether its preconditions have been met).
This implementation of StateRepository stores the state of features in a Properties format.
Feature Metadata.
Implementation of FeatureProvider that reads all the feature specification from a Properties instance.
Manages a source of property-like values.
Provides a means to update the underlying store in a thread-safe manner.
 
 
Activation strategy that allows to activate features only for certain server IPs.
Helper class to lookup SPI implementations using the ServiceLoader.
Simple version of a FeatureGroup that gets all information in the constructor
Default implementation of FeatureUser.
A very simple implementation of UserProvider which always returns the supplied user.
This interface defines the contract for a class that stores the feature state.
Implementation of FeatureManagerProvider for Java SE applications.
 
ActivationStrategy based on a key value pair system property.
This implementation of FeatureManagerProvider allows to store the FeatureManager in a ThreadLocal for the current thread.
This implementation of UserProvider is very useful if authentication has been implemented using a servlet filter.
 
Implementations of this interface are looked up by Togglz during the bootstrapping process and used to create the FeatureManager for the application.
This interface represents the configuration of Togglz.
Simple switch which sets its delegate to one of two objects depending on the state of the specified Feature.
Activation strategy that allows to activate features only for certain users.
Implementations of this class a responsible to identify the current user acting in the application.
ActivationStrategy implementation based on roles of the current user.
Common methods for checking method contracts.
Common interface for classes that have different priorities.