Interface AnnotatedContent<R,E>

Type Parameters:
R - type of the revision object that old metadata about the revision.
E - type of the element to annotate (ie: String holding a line).
All Superinterfaces:
Iterable<AnnotatedElement<R,E>>

public interface AnnotatedContent<R,E> extends Iterable<AnnotatedElement<R,E>>
Annotated content.
Since:
6.2M2
Version:
$Id: 98ba7c0bceb21a9d0ddec3e92a7ca89a09bbd004 $
  • Method Details

    • iterator

      Specified by:
      iterator in interface Iterable<R>
    • getOldestRevision

      R getOldestRevision()
      Returns:
      the oldest revision provided to this annotated content. If you do not have further revision in the past, you may consider all unannotated line to belong to that revision. To do so, you may also call BlameManager#blame(AnnotatedContent, null, null) with this annotated content.
    • isEntirelyAnnotated

      boolean isEntirelyAnnotated()
      Returns:
      true if all elements as receive its source revision, which means that further call to BlameManager#blame are useless.