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
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.
Azure SDK for Java