Class SvnDirEntry

java.lang.Object
com.zfabrik.svnaccess.SvnDirEntry
Direct Known Subclasses:
SvnInfo

public class SvnDirEntry extends Object
Encapsulates information of a dir item during a SVN LIST command including
  • path: path relative to the issued list/info command
  • crRelPath: path relative to the component repository root path
  • revision: path's revision
  • node-kind: path's node-kind - see NodeKind
  • Constructor Details

    • SvnDirEntry

      public SvnDirEntry(String path, String crRelPath, long revision, NodeKind nodeKind)
  • Method Details

    • getPath

      public String getPath()
      Returns:
      path relative to the svn list url
    • getCrRelPath

      public String getCrRelPath()
      Returns:
      path relative to the cr-base URL
    • getRevision

      public long getRevision()
      Returns:
      last changed revision
    • getNodeKind

      public NodeKind getNodeKind()
      Returns:
      dir entry kind (file or dir or ...)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object