Interface ISVNMergeInfo
public interface ISVNMergeInfo
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddRevisionRange(String path, SVNRevisionRange range) Add a revision range to the merged revisions for a path.voidaddRevisions(String path, SVNRevisionRange[] range) Add one or more SVNRevisionRange objects to merge info.String[]getPaths()Get the merge source paths.getRevisionRange(String path) Get the RevisionRange objects for the specified pathgetRevisions(String path) Get the revision ranges for the specified path.voidloadFromMergeInfoProperty(String mergeInfo) Parse thesvn:mergeinfoproperty to populate the merge source paths and revision ranges of this instance.
-
Method Details
-
addRevisions
Add one or more SVNRevisionRange objects to merge info. If path is already stored, the list of revisions is replaced.- Parameters:
path- The merge source path.range- List of SVNRevisionRange objects to add.
-
addRevisionRange
Add a revision range to the merged revisions for a path. If the path already has associated revision ranges, add the revision range to the existing list.- Parameters:
path- The merge source path.range- The revision range to add.
-
getPaths
String[] getPaths()Get the merge source paths.- Returns:
- The merge source paths.
-
getRevisions
Get the revision ranges for the specified path.- Parameters:
path- The merge source path.- Returns:
- List of SVNRevisionRange objects, or
null.
-
getRevisionRange
Get the RevisionRange objects for the specified path- Parameters:
path- The merge source path.- Returns:
- Array of RevisionRange objects, or
null.
-
loadFromMergeInfoProperty
Parse thesvn:mergeinfoproperty to populate the merge source paths and revision ranges of this instance.- Parameters:
mergeInfo-svn:mergeinfoproperty value.
-