public class ChangePath
extends java.lang.Object
implements java.io.Serializable, java.lang.Comparable
Modifier and Type | Field and Description |
---|---|
private char |
action
'A'dd, 'D'elete, 'R'eplace, 'M'odify
|
private java.lang.String |
copySrcPath
Source path of copy (if any).
|
private long |
copySrcRevision
Source revision of copy (if any).
|
private int |
nodeKind
The kind of the changed path.
|
private java.lang.String |
path
Path of committed item
|
private static long |
serialVersionUID |
Constructor and Description |
---|
ChangePath(ChangePath aChangePath)
A backward-compat constructor.
|
ChangePath(java.lang.String path,
long copySrcRevision,
java.lang.String copySrcPath,
char action,
int nodeKind)
Constructor to be called from the native code
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(java.lang.Object other) |
char |
getAction()
Retrieve action performed
|
java.lang.String |
getCopySrcPath()
Retrieve the copy source path (if any)
|
long |
getCopySrcRevision()
Retrieve the copy source revision (if any)
|
int |
getNodeKind()
Retrieve the node kind
|
java.lang.String |
getPath()
Retrieve the path to the committed item
|
private static final long serialVersionUID
private java.lang.String path
private long copySrcRevision
private java.lang.String copySrcPath
private char action
private int nodeKind
ChangePath(java.lang.String path, long copySrcRevision, java.lang.String copySrcPath, char action, int nodeKind)
path
- path of the commit itemcopySrcRevision
- copy source revision (if any)copySrcPath
- copy source path (if any)action
- action performednodeKind
- the kind of the changed pathpublic ChangePath(ChangePath aChangePath)
public int compareTo(java.lang.Object other)
compareTo
in interface java.lang.Comparable
public java.lang.String getPath()
public long getCopySrcRevision()
public java.lang.String getCopySrcPath()
public char getAction()
public int getNodeKind()