Uses of Class
org.togglz.core.repository.FeatureState
-
-
Uses of FeatureState in org.togglz.core.activation
Methods in org.togglz.core.activation with parameters of type FeatureState Modifier and Type Method Description protected 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)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.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 FeatureState Modifier and Type Method Description FeatureStateLoggingStateRepository. getFeatureState(Feature feature)Methods in org.togglz.core.logging with parameters of type FeatureState Modifier and Type Method Description voidLoggingStateRepository. setFeatureState(FeatureState featureState) -
Uses of FeatureState in org.togglz.core.manager
Methods in org.togglz.core.manager that return FeatureState Modifier and Type Method Description FeatureStateDefaultFeatureManager. getFeatureState(Feature feature)FeatureStateFeatureManager. getFeatureState(Feature feature)Returns theFeatureStatefor the specified feature.FeatureStateLazyResolvingFeatureManager. getFeatureState(Feature feature)Methods in org.togglz.core.manager with parameters of type FeatureState Modifier and Type Method Description voidDefaultFeatureManager. 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 FeatureState Modifier and Type Method Description FeatureStateEmptyFeatureMetaData. getDefaultFeatureState()FeatureStateFeatureMetaData. 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 Modifier and Type Method Description FeatureStateEnumFeatureMetaData. getDefaultFeatureState() -
Uses of FeatureState in org.togglz.core.metadata.property
Methods in org.togglz.core.metadata.property that return FeatureState Modifier and Type Method Description FeatureStatePropertyFeatureMetaData. getDefaultFeatureState() -
Uses of FeatureState in org.togglz.core.repository
Methods in org.togglz.core.repository that return FeatureState Modifier and Type Method Description FeatureStateFeatureState. addUser(String user)Deprecated.This method will be removed soon.FeatureStateFeatureState. addUsers(Collection<String> users)Deprecated.This method will be removed soon.FeatureStateFeatureState. copy()Creates a copy of this state objectstatic FeatureStateFeatureState. copyOf(FeatureState featureState)Returns a copy of a featureState, ornullif the featureState isnull.FeatureStateFeatureState. disable()Disable the featureFeatureStateFeatureState. enable()Enable the featureFeatureStateStateRepository. getFeatureState(Feature feature)Get the persisted state of a feature from the repository.FeatureStateFeatureState. setEnabled(boolean enabled)Enables or disables the feature.FeatureStateFeatureState. setParameter(String name, String value)Sets a new value for the given parameter.FeatureStateFeatureState. setStrategyId(String strategyId)Sets the selected activation strategy IDMethods in org.togglz.core.repository with parameters of type FeatureState Modifier and Type Method Description static 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 FeatureState Modifier and Type Method Description FeatureStateCachingStateRepository. getFeatureState(Feature feature)Methods in org.togglz.core.repository.cache with parameters of type FeatureState Modifier and Type Method Description voidCachingStateRepository. setFeatureState(FeatureState featureState) -
Uses of FeatureState in org.togglz.core.repository.composite
Methods in org.togglz.core.repository.composite that return FeatureState Modifier and Type Method Description FeatureStateCompositeStateRepository. 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 FeatureState Modifier and Type Method Description voidCompositeStateRepository. 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 FeatureState Modifier and Type Method Description FeatureStateJDBCStateRepository. getFeatureState(Feature feature)Methods in org.togglz.core.repository.jdbc with parameters of type FeatureState Modifier and Type Method Description voidJDBCStateRepository. setFeatureState(FeatureState featureState) -
Uses of FeatureState in org.togglz.core.repository.listener
Methods in org.togglz.core.repository.listener that return FeatureState Modifier and Type Method Description FeatureStateListenableStateRepository. getFeatureState(Feature feature)Methods in org.togglz.core.repository.listener with parameters of type FeatureState Modifier and Type Method Description voidFeatureStateChangedListener. 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 FeatureState Modifier and Type Method Description FeatureStateInMemoryStateRepository. getFeatureState(Feature feature)Methods in org.togglz.core.repository.mem with parameters of type FeatureState Modifier and Type Method Description voidInMemoryStateRepository. setFeatureState(FeatureState featureState) -
Uses of FeatureState in org.togglz.core.repository.property
Methods in org.togglz.core.repository.property that return FeatureState Modifier and Type Method Description FeatureStatePropertyBasedStateRepository. getFeatureState(Feature feature)Methods in org.togglz.core.repository.property with parameters of type FeatureState Modifier and Type Method Description voidPropertyBasedStateRepository. setFeatureState(FeatureState featureState) -
Uses of FeatureState in org.togglz.core.spi
Methods in org.togglz.core.spi with parameters of type FeatureState Modifier and Type Method Description booleanActivationStrategy. 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 FeatureState Modifier and Type Method Description static FeatureStateFeatureStateStorageWrapper. featureStateForWrapper(Feature feature, FeatureStateStorageWrapper wrapper)Methods in org.togglz.core.util with parameters of type FeatureState Modifier and Type Method Description static FeatureStateStorageWrapperFeatureStateStorageWrapper. wrapperForFeatureState(FeatureState featureState)
-