Class ChangePath

java.lang.Object
org.apache.subversion.javahl.types.ChangePath
All Implemented Interfaces:
java.io.Serializable

public class ChangePath extends java.lang.Object implements java.io.Serializable
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static enum 
    Actions which may have occurred to this path.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    'A'dd, 'D'elete, 'R'eplace, 'M'odify
    private java.lang.String
    Source path of copy (if any).
    private long
    Source revision of copy (if any).
    private NodeKind
    The kind of the changed path.
    private java.lang.String
    Path of committed item
    private Tristate
    Whether the properties were modified.
    private static final long
     
    private Tristate
    Whether the text was modified.
  • Constructor Summary

    Constructors
    Constructor
    Description
    ChangePath(java.lang.String path, long copySrcRevision, java.lang.String copySrcPath, ChangePath.Action action, NodeKind nodeKind, Tristate textMods, Tristate propMods)
    Constructor to be called from the native code
  • Method Summary

    Modifier and Type
    Method
    Description
    Retrieve action performed
    java.lang.String
    Retrieve the copy source path (if any)
    long
    Retrieve the copy source revision (if any)
    Retrieve the node kind
    java.lang.String
    Retrieve the path to the committed item
    Retrieve whether the properties were modified.
    Retrieve whether the text was modified.

    Methods inherited from class java.lang.Object

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

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • 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 ChangePath.Action action
      'A'dd, 'D'elete, 'R'eplace, 'M'odify
    • nodeKind

      private NodeKind nodeKind
      The kind of the changed path.
    • textMods

      private Tristate textMods
      Whether the text was modified.
    • propMods

      private Tristate propMods
      Whether the properties were modified.
  • Constructor Details

    • ChangePath

      public ChangePath(java.lang.String path, long copySrcRevision, java.lang.String copySrcPath, ChangePath.Action action, NodeKind nodeKind, Tristate textMods, Tristate propMods)
      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
  • Method Details

    • 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 ChangePath.Action getAction()
      Retrieve action performed
      Returns:
      action performed
    • getNodeKind

      public NodeKind getNodeKind()
      Retrieve the node kind
      Returns:
      the node kind
    • getTextMods

      public Tristate getTextMods()
      Retrieve whether the text was modified.
      Returns:
      the text mod state
    • getPropMods

      public Tristate getPropMods()
      Retrieve whether the properties were modified.
      Returns:
      the prop mod state