Package com.sap.cds.services.runtime
Interface FeatureTogglesInfoProvider
public interface FeatureTogglesInfoProvider
A provider of the
FeatureTogglesInfo
for a RequestContext
.-
Method Summary
Modifier and TypeMethodDescriptionget
(UserInfo userInfo, ParameterInfo parameterInfo) default void
setPrevious
(FeatureTogglesInfoProvider featureToggleProvider) Passes the latest configuredFeatureTogglesProvider
during configuration phase when this instances gets registered.
-
Method Details
-
get
- Parameters:
userInfo
- TheUserInfo
of theRequestContext
parameterInfo
- TheParameterInfo
of theRequestContext
- Returns:
- The
FeatureTogglesInfo
-
setPrevious
Passes the latest configuredFeatureTogglesProvider
during configuration phase when this instances gets registered. The previous provider can be used to build an adapted provider on top.- Parameters:
featureToggleProvider
- The previously registered provider.
-