Class TargetingFilterContext
java.lang.Object
com.azure.spring.cloud.feature.management.targeting.TargetingFilterContext
- All Implemented Interfaces:
TargetingContext
Context for evaluating the `Microsoft.TargetingFilter`.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
TargetingFilterContext
public TargetingFilterContext()Creates an instance ofTargetingFilterContext
-
-
Method Details
-
getUserId
Description copied from interface:TargetingContextReturn the userId- Specified by:
getUserIdin interfaceTargetingContext- Returns:
- the userId
-
setUserId
Description copied from interface:TargetingContextSet the userId- Specified by:
setUserIdin interfaceTargetingContext- Parameters:
userId- the userId to set
-
getGroups
Description copied from interface:TargetingContextReturn the groups- Specified by:
getGroupsin interfaceTargetingContext- Returns:
- the groups
-
setGroups
Description copied from interface:TargetingContextSet the groups- Specified by:
setGroupsin interfaceTargetingContext- Parameters:
groups- the groups to set
-