All Classes
-
All Classes Interface Summary Class Summary Enum Summary Annotation Types Summary Class Description AbstractPropertyDrivenActivationStrategy 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.AbstractTokenizedActivationStrategy 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 (!).AbstractTokenizedActivationStrategy.Token Contains information for a specific token including the token value and whether it has been negated.AbstractTokenizedActivationStrategy.TokenTransformer Used to transform a givenAbstractTokenizedActivationStrategy.Tokenvalue.ActivationParameter Allows to specify the activation parameters of the default activation strategyDefaultActivationStrategy.ActivationStrategy This interface represents a custom strategy for deciding whether a feature is active or not.ActivationStrategyProvider Implementations of this interface are responsible for providing the activation strategies.AnnotationFeatureGroup An implementation ofFeatureGroupthat based on annotations.BeanFinder This SPI is used by Tooglz to lookup beans that are managed by bean containers like CDI or Spring.BeanFinderFeatureManagerProvider ByteBuddyProxyFactory Produces switching proxy implementations which delegate invocation to one of two objects depending on the state of the specifiedFeature.CachingStateRepository Simple implementation ofStateRepositorywhich adds caching capabilities to an existing repository.CompositeFeatureProvider A feature provider that delegates to one or more other providers.CompositeStateRepository AStateRepositorythat is composed of one or more underlying repositories.CompositeStateRepository.IterationOrder CompositeStateRepository.RepositorySelector Provides a means to select from a collection of state repositories.CompositeStateRepository.SetterSelection ConcurrentReferenceHashMap<K,V> 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.ConcurrentReferenceHashMap.Option ConcurrentReferenceHashMap.ReferenceType An option specifying which Java reference type should be used to refer to a key and/or value.ContextClassLoaderFeatureManagerProvider This implementation ofFeatureManagerProviderstores oneFeatureManagerfor each context class loader.DbUtils DefaultActivationStrategy Allows to specify the default activation strategy if theStateRepositorydoesn't have any state saved for the feature.DefaultActivationStrategyProvider Implementation ofActivationStrategyProviderthat loads the strategies using the JDKServiceLoader.DefaultFeatureManager Default implementation ofFeatureManagerDefaultMapSerializer This converter is able to convert string maps to simple strings and vice versa.EmptyFeatureMetaData FeatureMetaDataimplementation that doesn't provide any information.EmptyFeatureProvider Dummy implementation ofFeatureProviderthat has no features.EnabledByDefault Allows to specify that the annotated feature should be enabled by default if theStateRepositorydoesn't have any state saved.EnumBasedFeatureProvider Implementation ofFeatureProviderthat uses an Java enum to represent features.EnumFeatureMetaData Implementation ofFeatureMetaDatathat looks for annotations likeLabel,EnabledByDefaultandDefaultActivationStrategyon feature enums.Feature This interface represents a feature and is typically implemented by the feature enum.FeatureAnnotations Utility class to read annotation on feature enums.FeatureAttribute Annotation used to define custom metadata attributes for features.FeatureContext This class is typically used to obtain theFeatureManagerfrom application code.FeatureGroup Identifies an annotation type as an feature group annotationFeatureGroup Represents a group of feature flags.FeatureManager TheFeatureManageris the central class in Togglz.FeatureManagerBootstrapper This class is used to automatically bootstrap aFeatureManagerfor Togglz which is the default behavior for simple web applications.FeatureManagerBuilder Builder ofDefaultFeatureManager.FeatureManagerListener Implementations of this SPI will be notified when theFeatureManageris created and before it is shut down.FeatureManagerObjectFactory Implementation ofObjectFactorythat creates aFeatureManager.FeatureManagerProvider SPI used byFeatureContextto lookup theFeatureManagerto use.FeatureMap This map can be used to check whether features are active.FeatureMetaData Metadata of aFeature.FeatureProvider Implementations of this interface are responsible for providing feature base data.FeatureProxyInvocationHandler AInvocationHandlerimplementation that delegates invocation to one of two object depending on the state of the specified feature.FeatureState This class represents the state of a feature that is persisted byStateRepositoryimplementations.FeatureStateChangedListener A listener for feature-state changes.FeatureStateStorageWrapper 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.FeatureUser This interface represents a user for TogglzFileBasedStateRepository APropertyBasedStateRepositorythat stores the state of features using a standard Java properties file.GradualActivationStrategy Activation strategy that enables features for a given percentage of users.InfoLink Custom feature attribute that allows to set a link for additional information regarding this feature.InMemoryStateRepository A very simply implementation ofStateRepositoryentirely on memory.IOUtils Provides utility methods for working with I/O streams.JAASUserProvider This implementation supports looking up the current user the JAAS AccessControlContext.JDBCStateRepository This repository implementation can be used to store the feature state in SQL database using the standard JDBC API.JDBCStateRepository.Builder Builder for aJDBCStateRepository.JNDIFeatureManagerProvider Implementation ofFeatureManagerProviderthat tries to look up aFeatureManagerfrom JNDI using the namejava:/comp/env/FeatureManager.Label Allows to set a label for a feature.LazyResolvingFeatureManager A feature manager that delegates all calls to the manager obtained lazily viaFeatureContext.getFeatureManager().ListenableStateRepository LoggingStateRepository Simple implementation ofStateRepositorywhich adds logging capabilities to an existing repository.MapSerializer MoreObjects Helper functions that can operate on anyObject.MoreObjects.ToStringHelper Support class forMoreObjects.toStringHelper(java.lang.Object).NamedFeature This class can be used if just the name of a feature is known but not the enum type.NoOpUserProvider This implementation ofUserProvidercan be used if user-dependent feature toggling isn't used at all.Owner Custom feature attribute that allows to set the name of a contact person.Parameter A parameter used to configure anActivationStrategy.ParameterBuilder Fluent API for creatingParameterinstances.Preconditions Static convenience methods that help a method or constructor check whether it was invoked correctly (whether its preconditions have been met).PropertyBasedStateRepository This implementation ofStateRepositorystores the state of features in aPropertiesformat.PropertyFeatureMetaData Feature Metadata.PropertyFeatureProvider Implementation ofFeatureProviderthat reads all the feature specification from aPropertiesinstance.PropertySource Manages a source of property-like values.PropertySource.Editor Provides a means to update the underlying store in a thread-safe manner.ReleaseDateActivationStrategy ScriptEngineActivationStrategy ServerIpActivationStrategy Activation strategy that allows to activate features only for certain server IPs.Services Helper class to lookup SPI implementations using theServiceLoader.SimpleFeatureGroup Simple version of aFeatureGroupthat gets all information in the constructorSimpleFeatureUser Default implementation ofFeatureUser.SingleUserProvider A very simple implementation ofUserProviderwhich always returns the supplied user.StateRepository This interface defines the contract for a class that stores the feature state.StaticFeatureManagerProvider Implementation ofFeatureManagerProviderfor Java SE applications.Strings SystemPropertyActivationStrategy ActivationStrategy based on a key value pair system property.ThreadLocalFeatureManagerProvider This implementation ofFeatureManagerProviderallows to store theFeatureManagerin aThreadLocalfor the current thread.ThreadLocalUserProvider This implementation ofUserProvideris very useful if authentication has been implemented using a servlet filter.Togglz TogglzBootstrap Implementations of this interface are looked up by Togglz during the bootstrapping process and used to create the FeatureManager for the application.TogglzConfig This interface represents the configuration of Togglz.TogglzSwitchable<T> Simple switch which sets its delegate to one of two objects depending on the state of the specifiedFeature.UsernameActivationStrategy Activation strategy that allows to activate features only for certain users.UserProvider Implementations of this class a responsible to identify the current user acting in the application.UserRoleActivationStrategy ActivationStrategy implementation based on roles of the current user.Validate Common methods for checking method contracts.Weighted Common interface for classes that have different priorities.Weighted.WeightedComparator