public interface FeatureTogglesInfoProvider
FeatureTogglesInfo
for a RequestContext
.Modifier and Type | Method and Description |
---|---|
FeatureTogglesInfo |
get(UserInfo userInfo,
ParameterInfo parameterInfo) |
default void |
setPrevious(FeatureTogglesInfoProvider featureToggleProvider)
Passes the latest configured
FeatureTogglesProvider during configuration phase when this instances gets registered. |
FeatureTogglesInfo get(UserInfo userInfo, ParameterInfo parameterInfo)
userInfo
- The UserInfo
of the RequestContext
parameterInfo
- The ParameterInfo
of the RequestContext
FeatureTogglesInfo
default void setPrevious(FeatureTogglesInfoProvider featureToggleProvider)
FeatureTogglesProvider
during configuration phase when this instances gets registered.
The previous provider can be used to build an adapted provider on top.featureToggleProvider
- The previously registered provider.Copyright © 2023. All rights reserved.