com.microsoft.tfs.core.clients.workitem.revision
Interface RevisionCollection

All Superinterfaces:
java.lang.Iterable<Revision>

public interface RevisionCollection
extends java.lang.Iterable<Revision>

Represents the revision history of a work item.

Since:
TEE-SDK-10.1

Method Summary
 Revision get(int index)
          Gets a work item Revision at the specified index.
 java.util.Iterator<Revision> iterator()
           
 int size()
           
 

Method Detail

iterator

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

size

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

get

Revision get(int index)
Gets a work item Revision at the specified index.

Parameters:
index - The index of the desired Revision
Returns:
the work item Revision at the specified index.


© 2015 Microsoft. All rights reserved.