com.microsoft.tfs.core.clients.workitem
Class GroupDataProvider

java.lang.Object
  extended by com.microsoft.tfs.core.clients.workitem.GroupDataProvider

public class GroupDataProvider
extends java.lang.Object

Provides information about groups that can be used in work item queries.

Since:
TEE-SDK-10.1

Constructor Summary
GroupDataProvider(WorkItemClient client, java.lang.String projectName)
          Constructor.
 
Method Summary
 java.lang.String[] getGroups()
          Returns the user groups which are allowed values for an "IN GROUP" clause for any WIT field of type string.
 java.lang.String[] getWorkItemCategories()
          Returns the categories which are allowed values for an "IN GROUP" clause when the target field is "Work item type".
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GroupDataProvider

public GroupDataProvider(WorkItemClient client,
                         java.lang.String projectName)
Constructor.

Parameters:
client - The work item client.
projectName - The project associated with this provider.
Method Detail

getGroups

public java.lang.String[] getGroups()
Returns the user groups which are allowed values for an "IN GROUP" clause for any WIT field of type string.

Returns:
An array of allowed group names.

getWorkItemCategories

public java.lang.String[] getWorkItemCategories()
Returns the categories which are allowed values for an "IN GROUP" clause when the target field is "Work item type".

Returns:
An array of allowed category names.


© 2015 Microsoft. All rights reserved.