Interface IRevision

All Superinterfaces:
IAdaptable, IChangeListener, IHasCustomValues, IHasValues, IPObject
All Known Subinterfaces:
ITrackerRevision
All Known Implementing Classes:
Revision

public interface IRevision extends IPObject
Author:
POLARION SOFTWARE
  • Field Details

  • Method Details

    • getName

      String getName()
      Returns:
      The revision name (sometimes referred to as number, or id).
    • getRepositoryName

      String getRepositoryName()
      Returns:
      Name of the repository this revision belongs to
    • getStringAuthor

      String getStringAuthor()
    • getCreated

      Date getCreated()
    • getMessage

      String getMessage()
    • getBranch

      @Nullable String getBranch()
      Branch that the revision comes from. Only one branch will be specified. Returns value only if ERA service is used.
      Since:
      3.22.1
    • isInternalCommit

      boolean isInternalCommit()
    • isExternal

      boolean isExternal()
      Since:
      3.5.1
    • getViewURL

      String getViewURL()
      Since:
      3.5.1
    • getLocationDiffURL

      String getLocationDiffURL(ILocationChangeMetaData locationChangeMetaData)
      Since:
      3.5.2
    • getLocationURL

      String getLocationURL(ILocationChangeMetaData locationChangeMetaData)
      Since:
      3.5.2
    • getChangedLocations

      List<ILocationChangeMetaData> getChangedLocations()
      Since:
      3.5.2
    • getLabel

      @NotNull default String getLabel()
      Return a string with the format 'Name - Revision message' or only the Name if the message is null or empty.
      Since:
      3.24.4