org.apache.subversion.javahl
Class CommitItem

java.lang.Object
  extended by org.apache.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
static class CommitItem.StateFlags
          the class for the commit item state flags.
 
Method Summary
 String getCopyUrl()
          Returns the source url if the item is copied
 String getMovedFromPath()
           
 NodeKind getNodeKind()
          return the node kind of the commit item
 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.
 String getUrl()
          Returns the url of the item
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getPath

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

Returns:
the path

getNodeKind

public NodeKind 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 String getUrl()
Returns the url of the item

Returns:
url

getCopyUrl

public 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

getMovedFromPath

public String getMovedFromPath()
Returns:
the absolute path of the source of a move.
Since:
1.8