org.tigris.subversion.javahl

Class CommitItem

public class CommitItem extends Object

this class describes a item which will be commited.
Nested Class Summary
static classCommitItem.StateFlags
the class for the commit item state flags.
Method Summary
StringgetCopyUrl()
Returns the source url if the item is copied
intgetNodeKind()
return the node kind of the commit item
StringgetPath()
retrieve the path of the commit item
longgetRevision()
Returns the revision number
intgetStateFlags()
return the kind of change for the commit item.
StringgetUrl()
Returns the url of the item

Method Detail

getCopyUrl

public String getCopyUrl()
Returns the source url if the item is copied

Returns: source url

getNodeKind

public int getNodeKind()
return the node kind of the commit item

Returns: the node kind. Look at the NodeKind class.

getPath

public String getPath()
retrieve the path of the commit item

Returns: the path.

getRevision

public long getRevision()
Returns the revision number

Returns: revision number

getStateFlags

public int getStateFlags()
return the kind of change for the commit item.

Returns: the state flags. Look at the CommitItemStateFlags interface.

getUrl

public String getUrl()
Returns the url of the item

Returns: url