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:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • path

      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

      String url
      the url of the item
    • copyUrl

      String copyUrl
      the source of the copy
    • revision

      long revision
      the revision
  • Constructor Details

    • CommitItem

      CommitItem(String p, int nk, int sf, String u, String cu, long r)
      This constructor will be only called from the jni code.
      Parameters:
      p - path to the commit item
      nk - kind of node (see NodeKind)
      sf - state flags (see StateFlags)
      u - url of the item
      cu - copy source url
      r - revision number
    • CommitItem

      public CommitItem(CommitItem aItem)
      A backward-compat constructor.
  • Method Details

    • getPath

      public 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 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