It's all about the answers!

Ask a question

List of deliveries in an RTC instance

SUNIL KUURAM (6431923) | asked Apr 29 '14, 11:02 a.m.
Hello Everyone,

Is it possible to get a list of code deliveries in an RTC instance across all streams on a specific day via RTC API?


One answer

permanent link
sam detweiler (12.5k6194201) | answered Apr 29 '14, 11:57 a.m.
I don't know if you can get 'delivery', but you can get changesets, and then you wil have to ripple thru them.
and IChangeHistory  has  methods to get specific history records.
documented in the javadoc


java.util.List findChangeSets(IChangeSetSearchCriteria criteria,
                              int maxResults,
                              org.eclipse.core.runtime.IProgressMonitor monitor)
                              throws TeamRepositoryException
Search the repository for changesets matching the specified criteria and return the matched changesets.

criteria - The criteria to look for, must not be null.
maxResults - The maximum number of results to return, must be >0, if larger than IWorkspaceManager.MAX_QUERY_SIZE , only IWorkspaceManager.MAX_QUERY_SIZE results will be returned.
monitor - a progress monitor, or null if progress reporting is not desired
The list of changeset handles maching the criteria, never null. Ordered by modified date, most recent first.
NotLoggedInException - if the operation fails because the client was not logged in to the repository
org.eclipse.core.runtime.OperationCanceledException - if the operation is canceled. Cancellation can occur even if no progress monitor is provided.
TeamRepositoryException - if the operation fails for any other reason

Your answer

Register or to post your answer.