Interface ITrackerRevision

All Superinterfaces:
IAdaptable, IChangeListener, IHasCustomValues, IHasValues, IPObject, IRevision

public interface ITrackerRevision extends IRevision
This is the tracker-aware extension of the revision interface. The IRevision objects can be adapted to this.

There are no extra fields in this extension, but some convenience tracker-related methods.

Author:
dobisekm
  • Method Details

    • getTrackerUser

      ITrackerUser getTrackerUser()
      Returns the author of the revision. The returned object is not resolved and the clients should consider it normal, that the user will not be resolvable (since the user name is taken from the actual repository revision).
      Returns:
      the unresolved ITrackerUser, the author of this revision.
    • getLinkedWIs

      IPObjectList getLinkedWIs()
      Returns all workitems linked to this revisions directly and derived. The result is the union of results of getLinkedWIsDirect() and getLinkedWIsDerived().
      Returns:
      a List containing all IWorkItems linked to this revision
    • getLinkedWIsDerived

      IPObjectList getLinkedWIsDerived()
      Searches the index to get the IDs of workitems, which link this revision.
      Returns:
      a List containing all IWorkItems, which link this revision
    • getLinkedWIsDerivedQuery

      String getLinkedWIsDerivedQuery()
      Returns a query, which lists all work items, that reference this revision.
      Returns:
      a query to find all work items linking this revision
    • getLinkedWIsDirect

      IPObjectList getLinkedWIsDirect()
      Returns all work items mentioned in this revisions message.
      Returns:
      a List containing all IWorkItems
    • getLinkedWIsDirectQuery

      String getLinkedWIsDirectQuery()
      Returns the query to find all workitems mentioned in the revision message.
      Returns:
      null if revision message refers no work items, the query string otherwise.
    • getLinkedWIsQuery

      String getLinkedWIsQuery()
      Returns a query which finds all workitems linked to this revisions directly and derived.
      Returns:
      a query which finds all qork items linked to this revision