com.microsoft.tfs.core.clients.workitem.wittype
Interface WorkItemTypeCollection

All Superinterfaces:
java.lang.Iterable<WorkItemType>

public interface WorkItemTypeCollection
extends java.lang.Iterable<WorkItemType>

Represents a collection of WorkItemType objects.

Since:
TEE-SDK-10.1

Method Summary
 WorkItemType get(int workItemTypeID)
          Gets a WorkItemType by ID.
 WorkItemType get(java.lang.String workItemTypeName)
          Gets a WorkItemType by name.
 WorkItemType[] getTypes()
           
 java.util.Iterator<WorkItemType> iterator()
           
 int size()
           
 

Method Detail

iterator

java.util.Iterator<WorkItemType> iterator()
Specified by:
iterator in interface java.lang.Iterable<WorkItemType>
Returns:
an iterator for this collection

size

int size()
Returns:
the number of WorkItemTypes in the collection.

get

WorkItemType get(java.lang.String workItemTypeName)
Gets a WorkItemType by name.

Parameters:
workItemTypeName - the name of the WorkItemType to get (must not be null)
Returns:
the WorkItemType for the specified name

get

WorkItemType get(int workItemTypeID)
Gets a WorkItemType by ID.

Parameters:
workItemTypeID - the ID of the WorkItemType to get
Returns:
the WorkItemType for the specified ID

getTypes

WorkItemType[] getTypes()
Returns:
an array of all WorkItemTypes


© 2015 Microsoft. All rights reserved.