public class CommitItem
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
CommitItem.StateFlags
the class for the commit item state flags.
|
Modifier and Type | Field and Description |
---|---|
(package private) java.lang.String |
copyUrl
the source of the copy
|
(package private) java.lang.String |
movedFromPath
the source of the move
|
(package private) NodeKind |
nodeKind
the kind node (file or directory)
|
(package private) java.lang.String |
path
the pathname of the item to be commit
|
(package private) long |
revision
the revision
|
private static long |
serialVersionUID |
(package private) int |
stateFlags
the kind of change to be committed (See CommitItemStateFlages)
|
(package private) java.lang.String |
url
the url of the item
|
Constructor and Description |
---|
CommitItem(java.lang.String p,
NodeKind nk,
int sf,
java.lang.String u,
java.lang.String cu,
long r,
java.lang.String mf)
This constructor will be only called from the jni code.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCopyUrl()
Returns the source url if the item is copied
|
java.lang.String |
getMovedFromPath() |
NodeKind |
getNodeKind()
return the node kind of the commit item
|
java.lang.String |
getPath()
retrieve the path of the commit item
|
long |
getRevision()
Returns the revision number
|
int |
getStateFlags()
return the kind of change for the commit item.
|
java.lang.String |
getUrl()
Returns the url of the item
|
private static final long serialVersionUID
java.lang.String path
NodeKind nodeKind
int stateFlags
java.lang.String url
java.lang.String copyUrl
long revision
java.lang.String movedFromPath
CommitItem(java.lang.String p, NodeKind nk, int sf, java.lang.String u, java.lang.String cu, long r, java.lang.String mf)
p
- path to the commit itemnk
- kind of node (see NodeKind)sf
- state flags (see StateFlags)u
- url of the itemcu
- copy source urlr
- revision numbermf
- move source abspathpublic java.lang.String getPath()
public NodeKind getNodeKind()
public int getStateFlags()
public java.lang.String getUrl()
public java.lang.String getCopyUrl()
public long getRevision()
public java.lang.String getMovedFromPath()