TargetingContext Interface
public interface TargetingContext
Interface for the Targeting Context used in evaluating the `Microsoft.TargetingFilter`.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract List<String> |
getGroups()
Return the groups |
abstract String |
getUserId()
Return the user |
abstract void |
setGroups(List<String> groups)
Set the groups |
abstract void |
setUserId(String userId)
Set the user |
Method Details
getGroups
public abstract List
Return the groups
Returns:
the groups
getUserId
public abstract String getUserId()
Return the userId
Returns:
the userId
setGroups
public abstract void setGroups(List
Set the groups
Parameters:
groups
- the groups to set
setUserId
public abstract 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