Class CopySource

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

public class CopySource extends java.lang.Object implements java.io.Serializable
A description of a copy source.
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private java.lang.String
    The source path or URL.
    private Revision
    The peg revision.
    private Revision
    The source revision.
    private static final long
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    CopySource(java.lang.String path, Revision revision, Revision pegRevision)
    Create a new instance.
  • Method Summary

    Modifier and Type
    Method
    Description
    java.lang.String
     
     
     

    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
      The source path or URL.
    • revision

      private Revision revision
      The source revision.
    • pegRevision

      private Revision pegRevision
      The peg revision.
  • Constructor Details

    • CopySource

      public CopySource(java.lang.String path, Revision revision, Revision pegRevision)
      Create a new instance.
      Parameters:
      path -
      revision - The source revision.
      pegRevision - The peg revision. Typically interpreted as Revision.HEAD when null.
  • Method Details

    • getPath

      public java.lang.String getPath()
      Returns:
      The source path or URL.
    • getRevision

      public Revision getRevision()
      Returns:
      The source revision.
    • getPegRevision

      public Revision getPegRevision()
      Returns:
      The peg revision.