Package org.tigris.subversion.javahl
Class ChangePath
java.lang.Object
org.tigris.subversion.javahl.ChangePath
- All Implemented Interfaces:
Serializable
,Comparable
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionChangePath
(String path, long copySrcRevision, String copySrcPath, char action, int nodeKind) Constructor to be called from the native codeChangePath
(ChangePath aChangePath) A backward-compat constructor. -
Method Summary
Modifier and TypeMethodDescriptionint
char
Retrieve action performedRetrieve the copy source path (if any)long
Retrieve the copy source revision (if any)int
Retrieve the node kindgetPath()
Retrieve the path to the committed item
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
path
Path of committed item -
copySrcRevision
private long copySrcRevisionSource revision of copy (if any). -
copySrcPath
Source path of copy (if any). -
action
private char action'A'dd, 'D'elete, 'R'eplace, 'M'odify -
nodeKind
private int nodeKindThe kind of the changed path.
-
-
Constructor Details
-
ChangePath
Constructor to be called from the native code- Parameters:
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 path
-
ChangePath
A backward-compat constructor.
-
-
Method Details
-
compareTo
- Specified by:
compareTo
in interfaceComparable
-
getPath
Retrieve the path to the committed item- Returns:
- the path to the committed item
-
getCopySrcRevision
public long getCopySrcRevision()Retrieve the copy source revision (if any)- Returns:
- the copy source revision (if any)
-
getCopySrcPath
Retrieve the copy source path (if any)- Returns:
- the copy source path (if any)
-
getAction
public char getAction()Retrieve action performed- Returns:
- action performed
-
getNodeKind
public int getNodeKind()Retrieve the node kind- Returns:
- the node kind
-