| Package | Description |
|---|---|
| org.togglz.core.activation | |
| org.togglz.core.manager | |
| org.togglz.core.spi | |
| org.togglz.core.user | |
| org.togglz.core.user.jaas | |
| org.togglz.core.user.thread |
| Modifier and Type | Method and Description |
|---|---|
protected int |
GradualActivationStrategy.calculateHashCode(FeatureUser user)
Deprecated.
|
protected int |
GradualActivationStrategy.calculateHashCode(FeatureUser user,
Feature feature) |
protected abstract String |
AbstractPropertyDrivenActivationStrategy.getPropertyValue(FeatureState featureState,
FeatureUser user,
String name)
Returns the value of the property with the specified
name on which to base the activation of the feature. |
protected String |
SystemPropertyActivationStrategy.getPropertyValue(FeatureState featureState,
FeatureUser user,
String name) |
boolean |
AbstractTokenizedActivationStrategy.isActive(FeatureState featureState,
FeatureUser user) |
boolean |
ReleaseDateActivationStrategy.isActive(FeatureState featureState,
FeatureUser user) |
boolean |
UserRoleActivationStrategy.isActive(FeatureState state,
FeatureUser user) |
boolean |
ServerIpActivationStrategy.isActive(FeatureState featureState,
FeatureUser user) |
boolean |
ScriptEngineActivationStrategy.isActive(FeatureState featureState,
FeatureUser user) |
boolean |
AbstractPropertyDrivenActivationStrategy.isActive(FeatureState featureState,
FeatureUser user) |
boolean |
UsernameActivationStrategy.isActive(FeatureState state,
FeatureUser user) |
boolean |
GradualActivationStrategy.isActive(FeatureState state,
FeatureUser user) |
protected abstract boolean |
AbstractTokenizedActivationStrategy.isActive(FeatureState featureState,
FeatureUser user,
List<AbstractTokenizedActivationStrategy.Token> tokens)
This method is called by
AbstractTokenizedActivationStrategy.isActive(FeatureState, FeatureUser) with the parsed tokens to make the
decision as to whether the feature is active. |
protected boolean |
AbstractPropertyDrivenActivationStrategy.isActive(FeatureState featureState,
FeatureUser user,
String propertyName,
String propertyValue)
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. |
| Modifier and Type | Method and Description |
|---|---|
FeatureUser |
LazyResolvingFeatureManager.getCurrentFeatureUser() |
FeatureUser |
FeatureManager.getCurrentFeatureUser()
Get the current feature user.
|
FeatureUser |
DefaultFeatureManager.getCurrentFeatureUser() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
ActivationStrategy.isActive(FeatureState featureState,
FeatureUser user)
This method is responsible to decide whether a feature is active or not.
|
| Modifier and Type | Class and Description |
|---|---|
class |
SimpleFeatureUser
Default implementation of
FeatureUser. |
| Modifier and Type | Method and Description |
|---|---|
FeatureUser |
SingleUserProvider.getCurrentUser() |
FeatureUser |
NoOpUserProvider.getCurrentUser() |
FeatureUser |
UserProvider.getCurrentUser()
Return a
FeatureUser instance representing the current user. |
| Constructor and Description |
|---|
SingleUserProvider(FeatureUser featureUser) |
| Modifier and Type | Method and Description |
|---|---|
FeatureUser |
JAASUserProvider.getCurrentUser() |
| Modifier and Type | Method and Description |
|---|---|
FeatureUser |
ThreadLocalUserProvider.getCurrentUser() |
| Modifier and Type | Method and Description |
|---|---|
static void |
ThreadLocalUserProvider.bind(FeatureUser featureUser)
Store the supplied FeatureUser in the thread context.
|
Copyright © 2018. All Rights Reserved.