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 ineraserfrom the current object and return the resulting difference.RevisionRangeListremove(RevisionRangeList eraser, boolean considerInheritance)Remove revisions ineraserfrom 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 ineraserfrom the current object and return the resulting difference.- Parameters:
eraser- The list of revisions to remoove.considerInheritance- Determines how to account for theRevisionRange#isInheritedproperty when comparing revision ranges for equality.- Throws:
ClientException
-
remove
public RevisionRangeList remove(RevisionRangeList eraser, boolean considerInheritance) throws ClientExceptionRemove revisions ineraserfrom the current object and return the resulting difference.- Parameters:
eraser- The list of revisions to remoove.considerInheritance- Determines how to account for theRevisionRange#isInheritedproperty when comparing revision ranges for equality.- Throws:
ClientException
-