public class RevisionRangeList
extends java.lang.Object
implements java.io.Serializable
Mergeinfo.| Constructor and Description |
|---|
RevisionRangeList(java.util.List<RevisionRange> ranges)
Wrap a list of revision ranges.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<RevisionRange> |
getRanges() |
java.util.List<RevisionRange> |
remove(java.util.List<RevisionRange> eraser,
boolean considerInheritance)
Remove revisions in
eraser from the current object
and return the resulting difference. |
RevisionRangeList |
remove(RevisionRangeList eraser,
boolean considerInheritance)
Remove revisions in
eraser from the current object
and return the resulting difference. |
public RevisionRangeList(java.util.List<RevisionRange> ranges)
public java.util.List<RevisionRange> getRanges()
public java.util.List<RevisionRange> remove(java.util.List<RevisionRange> eraser, boolean considerInheritance) throws ClientException
eraser from the current object
and return the resulting difference.eraser - The list of revisions to remoove.considerInheritance - Determines how to account for the
RevisionRange#isInherited property when comparing
revision ranges for equality.ClientExceptionpublic RevisionRangeList remove(RevisionRangeList eraser, boolean considerInheritance) throws ClientException
eraser from the current object
and return the resulting difference.eraser - The list of revisions to remoove.considerInheritance - Determines how to account for the
RevisionRange#isInherited property when comparing
revision ranges for equality.ClientException