Compartilhar via


TargetingFilterContext Class

  • java.lang.Object
    • com.azure.spring.cloud.feature.management.targeting.TargetingFilterContext

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 userId

void setGroups(List<String> groups)

Set the groups

void setUserId(String userId)

Set the userId

Methods inherited from java.lang.Object

Constructor Details

TargetingFilterContext

public TargetingFilterContext()

Creates an instance of TargetingFilterContext

Method Details

getGroups

public List getGroups()

Return the groups

Returns:

the groups

getUserId

public String getUserId()

Return the userId

Returns:

the userId

setGroups

public void setGroups(List groups)

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