Package org.tigris.subversion.javahl
Class CommitItem
java.lang.Object
org.tigris.subversion.javahl.CommitItem
- All Implemented Interfaces:
Serializable
This class describes a item which will be committed.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
the class for the commit item state flags. -
Field Summary
FieldsModifier and TypeFieldDescription(package private) String
the source of the copy(package private) int
the kind node (file or directory)(package private) String
the pathname of the item to be commit(package private) long
the revisionprivate static final long
(package private) int
the kind of change to be committed (See CommitItemStateFlages)(package private) String
the url of the item -
Constructor Summary
ConstructorsConstructorDescriptionCommitItem
(String p, int nk, int sf, String u, String cu, long r) This constructor will be only called from the jni code.CommitItem
(CommitItem aItem) A backward-compat constructor. -
Method Summary
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
path
String paththe pathname of the item to be commit -
nodeKind
int nodeKindthe kind node (file or directory) -
stateFlags
int stateFlagsthe kind of change to be committed (See CommitItemStateFlages) -
url
String urlthe url of the item -
copyUrl
String copyUrlthe source of the copy -
revision
long revisionthe revision
-
-
Constructor Details
-
CommitItem
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
A backward-compat constructor.
-
-
Method Details
-
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
Returns the url of the item- Returns:
- url
-
getCopyUrl
Returns the source url if the item is copied- Returns:
- source url
-
getRevision
public long getRevision()Returns the revision number- Returns:
- revision number
-