Index

A B C D E F G H I J K L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

AbstractPropertyDrivenActivationStrategy - Class in org.togglz.core.activation
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.
AbstractPropertyDrivenActivationStrategy() - Constructor for class org.togglz.core.activation.AbstractPropertyDrivenActivationStrategy
 
AbstractTokenizedActivationStrategy - Class in org.togglz.core.activation
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() - Constructor for class org.togglz.core.activation.AbstractTokenizedActivationStrategy
 
AbstractTokenizedActivationStrategy.Token - Class in org.togglz.core.activation
Contains information for a specific token including the token value and whether it has been negated.
AbstractTokenizedActivationStrategy.TokenTransformer - Interface in org.togglz.core.activation
Used to transform a given AbstractTokenizedActivationStrategy.Token value.
ActivationParameter - Annotation Interface in org.togglz.core.annotation
Allows to specify the activation parameters of the default activation strategy DefaultActivationStrategy.
activationStrategy(ActivationStrategy) - Method in class org.togglz.core.manager.FeatureManagerBuilder
Adds an additional ActivationStrategy to the current ActivationStrategyProvider.
ActivationStrategy - Interface in org.togglz.core.spi
This interface represents a custom strategy for deciding whether a feature is active or not.
activationStrategyProvider(ActivationStrategyProvider) - Method in class org.togglz.core.manager.FeatureManagerBuilder
Use the supplied ActivationStrategyProvider for the activation strategies;
ActivationStrategyProvider - Interface in org.togglz.core.activation
Implementations of this interface are responsible for providing the activation strategies.
add(String, boolean) - Method in class org.togglz.core.util.MoreObjects.ToStringHelper
Adds a name/value pair to the formatted output in name=value format.
add(String, char) - Method in class org.togglz.core.util.MoreObjects.ToStringHelper
Adds a name/value pair to the formatted output in name=value format.
add(String, double) - Method in class org.togglz.core.util.MoreObjects.ToStringHelper
Adds a name/value pair to the formatted output in name=value format.
add(String, float) - Method in class org.togglz.core.util.MoreObjects.ToStringHelper
Adds a name/value pair to the formatted output in name=value format.
add(String, int) - Method in class org.togglz.core.util.MoreObjects.ToStringHelper
Adds a name/value pair to the formatted output in name=value format.
add(String, long) - Method in class org.togglz.core.util.MoreObjects.ToStringHelper
Adds a name/value pair to the formatted output in name=value format.
add(String, Object) - Method in class org.togglz.core.util.MoreObjects.ToStringHelper
Adds a name/value pair to the formatted output in name=value format.
addActivationStrategies(List<ActivationStrategy>) - Method in class org.togglz.core.activation.DefaultActivationStrategyProvider
 
addActivationStrategy(ActivationStrategy) - Method in class org.togglz.core.activation.DefaultActivationStrategyProvider
 
addFeatureEnum(Class<? extends Feature>) - Method in class org.togglz.core.manager.EnumBasedFeatureProvider
 
addFeatureStateChangedListener(FeatureStateChangedListener) - Method in class org.togglz.core.repository.listener.ListenableStateRepository
 
afterSchemaMigration(Connection) - Method in class org.togglz.core.repository.jdbc.JDBCStateRepository
Method called after the database schema migration has been performed.
ALL - Enum constant in enum class org.togglz.core.repository.composite.CompositeStateRepository.SetterSelection
Use all repositories in this composite to set the state.
annotationAttribute() - Element in annotation interface org.togglz.core.annotation.FeatureAttribute
The name of the method to call on the annotation to retrieve the value of the attribute.
AnnotationFeatureGroup - Class in org.togglz.core.metadata.enums
An implementation of FeatureGroup that based on annotations.

B

BeanFinder - Interface in org.togglz.core.spi
This SPI is used by Tooglz to lookup beans that are managed by bean containers like CDI or Spring.
BeanFinderFeatureManagerProvider - Class in org.togglz.core.context
FeatureManagerProvider that uses the BeanFinder SPI to lookup the FeatureManager.
BeanFinderFeatureManagerProvider() - Constructor for class org.togglz.core.context.BeanFinderFeatureManagerProvider
 
beforeSchemaMigration(Connection) - Method in class org.togglz.core.repository.jdbc.JDBCStateRepository
Method called before the database schema migration is performed.
begin() - Static method in class org.togglz.core.manager.FeatureManagerBuilder
Create a new builder
bind(FeatureManager) - Static method in class org.togglz.core.context.ContextClassLoaderFeatureManagerProvider
Binds the FeatureManager to the current context class loader .
bind(FeatureManager) - Static method in class org.togglz.core.context.ThreadLocalFeatureManagerProvider
Store the supplied FeatureManager in the thread context.
bind(FeatureUser) - Static method in class org.togglz.core.user.thread.ThreadLocalUserProvider
Store the supplied FeatureUser in the thread context.
build() - Method in class org.togglz.core.manager.FeatureManagerBuilder
Create the FeatureManager using the current configuration of the builder
build() - Method in class org.togglz.core.repository.jdbc.JDBCStateRepository.Builder
Creates a JDBCStateRepository from the current configuration
build(Class<? extends Annotation>) - Static method in class org.togglz.core.metadata.enums.AnnotationFeatureGroup
 
Builder(DataSource) - Constructor for class org.togglz.core.repository.jdbc.JDBCStateRepository.Builder
Creates a new builder for creating a JDBCStateRepository.
ByteBuddyProxyFactory - Class in org.togglz.core.proxy
Produces switching proxy implementations which delegate invocation to one of two objects depending on the state of the specified Feature.
ByteBuddyProxyFactory() - Constructor for class org.togglz.core.proxy.ByteBuddyProxyFactory
 

C

CachingStateRepository - Class in org.togglz.core.repository.cache
Simple implementation of StateRepository which adds caching capabilities to an existing repository.
CachingStateRepository(StateRepository) - Constructor for class org.togglz.core.repository.cache.CachingStateRepository
Creates a caching facade for the supplied StateRepository.
CachingStateRepository(StateRepository, long) - Constructor for class org.togglz.core.repository.cache.CachingStateRepository
Creates a caching facade for the supplied StateRepository.
CachingStateRepository(StateRepository, long, TimeUnit) - Constructor for class org.togglz.core.repository.cache.CachingStateRepository
Creates a caching facade for the supplied StateRepository.
calculateHashCode(FeatureUser, Feature) - Method in class org.togglz.core.activation.GradualActivationStrategy
 
checkArgument(boolean) - Static method in class org.togglz.core.util.Preconditions
Ensures the truth of an expression involving one or more parameters to the calling method.
checkArgument(boolean, Object) - Static method in class org.togglz.core.util.Preconditions
Ensures the truth of an expression involving one or more parameters to the calling method.
checkArgument(boolean, String, Object...) - Static method in class org.togglz.core.util.Preconditions
Ensures the truth of an expression involving one or more parameters to the calling method.
checkNotNull(T) - Static method in class org.togglz.core.util.Preconditions
Ensures that an object reference passed as a parameter to the calling method is not null.
checkNotNull(T, Object) - Static method in class org.togglz.core.util.Preconditions
Ensures that an object reference passed as a parameter to the calling method is not null.
checkNotNull(T, String, Object...) - Static method in class org.togglz.core.util.Preconditions
Ensures that an object reference passed as a parameter to the calling method is not null.
checkState(boolean) - Static method in class org.togglz.core.util.Preconditions
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
checkTogglzState() - Method in class org.togglz.core.proxy.TogglzSwitchable
Updates the internal delegate selection against the Feature state.
clear() - Method in class org.togglz.core.repository.cache.CachingStateRepository
Clears the contents of the cache
clear() - Method in class org.togglz.core.util.ConcurrentReferenceHashMap
Removes all of the mappings from this map.
clear() - Method in class org.togglz.core.util.FeatureMap
 
clearCache() - Static method in class org.togglz.core.context.FeatureContext
 
close(InputStream) - Static method in class org.togglz.core.util.IOUtils
 
closeQuietly(Connection) - Static method in class org.togglz.core.util.DbUtils
 
closeQuietly(ResultSet) - Static method in class org.togglz.core.util.DbUtils
 
closeQuietly(Statement) - Static method in class org.togglz.core.util.DbUtils
 
commit() - Method in interface org.togglz.core.repository.property.PropertySource.Editor
Saves all changes to the underlying store.
compare(Weighted, Weighted) - Method in class org.togglz.core.util.Weighted.WeightedComparator
 
CompositeFeatureProvider - Class in org.togglz.core.manager
A feature provider that delegates to one or more other providers.
CompositeFeatureProvider(List<FeatureProvider>) - Constructor for class org.togglz.core.manager.CompositeFeatureProvider
 
CompositeFeatureProvider(FeatureProvider...) - Constructor for class org.togglz.core.manager.CompositeFeatureProvider
 
CompositeStateRepository - Class in org.togglz.core.repository.composite
A StateRepository that is composed of one or more underlying repositories.
CompositeStateRepository(StateRepository...) - Constructor for class org.togglz.core.repository.composite.CompositeStateRepository
Creates a composite state repository using the specified underlying state repositories.
CompositeStateRepository.IterationOrder - Enum Class in org.togglz.core.repository.composite
 
CompositeStateRepository.RepositorySelector - Interface in org.togglz.core.repository.composite
Provides a means to select from a collection of state repositories.
CompositeStateRepository.SetterSelection - Enum Class in org.togglz.core.repository.composite
 
ConcurrentReferenceHashMap<K,V> - Class in org.togglz.core.util
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() - Constructor for class org.togglz.core.util.ConcurrentReferenceHashMap
Creates a new, empty map with a default initial capacity (16), reference types (weak keys, strong values), default load factor (0.75) and concurrencyLevel (16).
ConcurrentReferenceHashMap(int) - Constructor for class org.togglz.core.util.ConcurrentReferenceHashMap
Creates a new, empty map with the specified initial capacity, and with default reference types (weak keys, strong values), load factor (0.75) and concurrencyLevel (16).
ConcurrentReferenceHashMap(int, float) - Constructor for class org.togglz.core.util.ConcurrentReferenceHashMap
Creates a new, empty map with the specified initial capacity and load factor and with the default reference types (weak keys, strong values), and concurrencyLevel (16).
ConcurrentReferenceHashMap(int, float, int) - Constructor for class org.togglz.core.util.ConcurrentReferenceHashMap
Creates a new, empty map with the specified initial capacity, load factor and concurrency level.
ConcurrentReferenceHashMap(int, float, int, ConcurrentReferenceHashMap.ReferenceType, ConcurrentReferenceHashMap.ReferenceType, EnumSet<ConcurrentReferenceHashMap.Option>) - Constructor for class org.togglz.core.util.ConcurrentReferenceHashMap
Creates a new, empty map with the specified initial capacity, reference types, load factor and concurrency level.
ConcurrentReferenceHashMap(int, ConcurrentReferenceHashMap.ReferenceType, ConcurrentReferenceHashMap.ReferenceType) - Constructor for class org.togglz.core.util.ConcurrentReferenceHashMap
Creates a new, empty map with the specified initial capacity, reference types and with default load factor (0.75) and concurrencyLevel (16).
ConcurrentReferenceHashMap(Map<? extends K, ? extends V>) - Constructor for class org.togglz.core.util.ConcurrentReferenceHashMap
Creates a new map with the same mappings as the given map.
ConcurrentReferenceHashMap(ConcurrentReferenceHashMap.ReferenceType, ConcurrentReferenceHashMap.ReferenceType) - Constructor for class org.togglz.core.util.ConcurrentReferenceHashMap
Creates a new, empty reference map with the specified key and value reference types.
ConcurrentReferenceHashMap(ConcurrentReferenceHashMap.ReferenceType, ConcurrentReferenceHashMap.ReferenceType, EnumSet<ConcurrentReferenceHashMap.Option>) - Constructor for class org.togglz.core.util.ConcurrentReferenceHashMap
Creates a new, empty reference map with the specified reference types and behavioral options.
ConcurrentReferenceHashMap.Option - Enum Class in org.togglz.core.util
 
ConcurrentReferenceHashMap.ReferenceType - Enum Class in org.togglz.core.util
An option specifying which Java reference type should be used to refer to a key and/or value.
contains(Object) - Method in class org.togglz.core.util.ConcurrentReferenceHashMap
Legacy method testing if some key maps into the specified value in this table.
contains(Feature) - Method in class org.togglz.core.metadata.enums.AnnotationFeatureGroup
 
contains(Feature) - Method in interface org.togglz.core.metadata.FeatureGroup
 
contains(Feature) - Method in class org.togglz.core.metadata.SimpleFeatureGroup
 
containsKey(Object) - Method in class org.togglz.core.util.ConcurrentReferenceHashMap
Tests if the specified object is a key in this table.
containsKey(Object) - Method in class org.togglz.core.util.FeatureMap
 
containsValue(Object) - Method in class org.togglz.core.util.ConcurrentReferenceHashMap
Returns true if this map maps one or more keys to the specified value.
containsValue(Object) - Method in class org.togglz.core.util.FeatureMap
 
ContextClassLoaderFeatureManagerProvider - Class in org.togglz.core.context
This implementation of FeatureManagerProvider stores one FeatureManager for each context class loader.
ContextClassLoaderFeatureManagerProvider() - Constructor for class org.togglz.core.context.ContextClassLoaderFeatureManagerProvider
 
copy() - Method in class org.togglz.core.repository.FeatureState
Creates a copy of this state object
copy(InputStream, OutputStream) - Static method in class org.togglz.core.util.IOUtils
Copies all bytes from the input stream to the output stream.
copy(Readable, Appendable) - Static method in class org.togglz.core.util.IOUtils
Copies all characters between the Readable and Appendable objects.
copyOf(FeatureState) - Static method in class org.togglz.core.repository.FeatureState
Returns a copy of a featureState, or null if the featureState is null.
create(String) - Static method in class org.togglz.core.activation.ParameterBuilder
Creates a new builder for a parameter with the given name.
createFeatureManager() - Method in interface org.togglz.core.bootstrap.TogglzBootstrap
Create the FeatureManager for the application.
createFeatureManager(Object) - Method in class org.togglz.core.bootstrap.FeatureManagerBootstrapper
Tries to automatically build and configure a FeatureManager like described above.
createInstance(String) - Method in class org.togglz.core.jndi.FeatureManagerObjectFactory
Creates an instance of the supplied class.
createTable(boolean) - Method in class org.togglz.core.repository.jdbc.JDBCStateRepository.Builder
If set to true, the table will be automatically created if it is missing.

D

dataSource - Variable in class org.togglz.core.repository.jdbc.JDBCStateRepository
 
DbUtils - Class in org.togglz.core.util
 
DbUtils() - Constructor for class org.togglz.core.util.DbUtils
 
DefaultActivationStrategy - Annotation Interface in org.togglz.core.annotation
Allows to specify the default activation strategy if the StateRepository doesn't have any state saved for the feature.
DefaultActivationStrategyProvider - Class in org.togglz.core.activation
Implementation of ActivationStrategyProvider that loads the strategies using the JDK ServiceLoader.
DefaultActivationStrategyProvider() - Constructor for class org.togglz.core.activation.DefaultActivationStrategyProvider
 
DefaultFeatureManager - Class in org.togglz.core.manager
Default implementation of FeatureManager
DefaultMapSerializer - Class in org.togglz.core.repository.util
This converter is able to convert string maps to simple strings and vice versa.
delegate - Variable in class org.togglz.core.proxy.TogglzSwitchable
 
description(String) - Method in class org.togglz.core.activation.ParameterBuilder
Sets an optional description for the parameter displayed in the admin console.
deserialize(String) - Method in class org.togglz.core.repository.util.DefaultMapSerializer
 
deserialize(String) - Method in interface org.togglz.core.repository.util.MapSerializer
Restores a map that has been converted into a string using MapSerializer.serialize(Map)
disable() - Method in class org.togglz.core.repository.FeatureState
Disable the feature
disable(Feature) - Method in class org.togglz.core.manager.DefaultFeatureManager
 
disable(Feature) - Method in interface org.togglz.core.manager.FeatureManager
 
disable(Feature) - Method in class org.togglz.core.manager.LazyResolvingFeatureManager
 

E

elements() - Method in class org.togglz.core.util.ConcurrentReferenceHashMap
Returns an enumeration of the values in this table.
EmptyFeatureMetaData - Class in org.togglz.core.metadata
FeatureMetaData implementation that doesn't provide any information.
EmptyFeatureMetaData(Feature) - Constructor for class org.togglz.core.metadata.EmptyFeatureMetaData
 
EmptyFeatureProvider - Class in org.togglz.core.manager
Dummy implementation of FeatureProvider that has no features.
EmptyFeatureProvider() - Constructor for class org.togglz.core.manager.EmptyFeatureProvider
 
enable() - Method in class org.togglz.core.repository.FeatureState
Enable the feature
enable(Feature) - Method in class org.togglz.core.manager.DefaultFeatureManager
 
enable(Feature) - Method in interface org.togglz.core.manager.FeatureManager
 
enable(Feature) - Method in class org.togglz.core.manager.LazyResolvingFeatureManager
 
EnabledByDefault - Annotation Interface in org.togglz.core.annotation
Allows to specify that the annotated feature should be enabled by default if the StateRepository doesn't have any state saved.
entrySet() - Method in class org.togglz.core.util.ConcurrentReferenceHashMap
Returns a Set view of the mappings contained in this map.
entrySet() - Method in class org.togglz.core.util.FeatureMap
 
EnumBasedFeatureProvider - Class in org.togglz.core.manager
Implementation of FeatureProvider that uses an Java enum to represent features.
EnumBasedFeatureProvider() - Constructor for class org.togglz.core.manager.EnumBasedFeatureProvider
 
EnumBasedFeatureProvider(Class<? extends Feature>...) - Constructor for class org.togglz.core.manager.EnumBasedFeatureProvider
 
EnumFeatureMetaData - Class in org.togglz.core.metadata.enums
Implementation of FeatureMetaData that looks for annotations like Label, EnabledByDefault and DefaultActivationStrategy on feature enums.
EnumFeatureMetaData(Feature) - Constructor for class org.togglz.core.metadata.enums.EnumFeatureMetaData
 
equals(Object) - Method in class org.togglz.core.repository.FeatureState
 
equals(Object) - Method in class org.togglz.core.util.NamedFeature
 

F

Feature - Interface in org.togglz.core
This interface represents a feature and is typically implemented by the feature enum.
FeatureAnnotations - Class in org.togglz.core.util
Utility class to read annotation on feature enums.
FeatureAnnotations() - Constructor for class org.togglz.core.util.FeatureAnnotations
 
FeatureAttribute - Annotation Interface in org.togglz.core.annotation
Annotation used to define custom metadata attributes for features.
FeatureContext - Class in org.togglz.core.context
This class is typically used to obtain the FeatureManager from application code.
FeatureContext() - Constructor for class org.togglz.core.context.FeatureContext
 
featureEnum(Class<? extends Feature>) - Method in class org.togglz.core.manager.FeatureManagerBuilder
Use the supplied feature enum class for the feature manager.
featureEnums(Class<? extends Feature>...) - Method in class org.togglz.core.manager.FeatureManagerBuilder
Use the supplied feature enum classes for the feature manager.
FeatureGroup - Interface in org.togglz.core.metadata
Represents a group of feature flags.
FeatureGroup - Annotation Interface in org.togglz.core.annotation
Identifies an annotation type as an feature group annotation
FeatureManager - Interface in org.togglz.core.manager
The FeatureManager is the central class in Togglz.
FeatureManagerBootstrapper - Class in org.togglz.core.bootstrap
This class is used to automatically bootstrap a FeatureManager for Togglz which is the default behavior for simple web applications.
FeatureManagerBootstrapper() - Constructor for class org.togglz.core.bootstrap.FeatureManagerBootstrapper
 
FeatureManagerBuilder - Class in org.togglz.core.manager
FeatureManagerBuilder() - Constructor for class org.togglz.core.manager.FeatureManagerBuilder
 
FeatureManagerListener - Interface in org.togglz.core.spi
Implementations of this SPI will be notified when the FeatureManager is created and before it is shut down.
FeatureManagerObjectFactory - Class in org.togglz.core.jndi
Implementation of ObjectFactory that creates a FeatureManager.
FeatureManagerObjectFactory() - Constructor for class org.togglz.core.jndi.FeatureManagerObjectFactory
 
FeatureManagerProvider - Interface in org.togglz.core.spi
SPI used by FeatureContext to lookup the FeatureManager to use.
FeatureMap - Class in org.togglz.core.util
This map can be used to check whether features are active.
FeatureMap() - Constructor for class org.togglz.core.util.FeatureMap
Constructor that will configure the map to lazily lookup the FeatureManager from the FeatureContext.
FeatureMap(FeatureManager) - Constructor for class org.togglz.core.util.FeatureMap
Constructor that allows to manually set the feature manager to use.
FeatureMetaData - Interface in org.togglz.core.metadata
Metadata of a Feature.
featureProvider(FeatureProvider) - Method in class org.togglz.core.manager.FeatureManagerBuilder
Sets a FeatureProvider for the feature manager.
FeatureProvider - Interface in org.togglz.core.spi
Implementations of this interface are responsible for providing feature base data.
FeatureProxyInvocationHandler - Class in org.togglz.core.proxy
A InvocationHandler implementation that delegates invocation to one of two object depending on the state of the specified feature.
FeatureProxyInvocationHandler(Feature, Object, Object) - Constructor for class org.togglz.core.proxy.FeatureProxyInvocationHandler
 
FeatureProxyInvocationHandler(Feature, Object, Object, FeatureManager) - Constructor for class org.togglz.core.proxy.FeatureProxyInvocationHandler
 
FeatureState - Class in org.togglz.core.repository
This class represents the state of a feature that is persisted by StateRepository implementations.
FeatureState(Feature) - Constructor for class org.togglz.core.repository.FeatureState
This constructor creates a new feature state for the given feature.
FeatureState(Feature, boolean) - Constructor for class org.togglz.core.repository.FeatureState
This constructor creates a new feature state for the given feature.
FeatureStateChangedListener - Interface in org.togglz.core.repository.listener
A listener for feature-state changes.
featureStateForWrapper(Feature, FeatureStateStorageWrapper) - Static method in class org.togglz.core.util.FeatureStateStorageWrapper
 
FeatureStateStorageWrapper - Class in org.togglz.core.util
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.
FeatureStateStorageWrapper() - Constructor for class org.togglz.core.util.FeatureStateStorageWrapper
 
FeatureUser - Interface in org.togglz.core.user
This interface represents a user for Togglz
FIFO - Enum constant in enum class org.togglz.core.repository.composite.CompositeStateRepository.IterationOrder
The iteration order is the same as what was specified when constructing this composite.
FileBasedStateRepository - Class in org.togglz.core.repository.file
A PropertyBasedStateRepository that stores the state of features using a standard Java properties file.
FileBasedStateRepository(File) - Constructor for class org.togglz.core.repository.file.FileBasedStateRepository
Constructor for FileBasedStateRepository.
FileBasedStateRepository(File, int) - Constructor for class org.togglz.core.repository.file.FileBasedStateRepository
Constructor for FileBasedStateRepository.
find(Class<E>, Object) - Method in interface org.togglz.core.spi.BeanFinder
Retrieve a list of all beans of the given type.
FIRST - Enum constant in enum class org.togglz.core.repository.composite.CompositeStateRepository.SetterSelection
Use the first repository in this composite to set the state.
firstNonNull(T, T) - Static method in class org.togglz.core.util.MoreObjects
Returns the first of two given parameters that is not null, if either is, or otherwise throws a NullPointerException.

G

get(Class<? extends E>) - Static method in class org.togglz.core.util.Services
Lookup implementations of the supplied SPI.
get(Object) - Method in class org.togglz.core.util.ConcurrentReferenceHashMap
Returns the value to which the specified key is mapped, or null if this map contains no mapping for the key.
get(Object) - Method in class org.togglz.core.util.FeatureMap
 
getActivationStrategies() - Method in interface org.togglz.core.activation.ActivationStrategyProvider
 
getActivationStrategies() - Method in class org.togglz.core.activation.DefaultActivationStrategyProvider
 
getActivationStrategies() - Method in class org.togglz.core.manager.DefaultFeatureManager
 
getActivationStrategies() - Method in interface org.togglz.core.manager.FeatureManager
Provides access to the ActivationStrategy list known by the manager
getActivationStrategies() - Method in class org.togglz.core.manager.LazyResolvingFeatureManager
 
getActive() - Method in class org.togglz.core.proxy.FeatureProxyInvocationHandler
 
getAnnotation(Feature, Class<A>) - Static method in class org.togglz.core.util.FeatureAnnotations
 
getAnnotations(Feature) - Static method in class org.togglz.core.util.FeatureAnnotations
 
getAttribute(String) - Method in interface org.togglz.core.user.FeatureUser
This method allows to retrieve attributes associated with a user.
getAttribute(String) - Method in class org.togglz.core.user.SimpleFeatureUser
 
getAttributes() - Method in class org.togglz.core.metadata.EmptyFeatureMetaData
 
getAttributes() - Method in class org.togglz.core.metadata.enums.EnumFeatureMetaData
 
getAttributes() - Method in interface org.togglz.core.metadata.FeatureMetaData
A map of custom feature attributes describing the feature
getAttributes() - Method in class org.togglz.core.metadata.property.PropertyFeatureMetaData
 
getConfiguration(Object) - Method in class org.togglz.core.jndi.FeatureManagerObjectFactory
This class looks up the TogglzConfig to use when building the FeatureManager.
getCurrentFeatureUser() - Method in class org.togglz.core.manager.DefaultFeatureManager
 
getCurrentFeatureUser() - Method in interface org.togglz.core.manager.FeatureManager
Get the current feature user.
getCurrentFeatureUser() - Method in class org.togglz.core.manager.LazyResolvingFeatureManager
 
getCurrentUser() - Method in class org.togglz.core.user.jaas.JAASUserProvider
 
getCurrentUser() - Method in class org.togglz.core.user.NoOpUserProvider
 
getCurrentUser() - Method in class org.togglz.core.user.SingleUserProvider
 
getCurrentUser() - Method in class org.togglz.core.user.thread.ThreadLocalUserProvider
 
getCurrentUser() - Method in interface org.togglz.core.user.UserProvider
Return a FeatureUser instance representing the current user.
getDefaultFeatureState() - Method in class org.togglz.core.metadata.EmptyFeatureMetaData
 
getDefaultFeatureState() - Method in class org.togglz.core.metadata.enums.EnumFeatureMetaData
 
getDefaultFeatureState() - Method in interface org.togglz.core.metadata.FeatureMetaData
Default feature state, if it is not stored in a StateRepository.
getDefaultFeatureState() - Method in class org.togglz.core.metadata.property.PropertyFeatureMetaData
 
getDescription() - Method in interface org.togglz.core.activation.Parameter
An optional description of the parameter.
getDescription() - Method in class org.togglz.core.activation.ParameterBuilder
 
getEditor() - Method in interface org.togglz.core.repository.property.PropertySource
Returns a class suitable for editing the properties in the underlying representation in a thread-safe manner.
getFeature() - Method in class org.togglz.core.proxy.FeatureProxyInvocationHandler
 
getFeature() - Method in class org.togglz.core.repository.FeatureState
Returns the feature represented by this feature state.
getFeatureAttribute(Annotation) - Static method in class org.togglz.core.util.FeatureAnnotations
Checks whether the supplied annotation specifies a feature attribute.
getFeatureClass() - Method in interface org.togglz.core.manager.TogglzConfig
Used to tell Togglz about the feature enum that you want to use.
getFeatureManager() - Method in class org.togglz.core.context.BeanFinderFeatureManagerProvider
 
getFeatureManager() - Method in class org.togglz.core.context.ContextClassLoaderFeatureManagerProvider
 
getFeatureManager() - Static method in class org.togglz.core.context.FeatureContext
Returns the FeatureManager for the current application (context class loader).
getFeatureManager() - Method in class org.togglz.core.context.JNDIFeatureManagerProvider
 
getFeatureManager() - Method in class org.togglz.core.context.StaticFeatureManagerProvider
 
getFeatureManager() - Method in class org.togglz.core.context.ThreadLocalFeatureManagerProvider
 
getFeatureManager() - Method in interface org.togglz.core.spi.FeatureManagerProvider
 
getFeatureManagerOrNull() - Static method in class org.togglz.core.context.FeatureContext
Returns the FeatureManager for the current application (context class loader).
getFeatures() - Method in class org.togglz.core.manager.CompositeFeatureProvider
 
getFeatures() - Method in class org.togglz.core.manager.DefaultFeatureManager
 
getFeatures() - Method in class org.togglz.core.manager.EmptyFeatureProvider
 
getFeatures() - Method in class org.togglz.core.manager.EnumBasedFeatureProvider
 
getFeatures() - Method in interface org.togglz.core.manager.FeatureManager
Provides access to all features the manager is responsible for.
getFeatures() - Method in class org.togglz.core.manager.LazyResolvingFeatureManager
 
getFeatures() - Method in class org.togglz.core.manager.PropertyFeatureProvider
 
getFeatures() - Method in interface org.togglz.core.spi.FeatureProvider
Returns a list of all valid features, never null.
getFeatureState(Feature) - Method in class org.togglz.core.logging.LoggingStateRepository
 
getFeatureState(Feature) - Method in class org.togglz.core.manager.DefaultFeatureManager
 
getFeatureState(Feature) - Method in interface org.togglz.core.manager.FeatureManager
Returns the FeatureState for the specified feature.
getFeatureState(Feature) - Method in class org.togglz.core.manager.LazyResolvingFeatureManager
 
getFeatureState(Feature) - Method in class org.togglz.core.repository.cache.CachingStateRepository
 
getFeatureState(Feature) - Method in class org.togglz.core.repository.composite.CompositeStateRepository
Returns the first non-null feature state as determined by the current iteration order.
getFeatureState(Feature) - Method in class org.togglz.core.repository.jdbc.JDBCStateRepository
 
getFeatureState(Feature) - Method in class org.togglz.core.repository.listener.ListenableStateRepository
 
getFeatureState(Feature) - Method in class org.togglz.core.repository.mem.InMemoryStateRepository
 
getFeatureState(Feature) - Method in class org.togglz.core.repository.property.PropertyBasedStateRepository
 
getFeatureState(Feature) - Method in interface org.togglz.core.repository.StateRepository
Get the persisted state of a feature from the repository.
getGroups() - Method in class org.togglz.core.metadata.EmptyFeatureMetaData
 
getGroups() - Method in class org.togglz.core.metadata.enums.EnumFeatureMetaData
 
getGroups() - Method in interface org.togglz.core.metadata.FeatureMetaData
The feature groups to which the feature belongs.
getGroups() - Method in class org.togglz.core.metadata.property.PropertyFeatureMetaData
 
getId() - Method in class org.togglz.core.activation.GradualActivationStrategy
 
getId() - Method in class org.togglz.core.activation.ReleaseDateActivationStrategy
 
getId() - Method in class org.togglz.core.activation.ScriptEngineActivationStrategy
 
getId() - Method in class org.togglz.core.activation.ServerIpActivationStrategy
 
getId() - Method in class org.togglz.core.activation.SystemPropertyActivationStrategy
 
getId() - Method in class org.togglz.core.activation.UsernameActivationStrategy
 
getId() - Method in class org.togglz.core.activation.UserRoleActivationStrategy
 
getId() - Method in interface org.togglz.core.spi.ActivationStrategy
A unique id for this strategy.
getInactive() - Method in class org.togglz.core.proxy.FeatureProxyInvocationHandler
 
getKeysStartingWith(String) - Method in interface org.togglz.core.repository.property.PropertySource
Returns the keys from the source that start with the specified prefix.
getLabel() - Method in interface org.togglz.core.activation.Parameter
A human readable label that describes the parameter.
getLabel() - Method in class org.togglz.core.activation.ParameterBuilder
 
getLabel() - Method in class org.togglz.core.metadata.EmptyFeatureMetaData
 
getLabel() - Method in class org.togglz.core.metadata.enums.AnnotationFeatureGroup
 
getLabel() - Method in class org.togglz.core.metadata.enums.EnumFeatureMetaData
 
getLabel() - Method in interface org.togglz.core.metadata.FeatureGroup
 
getLabel() - Method in interface org.togglz.core.metadata.FeatureMetaData
Returns a human readable name of the feature.
getLabel() - Method in class org.togglz.core.metadata.property.PropertyFeatureMetaData
 
getLabel() - Method in class org.togglz.core.metadata.SimpleFeatureGroup
 
getLabel(Feature) - Static method in class org.togglz.core.util.FeatureAnnotations
 
getMetaData(Feature) - Method in class org.togglz.core.manager.CompositeFeatureProvider
 
getMetaData(Feature) - Method in class org.togglz.core.manager.DefaultFeatureManager
 
getMetaData(Feature) - Method in class org.togglz.core.manager.EmptyFeatureProvider
 
getMetaData(Feature) - Method in class org.togglz.core.manager.EnumBasedFeatureProvider
 
getMetaData(Feature) - Method in interface org.togglz.core.manager.FeatureManager
Returns the FeatureMetaData describing the supplied feature.
getMetaData(Feature) - Method in class org.togglz.core.manager.LazyResolvingFeatureManager
 
getMetaData(Feature) - Method in class org.togglz.core.manager.PropertyFeatureProvider
 
getMetaData(Feature) - Method in interface org.togglz.core.spi.FeatureProvider
Returns the FeatureMetaData for the given feature.
getName() - Method in class org.togglz.core.activation.GradualActivationStrategy
 
getName() - Method in interface org.togglz.core.activation.Parameter
The name of the parameter.
getName() - Method in class org.togglz.core.activation.ParameterBuilder
 
getName() - Method in class org.togglz.core.activation.ReleaseDateActivationStrategy
 
getName() - Method in class org.togglz.core.activation.ScriptEngineActivationStrategy
 
getName() - Method in class org.togglz.core.activation.ServerIpActivationStrategy
 
getName() - Method in class org.togglz.core.activation.SystemPropertyActivationStrategy
 
getName() - Method in class org.togglz.core.activation.UsernameActivationStrategy
 
getName() - Method in class org.togglz.core.activation.UserRoleActivationStrategy
 
getName() - Method in class org.togglz.core.manager.DefaultFeatureManager
 
getName() - Method in interface org.togglz.core.manager.FeatureManager
A unique name for this feature manager.
getName() - Method in class org.togglz.core.manager.LazyResolvingFeatureManager
 
getName() - Method in interface org.togglz.core.spi.ActivationStrategy
A human readable name of the strategy.
getName() - Method in interface org.togglz.core.user.FeatureUser
Get the unique name for this use
getName() - Method in class org.togglz.core.user.SimpleFeatureUser
 
getNameWithVersion() - Static method in class org.togglz.core.Togglz
Returns Togglz followed by the version if available
getObjectInstance(Object, Name, Context, Hashtable<?, ?>) - Method in class org.togglz.core.jndi.FeatureManagerObjectFactory
 
getParameter(String) - Method in class org.togglz.core.repository.FeatureState
Returns the value of the given parameter.
getParameterMap() - Method in class org.togglz.core.repository.FeatureState
Returns an unmodifiable map of parameters
getParameterNames() - Method in class org.togglz.core.repository.FeatureState
Returns a list of all parameter names stored in the FeatureState instance.
getParameters() - Method in class org.togglz.core.activation.AbstractPropertyDrivenActivationStrategy
 
getParameters() - Method in class org.togglz.core.activation.GradualActivationStrategy
 
getParameters() - Method in class org.togglz.core.activation.ReleaseDateActivationStrategy
 
getParameters() - Method in class org.togglz.core.activation.ScriptEngineActivationStrategy
 
getParameters() - Method in class org.togglz.core.activation.ServerIpActivationStrategy
 
getParameters() - Method in class org.togglz.core.activation.SystemPropertyActivationStrategy
 
getParameters() - Method in class org.togglz.core.activation.UsernameActivationStrategy
 
getParameters() - Method in class org.togglz.core.activation.UserRoleActivationStrategy
 
getParameters() - Method in interface org.togglz.core.spi.ActivationStrategy
Returns the list of configuration parameter definitions for the strategy.
getParameters() - Method in class org.togglz.core.util.FeatureStateStorageWrapper
 
getPropertyName(FeatureState, String) - Method in class org.togglz.core.activation.AbstractPropertyDrivenActivationStrategy
Returns the name of the property on which to base the activation of the feature.
getPropertyNameParam() - Method in class org.togglz.core.activation.AbstractPropertyDrivenActivationStrategy
 
getPropertyNameParam() - Method in class org.togglz.core.activation.SystemPropertyActivationStrategy
 
getPropertyValue(FeatureState, FeatureUser, String) - Method in class org.togglz.core.activation.AbstractPropertyDrivenActivationStrategy
Returns the value of the property with the specified name on which to base the activation of the feature.
getPropertyValue(FeatureState, FeatureUser, String) - Method in class org.togglz.core.activation.SystemPropertyActivationStrategy
 
getSelected(List<StateRepository>) - Method in interface org.togglz.core.repository.composite.CompositeStateRepository.RepositorySelector
Returns a subset of state repositories from the specified collection.
getSorted(Class<? extends E>) - Static method in class org.togglz.core.util.Services
Lookup implementations of the supplied SPI.
getStateRepository() - Method in interface org.togglz.core.manager.TogglzConfig
The StateRepository Togglz should use to store feature state.
getStrategyId() - Method in class org.togglz.core.repository.FeatureState
Returns the ID of the selected activation strategy.
getStrategyId() - Method in class org.togglz.core.util.FeatureStateStorageWrapper
 
getTokenParameterName() - Method in class org.togglz.core.activation.AbstractTokenizedActivationStrategy
Returns the name of the parameter whose value is to be tokenized.
getTokenParameterTransformer() - Method in class org.togglz.core.activation.AbstractTokenizedActivationStrategy
Returns the transformer to be used to transform the value of each AbstractTokenizedActivationStrategy.Token.
getUserProvider() - Method in interface org.togglz.core.manager.TogglzConfig
The UserProvider Togglz should use to obtain the current user.
getValue() - Method in class org.togglz.core.activation.AbstractTokenizedActivationStrategy.Token
Returns the value for this AbstractTokenizedActivationStrategy.Token.
getValue(String, String) - Method in interface org.togglz.core.repository.property.PropertySource
Returns the value of the specified key.
getVersion() - Static method in class org.togglz.core.Togglz
The version of Togglz or null if it cannot be identified
GradualActivationStrategy - Class in org.togglz.core.activation
Activation strategy that enables features for a given percentage of users.
GradualActivationStrategy() - Constructor for class org.togglz.core.activation.GradualActivationStrategy
 

H

hashCode() - Method in class org.togglz.core.repository.FeatureState
 
hashCode() - Method in class org.togglz.core.util.NamedFeature
 

I

id() - Element in annotation interface org.togglz.core.annotation.DefaultActivationStrategy
The unique ID of the strategy.
ID - Static variable in class org.togglz.core.activation.GradualActivationStrategy
 
ID - Static variable in class org.togglz.core.activation.ReleaseDateActivationStrategy
 
ID - Static variable in class org.togglz.core.activation.ScriptEngineActivationStrategy
 
ID - Static variable in class org.togglz.core.activation.ServerIpActivationStrategy
 
ID - Static variable in class org.togglz.core.activation.SystemPropertyActivationStrategy
 
ID - Static variable in class org.togglz.core.activation.UsernameActivationStrategy
 
ID - Static variable in class org.togglz.core.activation.UserRoleActivationStrategy
 
IDENTITY_COMPARISONS - Enum constant in enum class org.togglz.core.util.ConcurrentReferenceHashMap.Option
Indicates that referential-equality (== instead of .equals()) should be used when locating keys.
InfoLink - Annotation Interface in org.togglz.core.annotation
Custom feature attribute that allows to set a link for additional information regarding this feature.
InMemoryStateRepository - Class in org.togglz.core.repository.mem
A very simply implementation of StateRepository entirely on memory.
InMemoryStateRepository() - Constructor for class org.togglz.core.repository.mem.InMemoryStateRepository
 
insertTableName(String) - Method in class org.togglz.core.repository.jdbc.JDBCStateRepository
 
invoke(Object, Method, Object[]) - Method in class org.togglz.core.proxy.FeatureProxyInvocationHandler
 
IOUtils - Class in org.togglz.core.util
Provides utility methods for working with I/O streams.
IOUtils() - Constructor for class org.togglz.core.util.IOUtils
 
isActive() - Method in interface org.togglz.core.Feature
Checks whether the feature is active for the current user.
isActive(Feature) - Method in class org.togglz.core.manager.DefaultFeatureManager
 
isActive(Feature) - Method in interface org.togglz.core.manager.FeatureManager
Checks whether the supplied feature is active or not.
isActive(Feature) - Method in class org.togglz.core.manager.LazyResolvingFeatureManager
 
isActive(FeatureState, FeatureUser) - Method in class org.togglz.core.activation.AbstractPropertyDrivenActivationStrategy
 
isActive(FeatureState, FeatureUser) - Method in class org.togglz.core.activation.AbstractTokenizedActivationStrategy
 
isActive(FeatureState, FeatureUser) - Method in class org.togglz.core.activation.GradualActivationStrategy
 
isActive(FeatureState, FeatureUser) - Method in class org.togglz.core.activation.ReleaseDateActivationStrategy
 
isActive(FeatureState, FeatureUser) - Method in class org.togglz.core.activation.ScriptEngineActivationStrategy
 
isActive(FeatureState, FeatureUser) - Method in class org.togglz.core.activation.ServerIpActivationStrategy
 
isActive(FeatureState, FeatureUser) - Method in class org.togglz.core.activation.UsernameActivationStrategy
 
isActive(FeatureState, FeatureUser) - Method in class org.togglz.core.activation.UserRoleActivationStrategy
 
isActive(FeatureState, FeatureUser) - Method in interface org.togglz.core.spi.ActivationStrategy
This method is responsible to decide whether a feature is active or not.
isActive(FeatureState, FeatureUser, String, String) - Method in class org.togglz.core.activation.AbstractPropertyDrivenActivationStrategy
This method is called by AbstractPropertyDrivenActivationStrategy.isActive(FeatureState, FeatureUser) with the property name and value to make the decision as to whether the feature is active.
isActive(FeatureState, FeatureUser, List<AbstractTokenizedActivationStrategy.Token>) - Method in class org.togglz.core.activation.AbstractTokenizedActivationStrategy
This method is called by AbstractTokenizedActivationStrategy.isActive(FeatureState, FeatureUser) with the parsed tokens to make the decision as to whether the feature is active.
isAnnotationPresent(Feature, Class<? extends Annotation>) - Static method in class org.togglz.core.util.FeatureAnnotations
 
isBlank(String) - Static method in class org.togglz.core.util.Strings
 
isEmpty() - Method in class org.togglz.core.util.ConcurrentReferenceHashMap
Returns true if this map contains no key-value mappings.
isEmpty() - Method in class org.togglz.core.util.FeatureMap
 
isEmpty(String) - Static method in class org.togglz.core.util.Strings
Returns whether the specified string is empty while remaining null-safe.
isEnabled() - Method in class org.togglz.core.repository.FeatureState
Whether this feature is enabled or not.
isEnabled() - Method in class org.togglz.core.util.FeatureStateStorageWrapper
 
isEnabledByDefault(Feature) - Static method in class org.togglz.core.util.FeatureAnnotations
 
isFeatureAdmin() - Method in interface org.togglz.core.user.FeatureUser
Is the user a feature admin, which means that he is able to use the Togglz Admin Console.
isFeatureAdmin() - Method in class org.togglz.core.user.SimpleFeatureUser
 
isFeatureAdmin(Principal) - Method in class org.togglz.core.user.jaas.JAASUserProvider
Checks if the supplied user is a feature admin.
isLargeText() - Method in interface org.togglz.core.activation.Parameter
Returns true if the parameter value is typically large so that it should be displayed with an textarea instead of a simple text input field.
isLargeText() - Method in class org.togglz.core.activation.ParameterBuilder
 
isNegated() - Method in class org.togglz.core.activation.AbstractTokenizedActivationStrategy.Token
Returns whether or not this AbstractTokenizedActivationStrategy.Token is negated.
isNotBlank(String) - Static method in class org.togglz.core.util.Strings
 
isNotEmpty(String) - Static method in class org.togglz.core.util.Strings
Returns whether the specified string is not empty while remaining null-safe.
isOptional() - Method in interface org.togglz.core.activation.Parameter
Returns true if the parameter is optional.
isOptional() - Method in class org.togglz.core.activation.ParameterBuilder
 
isTrue(boolean, String) - Static method in class org.togglz.core.util.Validate
 
isValid(String) - Method in interface org.togglz.core.activation.Parameter
This method allows to implement custom validation logic for the parameter.
isValid(String) - Method in class org.togglz.core.activation.ParameterBuilder
 

J

JAASUserProvider - Class in org.togglz.core.user.jaas
This implementation supports looking up the current user the JAAS AccessControlContext.
JAASUserProvider() - Constructor for class org.togglz.core.user.jaas.JAASUserProvider
 
JDBCStateRepository - Class in org.togglz.core.repository.jdbc
This repository implementation can be used to store the feature state in SQL database using the standard JDBC API.
JDBCStateRepository(DataSource) - Constructor for class org.togglz.core.repository.jdbc.JDBCStateRepository
Constructor of JDBCStateRepository.
JDBCStateRepository(DataSource, String) - Constructor for class org.togglz.core.repository.jdbc.JDBCStateRepository
Constructor of JDBCStateRepository.
JDBCStateRepository(JDBCStateRepository.Builder) - Constructor for class org.togglz.core.repository.jdbc.JDBCStateRepository
Private constructor initializing the class from a builder
JDBCStateRepository.Builder - Class in org.togglz.core.repository.jdbc
Builder for a JDBCStateRepository.
JNDI_NAME - Static variable in class org.togglz.core.context.JNDIFeatureManagerProvider
 
JNDIFeatureManagerProvider - Class in org.togglz.core.context
Implementation of FeatureManagerProvider that tries to look up a FeatureManager from JNDI using the name java:/comp/env/FeatureManager.
JNDIFeatureManagerProvider() - Constructor for class org.togglz.core.context.JNDIFeatureManagerProvider
 
join(Iterable<?>, String) - Static method in class org.togglz.core.util.Strings
 
joinClassNames(Iterable<?>) - Static method in class org.togglz.core.util.Strings
 

K

keys() - Method in class org.togglz.core.util.ConcurrentReferenceHashMap
Returns an enumeration of the keys in this table.
keySet() - Method in class org.togglz.core.util.ConcurrentReferenceHashMap
Returns a Set view of the keys contained in this map.
keySet() - Method in class org.togglz.core.util.FeatureMap
 

L

label(String) - Method in class org.togglz.core.activation.ParameterBuilder
A custom human readable label for the parameter.
Label - Annotation Interface in org.togglz.core.annotation
Allows to set a label for a feature.
largeText() - Method in class org.togglz.core.activation.ParameterBuilder
Specifies that the parameter typically has large texts as a value
LAST - Enum constant in enum class org.togglz.core.repository.composite.CompositeStateRepository.SetterSelection
Use the last repository in this composite to set the state.
LazyResolvingFeatureManager - Class in org.togglz.core.manager
A feature manager that delegates all calls to the manager obtained lazily via FeatureContext.getFeatureManager().
LazyResolvingFeatureManager() - Constructor for class org.togglz.core.manager.LazyResolvingFeatureManager
 
LIFO - Enum constant in enum class org.togglz.core.repository.composite.CompositeStateRepository.IterationOrder
The iteration order is the revers of what was specified when constructing this composite.
ListenableStateRepository - Class in org.togglz.core.repository.listener
 
ListenableStateRepository(StateRepository, FeatureStateChangedListener...) - Constructor for class org.togglz.core.repository.listener.ListenableStateRepository
 
LoggingStateRepository - Class in org.togglz.core.logging
Simple implementation of StateRepository which adds logging capabilities to an existing repository.
LoggingStateRepository(StateRepository) - Constructor for class org.togglz.core.logging.LoggingStateRepository
Creates a logging facade for the supplied StateRepository.
LoggingStateRepository(StateRepository, String) - Constructor for class org.togglz.core.logging.LoggingStateRepository
Creates a logging facade for the supplied StateRepository using a custom log message.
LoggingStateRepository(StateRepository, String, Logger) - Constructor for class org.togglz.core.logging.LoggingStateRepository
 
LoggingStateRepository(StateRepository, Logger) - Constructor for class org.togglz.core.logging.LoggingStateRepository
 

M

MapSerializer - Interface in org.togglz.core.repository.util
 
matching(String) - Method in class org.togglz.core.activation.ParameterBuilder
Sets a regular expression that must match for parameter values to be considered as valid.
migrateSchema() - Method in class org.togglz.core.repository.jdbc.JDBCStateRepository
Method for creating/migrating the database schema
MoreObjects - Class in org.togglz.core.util
Helper functions that can operate on any Object.
MoreObjects.ToStringHelper - Class in org.togglz.core.util
multiline() - Static method in class org.togglz.core.repository.util.DefaultMapSerializer
Creates a new instance of the DefaultMapSerializer.
multiline(String) - Static method in class org.togglz.core.repository.util.DefaultMapSerializer
Creates a new instance of the DefaultMapSerializer.

N

name() - Element in annotation interface org.togglz.core.annotation.ActivationParameter
The name of the parameter.
name() - Method in interface org.togglz.core.Feature
Returns a textual representation of the feature.
name() - Method in class org.togglz.core.util.NamedFeature
 
name(String) - Method in class org.togglz.core.manager.FeatureManagerBuilder
Sets the name of the feature manager.
NAME - Static variable in class org.togglz.core.activation.UserRoleActivationStrategy
 
NamedFeature - Class in org.togglz.core.util
This class can be used if just the name of a feature is known but not the enum type.
NamedFeature(String) - Constructor for class org.togglz.core.util.NamedFeature
 
newBuilder(DataSource) - Static method in class org.togglz.core.repository.jdbc.JDBCStateRepository
Creates a new builder for creating a JDBCStateRepository.
noCommit - Variable in class org.togglz.core.repository.jdbc.JDBCStateRepository
 
noCommit(boolean) - Method in class org.togglz.core.repository.jdbc.JDBCStateRepository.Builder
Can be used to suppress to commit after modifying data in the repository.
NoOpUserProvider - Class in org.togglz.core.user
This implementation of UserProvider can be used if user-dependent feature toggling isn't used at all.
NoOpUserProvider() - Constructor for class org.togglz.core.user.NoOpUserProvider
 
notBlank(String, String) - Static method in class org.togglz.core.util.Validate
 
notNull(Object, String) - Static method in class org.togglz.core.util.Validate
 

O

onFeatureStateChanged(FeatureState, FeatureState) - Method in interface org.togglz.core.repository.listener.FeatureStateChangedListener
Callback method that is called by ListenableStateRepository instances, when StateRepository.setFeatureState(FeatureState) is called.
optional() - Method in class org.togglz.core.activation.ParameterBuilder
Configures the parameter to be optional.
org.togglz.core - package org.togglz.core
 
org.togglz.core.activation - package org.togglz.core.activation
 
org.togglz.core.annotation - package org.togglz.core.annotation
 
org.togglz.core.bootstrap - package org.togglz.core.bootstrap
 
org.togglz.core.context - package org.togglz.core.context
 
org.togglz.core.jndi - package org.togglz.core.jndi
 
org.togglz.core.logging - package org.togglz.core.logging
 
org.togglz.core.manager - package org.togglz.core.manager
 
org.togglz.core.metadata - package org.togglz.core.metadata
 
org.togglz.core.metadata.enums - package org.togglz.core.metadata.enums
 
org.togglz.core.metadata.property - package org.togglz.core.metadata.property
 
org.togglz.core.proxy - package org.togglz.core.proxy
 
org.togglz.core.repository - package org.togglz.core.repository
 
org.togglz.core.repository.cache - package org.togglz.core.repository.cache
 
org.togglz.core.repository.composite - package org.togglz.core.repository.composite
 
org.togglz.core.repository.file - package org.togglz.core.repository.file
 
org.togglz.core.repository.jdbc - package org.togglz.core.repository.jdbc
 
org.togglz.core.repository.listener - package org.togglz.core.repository.listener
 
org.togglz.core.repository.mem - package org.togglz.core.repository.mem
 
org.togglz.core.repository.property - package org.togglz.core.repository.property
 
org.togglz.core.repository.util - package org.togglz.core.repository.util
 
org.togglz.core.spi - package org.togglz.core.spi
 
org.togglz.core.user - package org.togglz.core.user
 
org.togglz.core.user.jaas - package org.togglz.core.user.jaas
 
org.togglz.core.user.thread - package org.togglz.core.user.thread
 
org.togglz.core.util - package org.togglz.core.util
 
Owner - Annotation Interface in org.togglz.core.annotation
Custom feature attribute that allows to set the name of a contact person.

P

PARAM_DATE - Static variable in class org.togglz.core.activation.ReleaseDateActivationStrategy
 
PARAM_IPS - Static variable in class org.togglz.core.activation.ServerIpActivationStrategy
 
PARAM_LANG - Static variable in class org.togglz.core.activation.ScriptEngineActivationStrategy
 
PARAM_NAME - Static variable in class org.togglz.core.activation.AbstractPropertyDrivenActivationStrategy
 
PARAM_PERCENTAGE - Static variable in class org.togglz.core.activation.GradualActivationStrategy
 
PARAM_PROPERTY_NAME - Static variable in class org.togglz.core.activation.SystemPropertyActivationStrategy
 
PARAM_PROPERTY_VALUE - Static variable in class org.togglz.core.activation.AbstractPropertyDrivenActivationStrategy
 
PARAM_ROLES_DESC - Static variable in class org.togglz.core.activation.UserRoleActivationStrategy
 
PARAM_ROLES_LABEL - Static variable in class org.togglz.core.activation.UserRoleActivationStrategy
 
PARAM_ROLES_NAME - Static variable in class org.togglz.core.activation.UserRoleActivationStrategy
 
PARAM_SCRIPT - Static variable in class org.togglz.core.activation.ScriptEngineActivationStrategy
 
PARAM_TIME - Static variable in class org.togglz.core.activation.ReleaseDateActivationStrategy
 
PARAM_USERS - Static variable in class org.togglz.core.activation.UsernameActivationStrategy
 
Parameter - Interface in org.togglz.core.activation
A parameter used to configure an ActivationStrategy.
ParameterBuilder - Class in org.togglz.core.activation
Fluent API for creating Parameter instances.
parameters() - Element in annotation interface org.togglz.core.annotation.DefaultActivationStrategy
Optional list of parameters to set for the strategy.
passiveProxyFor(Feature, Class<? super T>, T, T) - Static method in class org.togglz.core.proxy.ByteBuddyProxyFactory
Generate a passive Feature proxy.
passiveProxyFor(Feature, Class<? super T>, T, T, FeatureManager) - Static method in class org.togglz.core.proxy.ByteBuddyProxyFactory
Generate a passive Feature proxy.
Preconditions - Class in org.togglz.core.util
Static convenience methods that help a method or constructor check whether it was invoked correctly (whether its preconditions have been met).
priority() - Method in class org.togglz.core.context.BeanFinderFeatureManagerProvider
 
priority() - Method in class org.togglz.core.context.ContextClassLoaderFeatureManagerProvider
 
priority() - Method in class org.togglz.core.context.JNDIFeatureManagerProvider
 
priority() - Method in class org.togglz.core.context.StaticFeatureManagerProvider
 
priority() - Method in class org.togglz.core.context.ThreadLocalFeatureManagerProvider
 
priority() - Method in interface org.togglz.core.util.Weighted
Low priorities are processed first.
PropertyBasedStateRepository - Class in org.togglz.core.repository.property
This implementation of StateRepository stores the state of features in a Properties format.
PropertyBasedStateRepository(PropertySource) - Constructor for class org.togglz.core.repository.property.PropertyBasedStateRepository
 
PropertyFeatureMetaData - Class in org.togglz.core.metadata.property
Feature Metadata.
PropertyFeatureMetaData(Feature, String) - Constructor for class org.togglz.core.metadata.property.PropertyFeatureMetaData
 
PropertyFeatureProvider - Class in org.togglz.core.manager
Implementation of FeatureProvider that reads all the feature specification from a Properties instance.
PropertyFeatureProvider(Properties) - Constructor for class org.togglz.core.manager.PropertyFeatureProvider
 
PropertySource - Interface in org.togglz.core.repository.property
Manages a source of property-like values.
PropertySource.Editor - Interface in org.togglz.core.repository.property
Provides a means to update the underlying store in a thread-safe manner.
proxyFor(Feature, Class<? super T>, T, T) - Static method in class org.togglz.core.proxy.ByteBuddyProxyFactory
Generate an active Feature proxy.
proxyFor(Feature, Class<? super T>, T, T, FeatureManager) - Static method in class org.togglz.core.proxy.ByteBuddyProxyFactory
Generate an active Feature proxy.
purgeStaleEntries() - Method in class org.togglz.core.util.ConcurrentReferenceHashMap
Removes any stale entries whose keys have been finalized.
put(Object, Boolean) - Method in class org.togglz.core.util.FeatureMap
 
put(K, V) - Method in class org.togglz.core.util.ConcurrentReferenceHashMap
Maps the specified key to the specified value in this table.
putAll(Map<? extends Object, ? extends Boolean>) - Method in class org.togglz.core.util.FeatureMap
 
putAll(Map<? extends K, ? extends V>) - Method in class org.togglz.core.util.ConcurrentReferenceHashMap
Copies all of the mappings from the specified map to this one.
putIfAbsent(K, V) - Method in class org.togglz.core.util.ConcurrentReferenceHashMap

R

release() - Static method in class org.togglz.core.context.ContextClassLoaderFeatureManagerProvider
Releases the FeatureManager associated with the current context class loader.
release() - Static method in class org.togglz.core.context.ThreadLocalFeatureManagerProvider
Removes the FeatureManager associated with the current thread from the thread's context.
release() - Static method in class org.togglz.core.user.thread.ThreadLocalUserProvider
Removes the user associated with the current thread from the thread's context.
ReleaseDateActivationStrategy - Class in org.togglz.core.activation
 
ReleaseDateActivationStrategy() - Constructor for class org.togglz.core.activation.ReleaseDateActivationStrategy
 
reloadIfUpdated() - Method in interface org.togglz.core.repository.property.PropertySource
Reloads the properties from the source if they have been changed since the last load.
remove(Object) - Method in class org.togglz.core.util.ConcurrentReferenceHashMap
Removes the key (and its corresponding value) from this map.
remove(Object) - Method in class org.togglz.core.util.FeatureMap
 
remove(Object, Object) - Method in class org.togglz.core.util.ConcurrentReferenceHashMap
removeKeysStartingWith(String) - Method in interface org.togglz.core.repository.property.PropertySource.Editor
Removes all keys with the specified prefix.
replace(K, V) - Method in class org.togglz.core.util.ConcurrentReferenceHashMap
replace(K, V, V) - Method in class org.togglz.core.util.ConcurrentReferenceHashMap

S

ScriptEngineActivationStrategy - Class in org.togglz.core.activation
 
ScriptEngineActivationStrategy() - Constructor for class org.togglz.core.activation.ScriptEngineActivationStrategy
 
serialize(Map<String, String>) - Method in class org.togglz.core.repository.util.DefaultMapSerializer
 
serialize(Map<String, String>) - Method in interface org.togglz.core.repository.util.MapSerializer
Converts the given map to a string representation that can be used to restore the map using MapSerializer.deserialize(String).
serializer - Variable in class org.togglz.core.repository.jdbc.JDBCStateRepository
 
serializer(MapSerializer) - Method in class org.togglz.core.repository.jdbc.JDBCStateRepository.Builder
The MapSerializer for storing parameters.
ServerIpActivationStrategy - Class in org.togglz.core.activation
Activation strategy that allows to activate features only for certain server IPs.
ServerIpActivationStrategy() - Constructor for class org.togglz.core.activation.ServerIpActivationStrategy
 
Services - Class in org.togglz.core.util
Helper class to lookup SPI implementations using the ServiceLoader.
Services() - Constructor for class org.togglz.core.util.Services
 
setAttribute(String, Object) - Method in class org.togglz.core.user.SimpleFeatureUser
This method can be used to set attributes of the user.
setEnabled(boolean) - Method in class org.togglz.core.repository.FeatureState
Enables or disables the feature.
setEnabled(boolean) - Method in class org.togglz.core.util.FeatureStateStorageWrapper
 
setFeatureManager(FeatureManager) - Static method in class org.togglz.core.context.StaticFeatureManagerProvider
Sets the FeatureManager that the provider should return for calls to StaticFeatureManagerProvider.getFeatureManager().
setFeatureState(FeatureState) - Method in class org.togglz.core.logging.LoggingStateRepository
 
setFeatureState(FeatureState) - Method in class org.togglz.core.manager.DefaultFeatureManager
 
setFeatureState(FeatureState) - Method in interface org.togglz.core.manager.FeatureManager
Updates the state of a feature.
setFeatureState(FeatureState) - Method in class org.togglz.core.manager.LazyResolvingFeatureManager
 
setFeatureState(FeatureState) - Method in class org.togglz.core.repository.cache.CachingStateRepository
 
setFeatureState(FeatureState) - Method in class org.togglz.core.repository.composite.CompositeStateRepository
Sets the feature state on the repositories returned by the current setter selection.
setFeatureState(FeatureState) - Method in class org.togglz.core.repository.jdbc.JDBCStateRepository
 
setFeatureState(FeatureState) - Method in class org.togglz.core.repository.listener.ListenableStateRepository
 
setFeatureState(FeatureState) - Method in class org.togglz.core.repository.mem.InMemoryStateRepository
 
setFeatureState(FeatureState) - Method in class org.togglz.core.repository.property.PropertyBasedStateRepository
 
setFeatureState(FeatureState) - Method in interface org.togglz.core.repository.StateRepository
Persist the supplied feature state.
setIterationOrder(CompositeStateRepository.RepositorySelector) - Method in class org.togglz.core.repository.composite.CompositeStateRepository
Sets the order this composite calls to get feature states.
setParameter(String, String) - Method in class org.togglz.core.repository.FeatureState
Sets a new value for the given parameter.
setSetterSelection(CompositeStateRepository.RepositorySelector) - Method in class org.togglz.core.repository.composite.CompositeStateRepository
Sets the selector for which state repositories to call to set a feature state.
setStrategyId(String) - Method in class org.togglz.core.repository.FeatureState
Sets the selected activation strategy ID
setStrategyId(String) - Method in class org.togglz.core.util.FeatureStateStorageWrapper
 
setValue(String, String) - Method in interface org.togglz.core.repository.property.PropertySource.Editor
Sets the specified key to the specified value.
SimpleFeatureGroup - Class in org.togglz.core.metadata
Simple version of a FeatureGroup that gets all information in the constructor
SimpleFeatureGroup(String) - Constructor for class org.togglz.core.metadata.SimpleFeatureGroup
 
SimpleFeatureUser - Class in org.togglz.core.user
Default implementation of FeatureUser.
SimpleFeatureUser(String) - Constructor for class org.togglz.core.user.SimpleFeatureUser
Constructor of DefaultFeatureManager.
SimpleFeatureUser(String, boolean) - Constructor for class org.togglz.core.user.SimpleFeatureUser
Constructor of DefaultFeatureManager.
singleline() - Static method in class org.togglz.core.repository.util.DefaultMapSerializer
Creates a new instance of the DefaultMapSerializer.
SingleUserProvider - Class in org.togglz.core.user
A very simple implementation of UserProvider which always returns the supplied user.
SingleUserProvider(String) - Constructor for class org.togglz.core.user.SingleUserProvider
 
SingleUserProvider(String, boolean) - Constructor for class org.togglz.core.user.SingleUserProvider
 
SingleUserProvider(FeatureUser) - Constructor for class org.togglz.core.user.SingleUserProvider
 
size() - Method in class org.togglz.core.util.ConcurrentReferenceHashMap
Returns the number of key-value mappings in this map.
size() - Method in class org.togglz.core.util.FeatureMap
 
SOFT - Enum constant in enum class org.togglz.core.util.ConcurrentReferenceHashMap.ReferenceType
Indicates a SoftReference should be used
splitAndTrim(String, String) - Static method in class org.togglz.core.util.Strings
 
start(FeatureManager) - Method in interface org.togglz.core.spi.FeatureManagerListener
Called after the FeatureManager for the application has been created.
stateRepository(StateRepository) - Method in class org.togglz.core.manager.FeatureManagerBuilder
Use the supplied state repository for the feature manager.
StateRepository - Interface in org.togglz.core.repository
This interface defines the contract for a class that stores the feature state.
StaticFeatureManagerProvider - Class in org.togglz.core.context
Implementation of FeatureManagerProvider for Java SE applications.
StaticFeatureManagerProvider() - Constructor for class org.togglz.core.context.StaticFeatureManagerProvider
 
stop(FeatureManager) - Method in interface org.togglz.core.spi.FeatureManagerListener
Called before the FeatureManager of the application is destroyed.
Strings - Class in org.togglz.core.util
 
Strings() - Constructor for class org.togglz.core.util.Strings
 
STRONG - Enum constant in enum class org.togglz.core.util.ConcurrentReferenceHashMap.ReferenceType
Indicates a normal Java strong reference should be used
SystemPropertyActivationStrategy - Class in org.togglz.core.activation
ActivationStrategy based on a key value pair system property.
SystemPropertyActivationStrategy() - Constructor for class org.togglz.core.activation.SystemPropertyActivationStrategy
 

T

tableName - Variable in class org.togglz.core.repository.jdbc.JDBCStateRepository
 
tableName(String) - Method in class org.togglz.core.repository.jdbc.JDBCStateRepository.Builder
Sets the table name to use for the Togglz feature state table.
ThreadLocalFeatureManagerProvider - Class in org.togglz.core.context
This implementation of FeatureManagerProvider allows to store the FeatureManager in a ThreadLocal for the current thread.
ThreadLocalFeatureManagerProvider() - Constructor for class org.togglz.core.context.ThreadLocalFeatureManagerProvider
 
ThreadLocalUserProvider - Class in org.togglz.core.user.thread
This implementation of UserProvider is very useful if authentication has been implemented using a servlet filter.
ThreadLocalUserProvider() - Constructor for class org.togglz.core.user.thread.ThreadLocalUserProvider
 
toBoolean(String) - Static method in class org.togglz.core.util.Strings
Attempts to return the best boolean representation for the specified string while remaining null-safe and ignoring any leading/trailing whitespace as well as case.
Togglz - Class in org.togglz.core
 
Togglz() - Constructor for class org.togglz.core.Togglz
 
TogglzBootstrap - Interface in org.togglz.core.bootstrap
Implementations of this interface are looked up by Togglz during the bootstrapping process and used to create the FeatureManager for the application.
togglzConfig(TogglzConfig) - Method in class org.togglz.core.manager.FeatureManagerBuilder
Initialize the builder with the configuration from the supplied TogglzConfig instance.
TogglzConfig - Interface in org.togglz.core.manager
This interface represents the configuration of Togglz.
TogglzSwitchable<T> - Class in org.togglz.core.proxy
Simple switch which sets its delegate to one of two objects depending on the state of the specified Feature.
TogglzSwitchable(FeatureManager, Feature, T, T) - Constructor for class org.togglz.core.proxy.TogglzSwitchable
 
tokenize(FeatureState, String, AbstractTokenizedActivationStrategy.TokenTransformer) - Method in class org.togglz.core.activation.AbstractTokenizedActivationStrategy
Looks up and tokenizes the value of the parameter with the given name on the feature.
toString() - Method in class org.togglz.core.manager.DefaultFeatureManager
 
toString() - Method in class org.togglz.core.util.MoreObjects.ToStringHelper
Returns a string in the format specified by MoreObjects.toStringHelper(Object).
toString(Readable) - Static method in class org.togglz.core.util.IOUtils
Reads all characters from a Readable object into a String.
toStringHelper(Object) - Static method in class org.togglz.core.util.MoreObjects
Creates an instance of MoreObjects.ToStringHelper.
transform(String) - Method in interface org.togglz.core.activation.AbstractTokenizedActivationStrategy.TokenTransformer
Transforms the token value provided.
trim(String) - Static method in class org.togglz.core.util.Strings
Trims the specified string while remaining null-safe.
trimToNull(String) - Static method in class org.togglz.core.util.Strings
Trims the specified string and, if the resulting string is empty, will return null instead.

U

update(Object) - Static method in class org.togglz.core.proxy.TogglzSwitchable
Manually update the internal delegation of a TogglzSwitchable against its Feature state.
usePostgresTextColumns - Variable in class org.togglz.core.repository.jdbc.JDBCStateRepository
 
usePostgresTextColumns(boolean) - Method in class org.togglz.core.repository.jdbc.JDBCStateRepository.Builder
If set to true, createTable being true, and running on PostgreSQL, the table will use the TEXT column type where possible.
USER_ATTRIBUTE_ROLES - Static variable in class org.togglz.core.activation.UserRoleActivationStrategy
 
UsernameActivationStrategy - Class in org.togglz.core.activation
Activation strategy that allows to activate features only for certain users.
UsernameActivationStrategy() - Constructor for class org.togglz.core.activation.UsernameActivationStrategy
 
userProvider(UserProvider) - Method in class org.togglz.core.manager.FeatureManagerBuilder
Use the supplied UserProvider for the feature manager.
UserProvider - Interface in org.togglz.core.user
Implementations of this class a responsible to identify the current user acting in the application.
UserRoleActivationStrategy - Class in org.togglz.core.activation
ActivationStrategy implementation based on roles of the current user.
UserRoleActivationStrategy() - Constructor for class org.togglz.core.activation.UserRoleActivationStrategy
 

V

Validate - Class in org.togglz.core.util
Common methods for checking method contracts.
Validate() - Constructor for class org.togglz.core.util.Validate
 
value() - Element in annotation interface org.togglz.core.annotation.ActivationParameter
The value of the parameter.
value() - Element in annotation interface org.togglz.core.annotation.FeatureAttribute
The name of the feature attribute.
value() - Element in annotation interface org.togglz.core.annotation.FeatureGroup
The human readable feature group of this feature
value() - Element in annotation interface org.togglz.core.annotation.InfoLink
A link for additional information for this feature.
value() - Element in annotation interface org.togglz.core.annotation.Label
The human readable label of this feature
value() - Element in annotation interface org.togglz.core.annotation.Owner
The name of a contact person for the feature.
valueOf(String) - Static method in enum class org.togglz.core.repository.composite.CompositeStateRepository.IterationOrder
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.togglz.core.repository.composite.CompositeStateRepository.SetterSelection
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.togglz.core.util.ConcurrentReferenceHashMap.Option
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.togglz.core.util.ConcurrentReferenceHashMap.ReferenceType
Returns the enum constant of this class with the specified name.
values() - Static method in enum class org.togglz.core.repository.composite.CompositeStateRepository.IterationOrder
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.togglz.core.repository.composite.CompositeStateRepository.SetterSelection
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.togglz.core.util.ConcurrentReferenceHashMap.Option
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.togglz.core.util.ConcurrentReferenceHashMap.ReferenceType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Method in class org.togglz.core.util.ConcurrentReferenceHashMap
Returns a Collection view of the values contained in this map.
values() - Method in class org.togglz.core.util.FeatureMap
 

W

WEAK - Enum constant in enum class org.togglz.core.util.ConcurrentReferenceHashMap.ReferenceType
Indicates a WeakReference should be used
Weighted - Interface in org.togglz.core.util
Common interface for classes that have different priorities.
Weighted.WeightedComparator - Class in org.togglz.core.util
 
WeightedComparator() - Constructor for class org.togglz.core.util.Weighted.WeightedComparator
 
wrapperForFeatureState(FeatureState) - Static method in class org.togglz.core.util.FeatureStateStorageWrapper
 
A B C D E F G H I J K L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form