Package org.xwiki.blame
Interface BlameManager
Annotate/Blame/Praise tool that allow building annotated content from the content of all revision starting with
the most recent one.
- Since:
- 6.2M2
- Version:
- $Id: ce6f7ddedab16cbd216764ec4dc430912eec0a32 $
-
Method Summary
Modifier and TypeMethodDescription<R,
E> AnnotatedContent<R, E> blame
(AnnotatedContent<R, E> content, R revision, List<E> previous) Annotate content with current revision based on a diff with a previous revision.
-
Method Details
-
blame
Annotate content with current revision based on a diff with a previous revision.- 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).- Parameters:
content
- the annotated content (up to the revision preceding the one given), use null to start a new blame.revision
- the revision metadata to associate with the given revision.previous
- the content of the previous revision to diff against the currently annotated content, use the latest revision to start a new blame.- Returns:
- the updated annotated content.
-