Class SVNLocationEntry

java.lang.Object
org.tmatesoft.svn.core.io.SVNLocationEntry

public class SVNLocationEntry extends java.lang.Object
The SVNLocationEntry represents a mapping of a path to its revision. That is, the repository path of an item in a particular revision.
Since:
1.2
Version:
1.3
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private boolean
     
    private java.util.Map
     
    private java.lang.String
     
    private long
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    SVNLocationEntry(long revision, java.lang.String path)
    Constructs an SVNLocationEntry object.
    SVNLocationEntry(long revision, java.lang.String path, boolean isResultOfMerge, java.util.Map mergedMergeInfo)
    Constructs an SVNLocationEntry object.
  • Method Summary

    Modifier and Type
    Method
    Description
    java.util.Map
    Returns merge info for this path@revision.
    java.lang.String
    Gets the path.
    long
    Gets the revision number.
    boolean
    Tells if this path@revision is a result of a merge operation.

    Methods inherited from class java.lang.Object

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

    • myRevision

      private long myRevision
    • myPath

      private java.lang.String myPath
    • myIsResultOfMerge

      private boolean myIsResultOfMerge
    • myMergedMergeInfo

      private java.util.Map myMergedMergeInfo
  • Constructor Details

    • SVNLocationEntry

      public SVNLocationEntry(long revision, java.lang.String path)
      Constructs an SVNLocationEntry object.
      Parameters:
      revision - a revision number
      path - an item's path in the reposytory in the revision
    • SVNLocationEntry

      public SVNLocationEntry(long revision, java.lang.String path, boolean isResultOfMerge, java.util.Map mergedMergeInfo)
      Constructs an SVNLocationEntry object.
      Parameters:
      revision - a revision number
      path - an item's path in the repository in the revision
      isResultOfMerge - whether this revision is a result of a merge
      mergedMergeInfo - merge info of this path@revision
      Since:
      1.2.0
  • Method Details

    • getPath

      public java.lang.String getPath()
      Gets the path.
      Returns:
      a path
    • getRevision

      public long getRevision()
      Gets the revision number.
      Returns:
      a revision number.
    • isResultOfMerge

      public boolean isResultOfMerge()
      Tells if this path@revision is a result of a merge operation.

      Note: this is always false for location entry objects received through the public APIs. This method is not intended for API users.

      Returns:
      true is it's a result of a merge; otherwise false
      Since:
      1.2.0
    • getMergedMergeInfo

      public java.util.Map getMergedMergeInfo()
      Returns merge info for this path@revision.

      Note: this is always null for location entry objects received through the public APIs. This method is not intended for API users.

      Returns:
      merge info
      Since:
      1.2.0