Package org.tigris.subversion.javahl
Class CommitItem
- java.lang.Object
-
- org.tigris.subversion.javahl.CommitItem
-
- All Implemented Interfaces:
java.io.Serializable
public class CommitItem extends java.lang.Object implements java.io.Serializable
This class describes a item which will be committed.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CommitItem.StateFlags
the class for the commit item state flags.
-
Field Summary
Fields Modifier and Type Field Description (package private) java.lang.String
copyUrl
the source of the copy(package private) int
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 revisionprivate 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 Summary
Constructors Constructor Description CommitItem(java.lang.String p, int nk, int sf, java.lang.String u, java.lang.String cu, long r)
This constructor will be only called from the jni code.CommitItem(CommitItem aItem)
A backward-compat constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getCopyUrl()
Returns the source url if the item is copiedint
getNodeKind()
return the node kind of the commit itemjava.lang.String
getPath()
retrieve the path of the commit itemlong
getRevision()
Returns the revision numberint
getStateFlags()
return the kind of change for the commit item.java.lang.String
getUrl()
Returns the url of the item
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
path
java.lang.String path
the pathname of the item to be commit
-
nodeKind
int nodeKind
the kind node (file or directory)
-
stateFlags
int stateFlags
the kind of change to be committed (See CommitItemStateFlages)
-
url
java.lang.String url
the url of the item
-
copyUrl
java.lang.String copyUrl
the source of the copy
-
revision
long revision
the revision
-
-
Constructor Detail
-
CommitItem
CommitItem(java.lang.String p, int nk, int sf, java.lang.String u, java.lang.String cu, long r)
This constructor will be only called from the jni code.- Parameters:
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 number
-
CommitItem
public CommitItem(CommitItem aItem)
A backward-compat constructor.
-
-
Method Detail
-
getPath
public java.lang.String getPath()
retrieve the path of the commit item- Returns:
- the path
-
getNodeKind
public int getNodeKind()
return the node kind of the commit item- Returns:
- the node kind. Look at the NodeKind class.
-
getStateFlags
public int getStateFlags()
return the kind of change for the commit item.- Returns:
- the state flags. Look at the CommitItemStateFlags interface.
-
getUrl
public java.lang.String getUrl()
Returns the url of the item- Returns:
- url
-
getCopyUrl
public java.lang.String getCopyUrl()
Returns the source url if the item is copied- Returns:
- source url
-
getRevision
public long getRevision()
Returns the revision number- Returns:
- revision number
-
-