|
JavaSVN Home | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.tmatesoft.svn.core.SVNLogEntryPath
The SVNLogEntryPath class encapsulates information about a single item changed in a revision. This information includes an item's path, a type of the changes made to the item, and if the item is a copy of another one - information about the item's ancestor.
SVNLogEntryPath objects are held by an SVNLogEntry object - they are representations of all the changed paths in the revision represented by that SVNLogEntry object.
SVNLogEntry
Constructor Summary | |
SVNLogEntryPath(String path,
char type,
String copyPath,
long copyRevision)
Constructs an SVNLogEntryPath object. |
Method Summary | |
String |
getCopyPath()
Returns the path of the ancestor of the item represented by this object. |
long |
getCopyRevision()
Returns the revision of the ancestor of the item represented by this object. |
String |
getPath()
Returns the path of the item represented by this object. |
char |
getType()
Gets the type of the change applied to the item represented by this object. |
protected void |
setPath(String path)
Sets the path of the item represented by this object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SVNLogEntryPath(String path, char type, String copyPath, long copyRevision)
path
- a path that was changed in a revisiontype
- a type of the path change; it can be one of the following:
'M' - Modified, 'A' - Added,
'D' - Deleted, 'R' - ReplacedcopyPath
- the path of the ancestor of the item represented
by path
(in that case if path
was copied), or null if
path
copyRevision
- the ancestor's revision if the path
is a branch,
or -1 if notMethod Detail |
public String getCopyPath()
public long getCopyRevision()
public String getPath()
public char getType()
protected void setPath(String path)
path
- a path of an item that was changed (regarding a definite
revision)
|
JavaSVN Home | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |