Class RevisionRangeList
java.lang.Object
org.apache.subversion.javahl.types.RevisionRangeList
- All Implemented Interfaces:
Serializable
public class RevisionRangeList extends Object implements Serializable
Object that describes a revision range list, including operations on it.
Returned from new accessors in
Mergeinfo
.- Since:
- 1.9
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description RevisionRangeList(List<RevisionRange> ranges)
Wrap a list of revision ranges. -
Method Summary
Modifier and Type Method Description List<RevisionRange>
getRanges()
List<RevisionRange>
remove(List<RevisionRange> eraser, boolean considerInheritance)
Remove revisions ineraser
from the current object and return the resulting difference.RevisionRangeList
remove(RevisionRangeList eraser, boolean considerInheritance)
Remove revisions ineraser
from the current object and return the resulting difference.
-
Constructor Details
-
RevisionRangeList
Wrap a list of revision ranges.
-
-
Method Details
-
getRanges
- Returns:
- The wrapped list of revision ranges.
-
remove
public List<RevisionRange> remove(List<RevisionRange> eraser, boolean considerInheritance) throws ClientExceptionRemove revisions ineraser
from the current object and return the resulting difference.- Parameters:
eraser
- The list of revisions to remoove.considerInheritance
- Determines how to account for theRevisionRange#isInherited
property when comparing revision ranges for equality.- Throws:
ClientException
-
remove
public RevisionRangeList remove(RevisionRangeList eraser, boolean considerInheritance) throws ClientExceptionRemove revisions ineraser
from the current object and return the resulting difference.- Parameters:
eraser
- The list of revisions to remoove.considerInheritance
- Determines how to account for theRevisionRange#isInherited
property when comparing revision ranges for equality.- Throws:
ClientException
-