Class ChangePath

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable

    public class ChangePath
    extends java.lang.Object
    implements java.io.Serializable, java.lang.Comparable
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private char action
      'A'dd, 'D'elete, 'R'eplace, 'M'odify
      private java.lang.String copySrcPath
      Source path of copy (if any).
      private long copySrcRevision
      Source revision of copy (if any).
      private int nodeKind
      The kind of the changed path.
      private java.lang.String path
      Path of committed item
      private static long serialVersionUID  
    • Constructor Summary

      Constructors 
      Constructor Description
      ChangePath​(java.lang.String path, long copySrcRevision, java.lang.String copySrcPath, char action, int nodeKind)
      Constructor to be called from the native code
      ChangePath​(ChangePath aChangePath)
      A backward-compat constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int compareTo​(java.lang.Object other)  
      char getAction()
      Retrieve action performed
      java.lang.String getCopySrcPath()
      Retrieve the copy source path (if any)
      long getCopySrcRevision()
      Retrieve the copy source revision (if any)
      int getNodeKind()
      Retrieve the node kind
      java.lang.String getPath()
      Retrieve the path to the committed item
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • path

        private java.lang.String path
        Path of committed item
      • copySrcRevision

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

        private java.lang.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 Detail

      • ChangePath

        ChangePath​(java.lang.String path,
                   long copySrcRevision,
                   java.lang.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 Detail

      • compareTo

        public int compareTo​(java.lang.Object other)
        Specified by:
        compareTo in interface java.lang.Comparable
      • getPath

        public java.lang.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 java.lang.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