Class ChangePath

java.lang.Object
org.tigris.subversion.javahl.ChangePath
All Implemented Interfaces:
Serializable, Comparable

public class ChangePath extends Object implements Serializable, Comparable
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • path

      private String path
      Path of committed item
    • copySrcRevision

      private long copySrcRevision
      Source revision of copy (if any).
    • copySrcPath

      private String copySrcPath
      Source path of copy (if any).
    • action

      private char action
      'A'dd, 'D'elete, 'R'eplace, 'M'odify
    • nodeKind

      private int nodeKind
      The kind of the changed path.
  • Constructor Details

    • ChangePath

      ChangePath(String path, long copySrcRevision, String copySrcPath, char action, int nodeKind)
      Constructor to be called from the native code
      Parameters:
      path - path of the commit item
      copySrcRevision - copy source revision (if any)
      copySrcPath - copy source path (if any)
      action - action performed
      nodeKind - the kind of the changed path
    • ChangePath

      public ChangePath(ChangePath aChangePath)
      A backward-compat constructor.
  • Method Details

    • compareTo

      public int compareTo(Object other)
      Specified by:
      compareTo in interface Comparable
    • getPath

      public String getPath()
      Retrieve the path to the committed item
      Returns:
      the path to the committed item
    • getCopySrcRevision

      public long getCopySrcRevision()
      Retrieve the copy source revision (if any)
      Returns:
      the copy source revision (if any)
    • getCopySrcPath

      public String getCopySrcPath()
      Retrieve the copy source path (if any)
      Returns:
      the copy source path (if any)
    • getAction

      public char getAction()
      Retrieve action performed
      Returns:
      action performed
    • getNodeKind

      public int getNodeKind()
      Retrieve the node kind
      Returns:
      the node kind