|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.subversion.javahl.types.Mergeinfo
public class Mergeinfo
Merge history for a path.
| Nested Class Summary | |
|---|---|
static class |
Mergeinfo.Inheritance
The three ways to request mergeinfo affecting a given path in ISVNRemote.getMergeinfo(java.lang.Iterable. |
static class |
Mergeinfo.LogKind
Constants to specify which collection of revisions to report in getMergeinfoLog. |
| Constructor Summary | |
|---|---|
Mergeinfo()
|
|
Mergeinfo(String mergeinfo)
Create and populate an instance using the contents of the svn:mergeinfo property. |
|
| Method Summary | |
|---|---|
void |
addRevisionRange(String mergeSrc,
RevisionRange range)
Add a revision range to the merged revisions for a path. |
void |
addRevisions(String mergeSrc,
List<RevisionRange> ranges)
Add one or more RevisionRange objects to merge info. |
void |
addRevisions(String mergeSrc,
RevisionRangeList ranges)
|
Set<String> |
getPaths()
Get the merge source URLs. |
List<RevisionRange> |
getRevisionRange(String mergeSrc)
Get the RevisionRange objects for the specified merge source URL |
RevisionRangeList |
getRevisionRangeList(String mergeSrc)
Like #getReivsionRange, but returns a RevisionRangeList. |
List<RevisionRange> |
getRevisions(String mergeSrc)
Get the revision ranges for the specified merge source URL. |
void |
loadFromMergeinfoProperty(String mergeinfo)
Parse the svn:mergeinfo property to populate the
merge source URLs and revision ranges of this instance. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Mergeinfo()
public Mergeinfo(String mergeinfo)
svn:mergeinfo property.
mergeinfo - svn:mergeinfo property value.| Method Detail |
|---|
public void addRevisions(String mergeSrc,
List<RevisionRange> ranges)
mergeSrc - The merge source URL.ranges - RevisionRange objects to add.
SubversionException - If range list contains objects of
type other than RevisionRange.
public void addRevisions(String mergeSrc,
RevisionRangeList ranges)
public void addRevisionRange(String mergeSrc,
RevisionRange range)
mergeSrc - The merge source URL.range - The revision range to add.public Set<String> getPaths()
public List<RevisionRange> getRevisions(String mergeSrc)
mergeSrc - The merge source URL, or null.
null.public List<RevisionRange> getRevisionRange(String mergeSrc)
mergeSrc - The merge source URL, or null.
null.public RevisionRangeList getRevisionRangeList(String mergeSrc)
#getReivsionRange, but returns a RevisionRangeList.
public void loadFromMergeinfoProperty(String mergeinfo)
svn:mergeinfo property to populate the
merge source URLs and revision ranges of this instance.
mergeinfo - svn:mergeinfo property value.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||