Package org.tigris.subversion.javahl
Class CommitItem
java.lang.Object
org.tigris.subversion.javahl.CommitItem
- All Implemented Interfaces:
Serializable
public class CommitItem extends Object implements 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 classCommitItem.StateFlagsthe class for the commit item state flags. -
Constructor Summary
Constructors Constructor Description CommitItem(CommitItem aItem)A backward-compat constructor. -
Method Summary
Modifier and Type Method Description StringgetCopyUrl()Returns the source url if the item is copiedintgetNodeKind()return the node kind of the commit itemStringgetPath()retrieve the path of the commit itemlonggetRevision()Returns the revision numberintgetStateFlags()return the kind of change for the commit item.StringgetUrl()Returns the url of the item
-
Constructor Details
-
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
-