|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.tmatesoft.svn.core.wc.SVNCopySource
public class SVNCopySource
The SVNCopySource class is used to provide copy source information in copy operations.
Constructor Summary | |
---|---|
SVNCopySource(SVNRevision pegRevision,
SVNRevision revision,
java.io.File path)
Creates a new SVNCopySource object. |
|
SVNCopySource(SVNRevision pegRevision,
SVNRevision revision,
SVNURL url)
Creates a new SVNCopySource object. |
Method Summary | |
---|---|
java.io.File |
getFile()
Returns the working copy path. |
java.lang.String |
getName()
Returns the name of this copy source. |
SVNRevision |
getPegRevision()
Returns the peg revision of the source. |
SVNRevision |
getRevision()
Returns the revision of the source. |
SVNURL |
getURL()
Returns the repository url of the source. |
boolean |
isCopyContents()
Tells whether the contents of this copy source should be copied rather than the copy source itself. |
boolean |
isURL()
Tells if this copy source is url. |
void |
setCopyContents(boolean copyContents)
Sets whether to expand this copy source to its contents or not. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SVNCopySource(SVNRevision pegRevision, SVNRevision revision, java.io.File path)
SVNCopySource
object.
pegRevision
- peg revision where path
is validrevision
- revision of path
path
- working copy pathpublic SVNCopySource(SVNRevision pegRevision, SVNRevision revision, SVNURL url)
SVNCopySource
object.
pegRevision
- peg revision where url
is validrevision
- revision of url
url
- repository urlMethod Detail |
---|
public java.io.File getFile()
public SVNRevision getPegRevision()
public SVNRevision getRevision()
public SVNURL getURL()
public boolean isURL()
getURL()
returns non-null;
otherwise false (returns non-null
)public java.lang.String getName()
public void setCopyContents(boolean copyContents)
copyContents
- true to expand; otherwise
falseisCopyContents()
public boolean isCopyContents()
specifies
to copy contents of a file he will get an SVNException
. So, if this copy source represents a
directory and if this method returns true, children of this copy source
directory will be copied to the target instead of the copy source.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |