TargetingFilterContext Class
- java.
lang. Object - com.
azure. spring. cloud. feature. management. targeting. TargetingFilterContext
- com.
Implements
public final class TargetingFilterContext
implements TargetingContext
Context for evaluating the `Microsoft.TargetingFilter`.
Constructor Summary
Constructor | Description |
---|---|
TargetingFilterContext() |
Creates an instance of TargetingFilterContext |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<String> |
getGroups()
Return the groups |
String |
getUserId()
Return the user |
void |
setGroups(List<String> groups)
Set the groups |
void |
setUserId(String userId)
Set the user |
Methods inherited from java.lang.Object
Constructor Details
TargetingFilterContext
public TargetingFilterContext()
Creates an instance of TargetingFilterContext
Method Details
getGroups
public List
Return the groups
Returns:
the groups
getUserId
public String getUserId()
Return the userId
Returns:
the userId
setGroups
public void setGroups(List
Set the groups
Parameters:
groups
- the groups to set
setUserId
public void setUserId(String userId)
Set the userId
Parameters:
userId
- the userId to set
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java