org.apache.subversion.javahl.types
Class CopySource
java.lang.Object
org.apache.subversion.javahl.types.CopySource
- All Implemented Interfaces:
- Serializable
public class CopySource
- extends Object
- implements Serializable
A description of a copy source.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CopySource
public CopySource(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
.
getPath
public String getPath()
- Returns:
- The source path or URL.
getRevision
public Revision getRevision()
- Returns:
- The source revision.
getPegRevision
public Revision getPegRevision()
- Returns:
- The peg revision.