Uses of Class
org.togglz.core.repository.FeatureState
Packages that use FeatureState
Package
Description
-
Uses of FeatureState in org.togglz.core.activation
Methods in org.togglz.core.activation with parameters of type FeatureStateModifier and TypeMethodDescriptionprotected StringAbstractPropertyDrivenActivationStrategy.getPropertyName(FeatureState featureState, String parameterName) Returns the name of the property on which to base the activation of the feature.protected abstract StringAbstractPropertyDrivenActivationStrategy.getPropertyValue(FeatureState featureState, FeatureUser user, String name) Returns the value of the property with the specifiednameon which to base the activation of the feature.protected StringSystemPropertyActivationStrategy.getPropertyValue(FeatureState featureState, FeatureUser user, String name) final booleanAbstractPropertyDrivenActivationStrategy.isActive(FeatureState featureState, FeatureUser user) protected booleanAbstractPropertyDrivenActivationStrategy.isActive(FeatureState featureState, FeatureUser user, String propertyName, String propertyValue) This method is called byAbstractPropertyDrivenActivationStrategy.isActive(FeatureState, FeatureUser)with the property name and value to make the decision as to whether the feature is active.final booleanAbstractTokenizedActivationStrategy.isActive(FeatureState featureState, FeatureUser user) protected abstract booleanAbstractTokenizedActivationStrategy.isActive(FeatureState featureState, FeatureUser user, List<AbstractTokenizedActivationStrategy.Token> tokens) This method is called byAbstractTokenizedActivationStrategy.isActive(FeatureState, FeatureUser)with the parsedtokensto make the decision as to whether the feature is active.booleanGradualActivationStrategy.isActive(FeatureState state, FeatureUser user) booleanReleaseDateActivationStrategy.isActive(FeatureState featureState, FeatureUser user) booleanScriptEngineActivationStrategy.isActive(FeatureState featureState, FeatureUser user) booleanServerIpActivationStrategy.isActive(FeatureState featureState, FeatureUser user) booleanUsernameActivationStrategy.isActive(FeatureState state, FeatureUser user) booleanUserRoleActivationStrategy.isActive(FeatureState state, FeatureUser user) protected List<AbstractTokenizedActivationStrategy.Token>AbstractTokenizedActivationStrategy.tokenize(FeatureState featureState, String parameterName, AbstractTokenizedActivationStrategy.TokenTransformer transformer) Looks up and tokenizes the value of the parameter with the given name on the feature. -
Uses of FeatureState in org.togglz.core.logging
Methods in org.togglz.core.logging that return FeatureStateMethods in org.togglz.core.logging with parameters of type FeatureStateModifier and TypeMethodDescriptionvoidLoggingStateRepository.setFeatureState(FeatureState featureState) -
Uses of FeatureState in org.togglz.core.manager
Methods in org.togglz.core.manager that return FeatureStateModifier and TypeMethodDescriptionDefaultFeatureManager.getFeatureState(Feature feature) FeatureManager.getFeatureState(Feature feature) Returns theFeatureStatefor the specified feature.LazyResolvingFeatureManager.getFeatureState(Feature feature) Methods in org.togglz.core.manager with parameters of type FeatureStateModifier and TypeMethodDescriptionvoidDefaultFeatureManager.setFeatureState(FeatureState state) voidFeatureManager.setFeatureState(FeatureState state) Updates the state of a feature.voidLazyResolvingFeatureManager.setFeatureState(FeatureState state) -
Uses of FeatureState in org.togglz.core.metadata
Methods in org.togglz.core.metadata that return FeatureStateModifier and TypeMethodDescriptionEmptyFeatureMetaData.getDefaultFeatureState()FeatureMetaData.getDefaultFeatureState()Default feature state, if it is not stored in aStateRepository. -
Uses of FeatureState in org.togglz.core.metadata.enums
Methods in org.togglz.core.metadata.enums that return FeatureState -
Uses of FeatureState in org.togglz.core.metadata.property
Methods in org.togglz.core.metadata.property that return FeatureState -
Uses of FeatureState in org.togglz.core.repository
Methods in org.togglz.core.repository that return FeatureStateModifier and TypeMethodDescriptionFeatureState.copy()Creates a copy of this state objectstatic FeatureStateFeatureState.copyOf(FeatureState featureState) Returns a copy of a featureState, ornullif the featureState isnull.FeatureState.disable()Disable the featureFeatureState.enable()Enable the featureStateRepository.getFeatureState(Feature feature) Get the persisted state of a feature from the repository.FeatureState.setEnabled(boolean enabled) Enables or disables the feature.FeatureState.setParameter(String name, String value) Sets a new value for the given parameter.FeatureState.setStrategyId(String strategyId) Sets the selected activation strategy IDMethods in org.togglz.core.repository with parameters of type FeatureStateModifier and TypeMethodDescriptionstatic FeatureStateFeatureState.copyOf(FeatureState featureState) Returns a copy of a featureState, ornullif the featureState isnull.voidStateRepository.setFeatureState(FeatureState featureState) Persist the supplied feature state. -
Uses of FeatureState in org.togglz.core.repository.cache
Methods in org.togglz.core.repository.cache that return FeatureStateMethods in org.togglz.core.repository.cache with parameters of type FeatureStateModifier and TypeMethodDescriptionvoidCachingStateRepository.setFeatureState(FeatureState featureState) -
Uses of FeatureState in org.togglz.core.repository.composite
Methods in org.togglz.core.repository.composite that return FeatureStateModifier and TypeMethodDescriptionCompositeStateRepository.getFeatureState(Feature feature) Returns the first non-null feature state as determined by the current iteration order.Methods in org.togglz.core.repository.composite with parameters of type FeatureStateModifier and TypeMethodDescriptionvoidCompositeStateRepository.setFeatureState(FeatureState featureState) Sets the feature state on the repositories returned by the current setter selection. -
Uses of FeatureState in org.togglz.core.repository.jdbc
Methods in org.togglz.core.repository.jdbc that return FeatureStateMethods in org.togglz.core.repository.jdbc with parameters of type FeatureStateModifier and TypeMethodDescriptionvoidJDBCStateRepository.setFeatureState(FeatureState featureState) -
Uses of FeatureState in org.togglz.core.repository.listener
Methods in org.togglz.core.repository.listener that return FeatureStateMethods in org.togglz.core.repository.listener with parameters of type FeatureStateModifier and TypeMethodDescriptionvoidFeatureStateChangedListener.onFeatureStateChanged(FeatureState fromState, FeatureState toState) Callback method that is called byListenableStateRepositoryinstances, whenStateRepository.setFeatureState(FeatureState)is called.voidListenableStateRepository.setFeatureState(FeatureState featureState) -
Uses of FeatureState in org.togglz.core.repository.mem
Methods in org.togglz.core.repository.mem that return FeatureStateMethods in org.togglz.core.repository.mem with parameters of type FeatureStateModifier and TypeMethodDescriptionvoidInMemoryStateRepository.setFeatureState(FeatureState featureState) -
Uses of FeatureState in org.togglz.core.repository.property
Methods in org.togglz.core.repository.property that return FeatureStateMethods in org.togglz.core.repository.property with parameters of type FeatureStateModifier and TypeMethodDescriptionvoidPropertyBasedStateRepository.setFeatureState(FeatureState featureState) -
Uses of FeatureState in org.togglz.core.spi
Methods in org.togglz.core.spi with parameters of type FeatureStateModifier and TypeMethodDescriptionbooleanActivationStrategy.isActive(FeatureState featureState, FeatureUser user) This method is responsible to decide whether a feature is active or not. -
Uses of FeatureState in org.togglz.core.util
Methods in org.togglz.core.util that return FeatureStateModifier and TypeMethodDescriptionstatic FeatureStateFeatureStateStorageWrapper.featureStateForWrapper(Feature feature, FeatureStateStorageWrapper wrapper) Methods in org.togglz.core.util with parameters of type FeatureStateModifier and TypeMethodDescriptionstatic FeatureStateStorageWrapperFeatureStateStorageWrapper.wrapperForFeatureState(FeatureState featureState)