java.lang.Object org.tmatesoft.svn.core.wc.SVNBasicClient org.tmatesoft.svn.core.wc.SVNWCClient
-
public class SVNWCClient
- extends SVNBasicClient
The SVNWCClient class combines a number of version control operations mainly intended for local work with Working Copy items. This class includes those operations that are destined only for local work on a Working Copy as well as those that
are moreover able to access a repository.
Here's a list of the SVNWCClient's methods matched against corresponing commands of the SVN command line client:
SVNKit | Subversion |
doAdd() | 'svn add' |
doGetFileContents() | 'svn cat' |
doDelete() | 'svn delete' |
doCleanup() | 'svn cleanup' |
doInfo() | 'svn info' |
doLock() | 'svn lock' |
doUnlock() | 'svn unlock' |
doSetProperty() | 'svn propset PROPNAME PROPVAL PATH' 'svn propdel PROPNAME PATH' 'svn propedit PROPNAME PATH' |
doSetRevisionProperty() | 'svn propset PROPNAME --revprop -r REV PROPVAL [URL]' 'svn propdel PROPNAME --revprop -r REV [URL]' 'svn propedit PROPNAME --revprop -r REV [URL]' |
doGetProperty() | 'svn propget PROPNAME PATH' 'svn proplist PATH' |
doGetRevisionProperty() | 'svn propget PROPNAME --revprop -r REV [URL]' 'svn proplist --revprop -r REV [URL]' |
doResolve() | 'svn resolved' |
doRevert() | 'svn revert' |
- Since:
- 1.2
- See Also:
- Examples
Field Summary | |
---|---|
static ISVNAddParameters |
DEFAULT_ADD_PARAMETERS Default implementation of ISVNAddParameters which onInconsistentEOLs(File always returns the ISVNAddParameters.REPORT_ERROR action. |
Constructor Summary | |
---|---|
SVNWCClient(ISVNAuthenticationManager authManager, ISVNOptions options) Constructs and initializes an SVNWCClient object with the specified run-time configuration and authentication drivers. |
|
SVNWCClient(ISVNRepositoryPool repositoryPool, ISVNOptions options) Constructs and initializes an SVNWCClient object with the specified run-time configuration and repository pool object. |
Method Summary | |||
---|---|---|---|
void |
doAdd(java.io.File[] paths, Schedules working copy paths for addition to the repository. |
||
void |
doAdd(java.io.File path, Deprecated. use doAdd(File, instead |
||
void |
doAdd(java.io.File path, Deprecated. use doAdd(File, instead |
||
void |
doAdd(java.io.File path, Schedules a working copy path for addition to the repository. |
||
void |
doAdd(java.io.File path, Schedules a working copy path for addition to the repository. |
||
void |
doCleanup(java.io.File path) Cleans up a working copy. |
||
void |
doCleanup(java.io.File path, boolean deleteWCProperties) Recursively cleans up the working copy, removing locks and resuming unfinished operations. |
||
void |
doCleanupWCProperties(java.io.File directory) Recursively removes all DAV-specific "svn:wc:" properties from the directory and beneath. |
||
void |
doDelete(java.io.File path, boolean force, Schedules a Working Copy item for deletion. |
||
void |
doDelete(java.io.File path, boolean force, Schedules a Working Copy item for deletion. |
||
void |
doGetFileContents(java.io.File path, SVNRevision pegRevision, SVNRevision revision, Outputs the content of file identified by path and revision to the stream dst . |
||
void |
doGetFileContents(SVNURL url, SVNRevision pegRevision, SVNRevision revision, Outputs the content of file identified by url and revision to the stream dst . |
||
SVNPropertyData |
doGetProperty(java.io.File path, Gets the value of the property propName for path . |
||
void |
doGetProperty(java.io.File path, Deprecated. use doGetProperty(File, instead |
||
void |
doGetProperty(java.io.File path, Invokes handler on paths covered by depth starting with the specified path . |
||
SVNPropertyData |
doGetProperty(SVNURL url, Gets the value of the property propName for url . |
||
void |
doGetProperty(SVNURL url, Deprecated. use doGetProperty(SVNURL, instead |
||
void |
doGetProperty(SVNURL url, Invokes handler on paths covered by depth starting with the specified path . |
||
long |
doGetRevisionProperty(java.io.File path, Gets an unversioned revision property from a repository (getting a repository URL from a Working Copy) and passes it to a provided property handler. |
||
long |
doGetRevisionProperty(SVNURL url, Gets an unversioned revision property from a repository and passes it to a provided property handler. |
||
java.lang.String |
doGetWorkingCopyID(java.io.File path, Returns the current Working Copy min- and max- revisions as well as changes and switch status within a single string. |
||
java.lang.String |
doGetWorkingCopyID(java.io.File path, Returns the current Working Copy min- and max- revisions as well as changes and switch status within a single string. |
||
SVNInfo |
doInfo(java.io.File path, SVNRevision revision) Collects and returns information on a single Working Copy item. |
||
void |
doInfo(java.io.File path, SVNRevision revision, Deprecated. use doInfo(File, instead |
||
void |
doInfo(java.io.File path, SVNRevision pegRevision, SVNRevision revision, Deprecated. use doInfo(File, instead |
||
void |
doInfo(java.io.File path, SVNRevision pegRevision, SVNRevision revision, SVNDepth depth, Invokes handler to return information about path in revision . |
||
SVNInfo |
doInfo(SVNURL url, SVNRevision pegRevision, SVNRevision revision) Collects and returns information on a single item in a repository. |
||
void |
doInfo(SVNURL url, SVNRevision pegRevision, SVNRevision revision, Deprecated. use doInfo(SVNURL, instead |
||
void |
doInfo(SVNURL url, SVNRevision pegRevision, SVNRevision revision, SVNDepth depth, ISVNInfoHandler handler) Invokes handler to return information about url in revision . |
||
void |
doLock(java.io.File[] paths, boolean stealLock, Locks file items in a Working Copy as well as in a repository so that no other user can commit changes to them. |
||
void |
doLock(SVNURL[] urls, Locks file items in a repository so that no other user can commit changes to them. |
||
void |
doMarkReplaced(java.io.File path) Schedules path as being replaced. |
||
void |
doResolve(java.io.File path, boolean recursive) Deprecated. use doResolve(File, instead |
||
void |
doResolve(java.io.File path, SVNDepth depth, Performs automatic conflict resolution on a working copy path . |
||
void |
doResolve(java.io.File path, SVNDepth depth, Performs automatic conflict resolution on a working copy path . |
||
void |
doResolve(java.io.File path, SVNDepth depth, SVNConflictChoice conflictChoice) Performs automatic conflict resolution on a working copy path . |
||
void |
doRevert(java.io.File[] paths, boolean recursive) Deprecated. use doRevert(File[], instead |
||
void |
doRevert(java.io.File[] paths, SVNDepth depth, Restores the pristine version of working copy paths , effectively undoing any local mods. |
||
void |
doRevert(java.io.File path, boolean recursive) Deprecated. use doRevert(File[], |
||
void |
doSetProperty(java.io.File path, ISVNPropertyValueProvider propertyValueProvider, Crawls the working copy at path and calls ISVNPropertyValueProvider.providePropertyValues(java.io.File, to get properties to be change on each path being traversed
If |
||
void |
doSetProperty(java.io.File path, Deprecated. use doSetProperty(File, instead |
||
void |
doSetProperty(java.io.File path, Sets propName to propValue on path . |
||
SVNCommitInfo |
doSetProperty(SVNURL url, Sets propName to propValue on path . |
||
void |
doSetRevisionProperty(java.io.File path, SVNRevision revision, Set propName to propValue on revision revision in the repository represented by path . |
||
void |
doSetRevisionProperty(SVNURL url, SVNRevision revision, Set propName to propValue on revision revision in the repository represented by path . |
||
void |
doSetWCFormat(java.io.File directory, int format)
|