| org.tigris.subversion.javahl.SVNClientInterface
All known Subclasses: org.tmatesoft.svn.core.javahl.SVNClientImpl, org.tigris.subversion.javahl.SVNClient, org.tigris.subversion.javahl.SVNClientSynchronized,
SVNClientInterface | public interface SVNClientInterface (Code) | | This interface is the commom interface for all subversion
operations. It is implemented by SVNClient and SVNClientSynchronized
|
Method Summary | |
void | add(String path, boolean recurse) Adds a file to the repository. | void | add(String path, boolean recurse, boolean force) Adds a file to the repository. | byte[] | blame(String path, Revision revisionStart, Revision revisionEnd) Return for each line of the file, the author and the revision of the
last together with the content. | void | blame(String path, Revision revisionStart, Revision revisionEnd, BlameCallback callback) | void | blame(String path, Revision pegRevision, Revision revisionStart, Revision revisionEnd, BlameCallback callback) | void | cancelOperation() | long | checkout(String moduleName, String destPath, Revision revision, Revision pegRevision, boolean recurse, boolean ignoreExternals) Executes a revision checkout. | long | checkout(String moduleName, String destPath, Revision revision, boolean recurse) Executes a revision checkout. | void | cleanup(String path) Recursively cleans up a local directory, finishing any
incomplete operations, removing lockfiles, etc. | long | commit(String[] path, String message, boolean recurse) Commits changes to the repository.
Parameters: path - files to commit. Parameters: message - log message. Parameters: recurse - whether the operation should be done recursively. | long | commit(String[] path, String message, boolean recurse, boolean noUnlock) Commits changes to the repository.
Parameters: path - files to commit. Parameters: message - log message. Parameters: recurse - whether the operation should be done recursively. Parameters: noUnlock - do remove any locks Returns a long representing the revision. | void | commitMessageHandler(CommitMessage messageHandler) Sets the commit message handler. | void | copy(String srcPath, String destPath, String message, Revision revision) Copies a versioned file with the history preserved. | void | diff(String target1, Revision revision1, String target2, Revision revision2, String outFileName, boolean recurse) | void | diff(String target1, Revision revision1, String target2, Revision revision2, String outFileName, boolean recurse, boolean ignoreAncestry, boolean noDiffDeleted, boolean force) | void | diff(String target, Revision pegRevision, Revision startRevision, Revision endRevision, String outFileName, boolean recurse, boolean ignoreAncestry, boolean noDiffDeleted, boolean force) | void | dispose() | long | doExport(String srcPath, String destPath, Revision revision, boolean force) Exports the contents of either a subversion repository into a
'clean' directory (meaning a directory with no administrative
directories). | long | doExport(String srcPath, String destPath, Revision revision, Revision pegRevision, boolean force, boolean ignoreExternals, boolean recurse, String nativeEOL) Exports the contents of either a subversion repository into a
'clean' directory (meaning a directory with no administrative
directories). | void | doImport(String path, String url, String message, boolean recurse) Import a file or directory into a repository directory at
head. | long | doSwitch(String path, String url, Revision revision, boolean recurse) Update local copy to mirror a new url. | byte[] | fileContent(String path, Revision revision) | byte[] | fileContent(String path, Revision revision, Revision pegRevision) | public String | getAdminDirectoryName() | String | getConfigDirectory() | String | getLastPath() Returns the last destination path submitted. | public Version | getVersion() | String | getVersionInfo(String path, String trailUrl, boolean lastChanged) | Info | info(String path) | Info2[] | info2(String pathOrUrl, Revision revision, Revision pegRevision, boolean recurse) Retrieve information about repository or working copy items. | public boolean | isAdminDirectory(String name) Parameters: name - The name of the directory to compare. | DirEntry[] | list(String url, Revision revision, boolean recurse) Lists the directory entries of an url on the server. | DirEntry[] | list(String url, Revision revision, Revision pegRevision, boolean recurse) Lists the directory entries of an url on the server. | void | lock(String[] path, String comment, boolean force) | LogMessage[] | logMessages(String path, Revision revisionStart, Revision revisionEnd) | LogMessage[] | logMessages(String path, Revision revisionStart, Revision revisionEnd, boolean stopOnCopy) | LogMessage[] | logMessages(String path, Revision revisionStart, Revision revisionEnd, boolean stopOnCopy, boolean discoverPath) | LogMessage[] | logMessages(String path, Revision revisionStart, Revision revisionEnd, boolean stopOnCopy, boolean discoverPath, long limit) | void | merge(String path1, Revision revision1, String path2, Revision revision2, String localPath, boolean force, boolean recurse) Merge changes from two paths into a new local path. | void | merge(String path1, Revision revision1, String path2, Revision revision2, String localPath, boolean force, boolean recurse, boolean ignoreAncestry, boolean dryRun) Merge changes from two paths into a new local path. | void | merge(String path, Revision pegRevision, Revision revision1, Revision revision2, String localPath, boolean force, boolean recurse, boolean ignoreAncestry, boolean dryRun) Merge changes from two paths into a new local path. | void | mkdir(String[] path, String message) Creates a directory directly in a repository or creates a
directory on disk and schedules it for addition. | void | move(String srcPath, String destPath, String message, Revision revision, boolean force) Moves or renames a file. | void | move(String srcPath, String destPath, String message, boolean force) Moves or renames a file. | void | notification(Notify notify) Sets the notification callback used to send processing information back
to the calling program. | void | notification2(Notify2 notify) Sets the notification callback used to send processing information back
to the calling program. | void | password(String password) Sets the password used for authentication.
Parameters: password - The password, ignored if the empty string. | PropertyData[] | properties(String path) | PropertyData[] | properties(String path, Revision revision) | PropertyData[] | properties(String path, Revision revision, Revision pegRevision) | void | propertyCreate(String path, String name, String value, boolean recurse) | void | propertyCreate(String path, String name, String value, boolean recurse, boolean force) | void | propertyCreate(String path, String name, byte[] value, boolean recurse) | void | propertyCreate(String path, String name, byte[] value, boolean recurse, boolean force) | PropertyData | propertyGet(String path, String name) | PropertyData | propertyGet(String path, String name, Revision revision) | PropertyData | propertyGet(String path, String name, Revision revision, Revision pegRevision) | void | propertyRemove(String path, String name, boolean recurse) Remove one property of an item. | void | propertySet(String path, String name, String value, boolean recurse) | void | propertySet(String path, String name, String value, boolean recurse, boolean force) | void | propertySet(String path, String name, byte[] value, boolean recurse) | void | propertySet(String path, String name, byte[] value, boolean recurse, boolean force) | void | relocate(String from, String to, String path, boolean recurse) | void | remove(String[] path, String message, boolean force) Sets a file for deletion. | void | resolved(String path, boolean recurse) Removes the 'conflicted' state on a file. | PropertyData[] | revProperties(String path, Revision rev) | PropertyData | revProperty(String path, String name, Revision rev) | void | revert(String path, boolean recurse) Reverts a file to a pristine state. | void | setConfigDirectory(String configDir) Set directory for the configuration information, taking the
usual steps to ensure that Subversion's config file templates
exist in the specified location. | void | setPrompt(PromptUserPassword prompt) | void | setRevProperty(String path, String name, Revision rev, String value, boolean force) | Status | singleStatus(String path, boolean onServer) Returns the status of a single file in the path.
Parameters: path - File to gather status. Parameters: onServer - Request status information from the server. | Status[] | status(String path, boolean descend, boolean onServer, boolean getAll) List a directory or file of the working copy.
Parameters: path - Path to explore. Parameters: descend - Recurse into subdirectories if they exist. Parameters: onServer - Request status information from server. Parameters: getAll - get status for uninteristing files (unchanged). | Status[] | status(String path, boolean descend, boolean onServer, boolean getAll, boolean noIgnore) List a directory or file of the working copy.
Parameters: path - Path to explore. Parameters: descend - Recurse into subdirectories if they exist. Parameters: onServer - Request status information from server. Parameters: getAll - get status for uninteristing files (unchanged). Parameters: noIgnore - get status for normaly ignored files and directories. | Status[] | status(String path, boolean descend, boolean onServer, boolean getAll, boolean noIgnore, boolean ignoreExternals) List a directory or file of the working copy. | void | streamFileContent(String path, Revision revision, Revision pegRevision, int bufferSize, OutputStream stream) Write the file's content to the specified output stream. | void | unlock(String[] path, boolean force) | long | update(String path, Revision revision, boolean recurse) | long[] | update(String[] path, Revision revision, boolean recurse, boolean ignoreExternals) | void | username(String username) Sets the username used for authentication.
Parameters: username - The username, ignored if the empty string. |
add | void add(String path, boolean recurse) throws ClientException(Code) | | Adds a file to the repository.
Parameters: path - path to be added. Parameters: recurse - recurse into subdirectories exception: ClientException - |
add | void add(String path, boolean recurse, boolean force) throws ClientException(Code) | | Adds a file to the repository.
Parameters: path - path to be added. Parameters: recurse - recurse into subdirectories Parameters: force - if adding a directory and recurse true and path is adirectory, all not already managed files are added. exception: ClientException - since: 1.2 |
blame | byte[] blame(String path, Revision revisionStart, Revision revisionEnd) throws ClientException(Code) | | Return for each line of the file, the author and the revision of the
last together with the content.
Parameters: path - the path Parameters: revisionStart - the first revision to show Parameters: revisionEnd - the last revision to show the content together with author and revision of last change throws: ClientException - |
blame | void blame(String path, Revision revisionStart, Revision revisionEnd, BlameCallback callback) throws ClientException(Code) | | Retrieve the content together with the author, the revision and the date
of the last change of each line
Parameters: path - the path Parameters: revisionStart - the first revision to show Parameters: revisionEnd - the last revision to show Parameters: callback - callback to receive the file content and the otherinformation throws: ClientException - |
blame | void blame(String path, Revision pegRevision, Revision revisionStart, Revision revisionEnd, BlameCallback callback) throws ClientException(Code) | | Retrieve the content together with the author, the revision and the date
of the last change of each line
Parameters: path - the path Parameters: pegRevision - the revision to interpret the path Parameters: revisionStart - the first revision to show Parameters: revisionEnd - the last revision to show Parameters: callback - callback to receive the file content and the otherinformation throws: ClientException - since: 1.2 |
checkout | long checkout(String moduleName, String destPath, Revision revision, Revision pegRevision, boolean recurse, boolean ignoreExternals) throws ClientException(Code) | | Executes a revision checkout.
Parameters: moduleName - name of the module to checkout. Parameters: destPath - destination directory for checkout. Parameters: revision - the revision to checkout. Parameters: pegRevision - the peg revision to interpret the path Parameters: recurse - whether you want it to checkout files recursively. Parameters: ignoreExternals - if externals are ignored during checkout exception: ClientException - since: 1.2 |
checkout | long checkout(String moduleName, String destPath, Revision revision, boolean recurse) throws ClientException(Code) | | Executes a revision checkout.
Parameters: moduleName - name of the module to checkout. Parameters: destPath - destination directory for checkout. Parameters: revision - the revision to checkout. Parameters: recurse - whether you want it to checkout files recursively. exception: ClientException - |
cleanup | void cleanup(String path) throws ClientException(Code) | | Recursively cleans up a local directory, finishing any
incomplete operations, removing lockfiles, etc.
Parameters: path - a local directory. exception: ClientException - |
commit | long commit(String[] path, String message, boolean recurse) throws ClientException(Code) | | Commits changes to the repository.
Parameters: path - files to commit. Parameters: message - log message. Parameters: recurse - whether the operation should be done recursively. Returns a long representing the revision. It returns a-1 if the revision number is invalid. exception: ClientException - |
commit | long commit(String[] path, String message, boolean recurse, boolean noUnlock) throws ClientException(Code) | | Commits changes to the repository.
Parameters: path - files to commit. Parameters: message - log message. Parameters: recurse - whether the operation should be done recursively. Parameters: noUnlock - do remove any locks Returns a long representing the revision. It returns a-1 if the revision number is invalid. exception: ClientException - |
commitMessageHandler | void commitMessageHandler(CommitMessage messageHandler)(Code) | | Sets the commit message handler. This allows more complex commit message
with the list of the elements to be commited as input.
Parameters: messageHandler - callback for entering commit messagesif this is set the message parameter is ignored. |
copy | void copy(String srcPath, String destPath, String message, Revision revision) throws ClientException(Code) | | Copies a versioned file with the history preserved.
Parameters: srcPath - source path or url Parameters: destPath - destination path or url Parameters: message - commit message if destPath is an url Parameters: revision - source revision exception: ClientException - |
diff | void diff(String target1, Revision revision1, String target2, Revision revision2, String outFileName, boolean recurse) throws ClientException(Code) | | Display the differences between two paths
Parameters: target1 - first path or url Parameters: revision1 - first revision Parameters: target2 - second path or url Parameters: revision2 - second revision Parameters: outFileName - file name where difference are written Parameters: recurse - traverse into subdirectories exception: ClientException - |
diff | void diff(String target1, Revision revision1, String target2, Revision revision2, String outFileName, boolean recurse, boolean ignoreAncestry, boolean noDiffDeleted, boolean force) throws ClientException(Code) | | Display the differences between two paths
Parameters: target1 - first path or url Parameters: revision1 - first revision Parameters: target2 - second path or url Parameters: revision2 - second revision Parameters: outFileName - file name where difference are written Parameters: recurse - traverse into subdirectories Parameters: ignoreAncestry - ignore if files are not related Parameters: noDiffDeleted - no output on deleted files Parameters: force - diff even on binary files exception: ClientException - since: 1.2 |
diff | void diff(String target, Revision pegRevision, Revision startRevision, Revision endRevision, String outFileName, boolean recurse, boolean ignoreAncestry, boolean noDiffDeleted, boolean force) throws ClientException(Code) | | Display the differences between two paths
Parameters: target - path or url Parameters: pegRevision - revision tointerpret target Parameters: startRevision - first Revision to compare Parameters: endRevision - second Revision to compare Parameters: outFileName - file name where difference are written Parameters: recurse - traverse into subdirectories Parameters: ignoreAncestry - ignore if files are not related Parameters: noDiffDeleted - no output on deleted files Parameters: force - diff even on binary files exception: ClientException - since: 1.2 |
dispose | void dispose()(Code) | | release the native peer (should not depend on finalize)
|
doExport | long doExport(String srcPath, String destPath, Revision revision, boolean force) throws ClientException(Code) | | Exports the contents of either a subversion repository into a
'clean' directory (meaning a directory with no administrative
directories).
Parameters: srcPath - the url of the repository path to be exported Parameters: destPath - a destination path that must not already exist. Parameters: revision - the revsion to be exported Parameters: force - set if it is ok to overwrite local files exception: ClientException - |
doExport | long doExport(String srcPath, String destPath, Revision revision, Revision pegRevision, boolean force, boolean ignoreExternals, boolean recurse, String nativeEOL) throws ClientException(Code) | | Exports the contents of either a subversion repository into a
'clean' directory (meaning a directory with no administrative
directories).
Parameters: srcPath - the url of the repository path to be exported Parameters: destPath - a destination path that must not already exist. Parameters: revision - the revsion to be exported Parameters: pegRevision - the revision to interpret srcPath Parameters: force - set if it is ok to overwrite local files Parameters: ignoreExternals - ignore external during export Parameters: recurse - recurse to subdirectories Parameters: nativeEOL - which EOL characters to use during export exception: ClientException - since: 1.2 |
doImport | void doImport(String path, String url, String message, boolean recurse) throws ClientException(Code) | | Import a file or directory into a repository directory at
head.
Parameters: path - the local path Parameters: url - the target url Parameters: message - the log message. Parameters: recurse - traverse into subdirectories exception: ClientException - |
doSwitch | long doSwitch(String path, String url, Revision revision, boolean recurse) throws ClientException(Code) | | Update local copy to mirror a new url.
Parameters: path - the working copy path Parameters: url - the new url for the working copy Parameters: revision - the new base revision of working copy Parameters: recurse - traverse into subdirectories exception: ClientException - |
fileContent | byte[] fileContent(String path, Revision revision) throws ClientException(Code) | | Retrieve the content of a file
Parameters: path - the path of the file Parameters: revision - the revision to retrieve the content as byte array throws: ClientException - |
fileContent | byte[] fileContent(String path, Revision revision, Revision pegRevision) throws ClientException(Code) | | Retrieve the content of a file
Parameters: path - the path of the file Parameters: revision - the revision to retrieve Parameters: pegRevision - the revision to interpret path the content as byte array throws: ClientException - since: 1.2 |
getAdminDirectoryName | public String getAdminDirectoryName()(Code) | | The name of the working copy's administrativedirectory, which is usually .svn . See Also: Instructions See Also: on changing this as a work-around for the behavior of ASP.Net See Also: on Windows. since: 1.3 |
getLastPath | String getLastPath()(Code) | | Returns the last destination path submitted.
path in Subversion format. |
getVersion | public Version getVersion()(Code) | | Version information about the underlying native libraries. |
getVersionInfo | String getVersionInfo(String path, String trailUrl, boolean lastChanged) throws ClientException(Code) | | Produce a compact "version number" for a working copy
Parameters: path - path of the working copy Parameters: trailUrl - to detect switches of the whole working copy Parameters: lastChanged - last changed rather than current revisions the compact "version number" throws: ClientException - since: 1.2 |
info2 | Info2[] info2(String pathOrUrl, Revision revision, Revision pegRevision, boolean recurse) throws ClientException(Code) | | Retrieve information about repository or working copy items.
Parameters: pathOrUrl - the path or the url of the item Parameters: revision - the revision of the item to return Parameters: pegRevision - the revision to interpret pathOrUrl Parameters: recurse - flag if to recurse, if the item is a directory the information objects since: 1.2 |
isAdminDirectory | public boolean isAdminDirectory(String name)(Code) | | Parameters: name - The name of the directory to compare. Whether name is that of a working copyadministrative directory. since: 1.3 |
list | DirEntry[] list(String url, Revision revision, boolean recurse) throws ClientException(Code) | | Lists the directory entries of an url on the server.
Parameters: url - the url to list Parameters: revision - the revision to list Parameters: recurse - recurse into subdirectories Array of DirEntry objects. |
list | DirEntry[] list(String url, Revision revision, Revision pegRevision, boolean recurse) throws ClientException(Code) | | Lists the directory entries of an url on the server.
Parameters: url - the url to list Parameters: revision - the revision to list Parameters: pegRevision - the revision to interpret url Parameters: recurse - recurse into subdirectories Array of DirEntry objects. since: 1.2 |
lock | void lock(String[] path, String comment, boolean force) throws ClientException(Code) | | Lock a working copy item
Parameters: path - path of the item Parameters: comment - Parameters: force - break an existing lock throws: ClientException - since: 1.2 |
logMessages | LogMessage[] logMessages(String path, Revision revisionStart, Revision revisionEnd) throws ClientException(Code) | | Retrieve the log messages for an item
Parameters: path - path or url to get the log message for. Parameters: revisionStart - first revision to show Parameters: revisionEnd - last revision to show array of LogMessages |
logMessages | LogMessage[] logMessages(String path, Revision revisionStart, Revision revisionEnd, boolean stopOnCopy) throws ClientException(Code) | | Retrieve the log messages for an item
Parameters: path - path or url to get the log message for. Parameters: revisionStart - first revision to show Parameters: revisionEnd - last revision to show Parameters: stopOnCopy - do not continue on copy operations array of LogMessages |
logMessages | LogMessage[] logMessages(String path, Revision revisionStart, Revision revisionEnd, boolean stopOnCopy, boolean discoverPath) throws ClientException(Code) | | Retrieve the log messages for an item
Parameters: path - path or url to get the log message for. Parameters: revisionStart - first revision to show Parameters: revisionEnd - last revision to show Parameters: stopOnCopy - do not continue on copy operations Parameters: discoverPath - returns the paths of the changed items in thereturned objects array of LogMessages |
logMessages | LogMessage[] logMessages(String path, Revision revisionStart, Revision revisionEnd, boolean stopOnCopy, boolean discoverPath, long limit) throws ClientException(Code) | | Retrieve the log messages for an item
Parameters: path - path or url to get the log message for. Parameters: revisionStart - first revision to show Parameters: revisionEnd - last revision to show Parameters: stopOnCopy - do not continue on copy operations Parameters: discoverPath - returns the paths of the changed items in thereturned objects Parameters: limit - limit the number of log messages (if 0 or less nolimit) array of LogMessages since: 1.2 |
merge | void merge(String path1, Revision revision1, String path2, Revision revision2, String localPath, boolean force, boolean recurse) throws ClientException(Code) | | Merge changes from two paths into a new local path.
Parameters: path1 - first path or url Parameters: revision1 - first revision Parameters: path2 - second path or url Parameters: revision2 - second revision Parameters: localPath - target local path Parameters: force - overwrite local changes Parameters: recurse - traverse into subdirectories exception: ClientException - |
merge | void merge(String path1, Revision revision1, String path2, Revision revision2, String localPath, boolean force, boolean recurse, boolean ignoreAncestry, boolean dryRun) throws ClientException(Code) | | Merge changes from two paths into a new local path.
Parameters: path1 - first path or url Parameters: revision1 - first revision Parameters: path2 - second path or url Parameters: revision2 - second revision Parameters: localPath - target local path Parameters: force - overwrite local changes Parameters: recurse - traverse into subdirectories Parameters: ignoreAncestry - ignore if files are not related Parameters: dryRun - do not change anything exception: ClientException - since: 1.2 |
merge | void merge(String path, Revision pegRevision, Revision revision1, Revision revision2, String localPath, boolean force, boolean recurse, boolean ignoreAncestry, boolean dryRun) throws ClientException(Code) | | Merge changes from two paths into a new local path.
Parameters: path - path or url Parameters: pegRevision - revision to interpret path Parameters: revision1 - first revision Parameters: revision2 - second revision Parameters: localPath - target local path Parameters: force - overwrite local changes Parameters: recurse - traverse into subdirectories Parameters: ignoreAncestry - ignore if files are not related Parameters: dryRun - do not change anything exception: ClientException - since: 1.2 |
mkdir | void mkdir(String[] path, String message) throws ClientException(Code) | | Creates a directory directly in a repository or creates a
directory on disk and schedules it for addition.
Parameters: path - directories to be created Parameters: message - commit message to used if path contains urls exception: ClientException - |
move | void move(String srcPath, String destPath, String message, Revision revision, boolean force) throws ClientException(Code) | | Moves or renames a file.
Parameters: srcPath - source path or url Parameters: destPath - destination path or url Parameters: message - commit message if destPath is an url Parameters: revision - source revision (unused) Parameters: force - even with local modifications. exception: ClientException - |
move | void move(String srcPath, String destPath, String message, boolean force) throws ClientException(Code) | | Moves or renames a file.
Parameters: srcPath - source path or url Parameters: destPath - destination path or url Parameters: message - commit message if destPath is an url Parameters: force - even with local modifications. exception: ClientException - since: 1.2 |
notification | void notification(Notify notify)(Code) | | Sets the notification callback used to send processing information back
to the calling program.
Parameters: notify - listener that the SVN library should call on manyfile operations. |
notification2 | void notification2(Notify2 notify)(Code) | | Sets the notification callback used to send processing information back
to the calling program.
Parameters: notify - listener that the SVN library should call on manyfile operations. since: 1.2 |
properties | PropertyData[] properties(String path, Revision revision) throws ClientException(Code) | | Retrieves the properties of an item
Parameters: path - the path of the item Parameters: revision - the revision of the item array of property objects since: 1.2 |
properties | PropertyData[] properties(String path, Revision revision, Revision pegRevision) throws ClientException(Code) | | Retrieves the properties of an item
Parameters: path - the path of the item Parameters: revision - the revision of the item Parameters: pegRevision - the revision to interpret path array of property objects since: 1.2 |
propertyCreate | void propertyCreate(String path, String name, String value, boolean recurse) throws ClientException(Code) | | Create and sets one property of an item with a String value
Parameters: path - path of the item Parameters: name - name of the property Parameters: value - new value of the property Parameters: recurse - set property also on the subdirectories throws: ClientException - |
propertyCreate | void propertyCreate(String path, String name, String value, boolean recurse, boolean force) throws ClientException(Code) | | Create and sets one property of an item with a String value
Parameters: path - path of the item Parameters: name - name of the property Parameters: value - new value of the property Parameters: recurse - set property also on the subdirectories Parameters: force - do not check if the value is valid throws: ClientException - since: 1.2 |
propertyCreate | void propertyCreate(String path, String name, byte[] value, boolean recurse) throws ClientException(Code) | | Create and sets one property of an item with a byte array value
Parameters: path - path of the item Parameters: name - name of the property Parameters: value - new value of the property Parameters: recurse - set property also on the subdirectories throws: ClientException - |
propertyCreate | void propertyCreate(String path, String name, byte[] value, boolean recurse, boolean force) throws ClientException(Code) | | Create and sets one property of an item with a byte array value
Parameters: path - path of the item Parameters: name - name of the property Parameters: value - new value of the property Parameters: recurse - set property also on the subdirectories Parameters: force - do not check if the value is valid throws: ClientException - since: 1.2 |
propertyGet | PropertyData propertyGet(String path, String name, Revision revision, Revision pegRevision) throws ClientException(Code) | | Retrieve one property of one iten
Parameters: path - path of the item Parameters: name - name of property Parameters: revision - revision of the item Parameters: pegRevision - the revision to interpret path the Property throws: ClientException - since: 1.2 |
propertyRemove | void propertyRemove(String path, String name, boolean recurse) throws ClientException(Code) | | Remove one property of an item.
Parameters: path - path of the item Parameters: name - name of the property Parameters: recurse - remove the property also on subdirectories throws: ClientException - |
propertySet | void propertySet(String path, String name, String value, boolean recurse) throws ClientException(Code) | | Sets one property of an item with a String value
Parameters: path - path of the item Parameters: name - name of the property Parameters: value - new value of the property Parameters: recurse - set property also on the subdirectories throws: ClientException - |
propertySet | void propertySet(String path, String name, String value, boolean recurse, boolean force) throws ClientException(Code) | | Sets one property of an item with a String value
Parameters: path - path of the item Parameters: name - name of the property Parameters: value - new value of the property Parameters: recurse - set property also on the subdirectories Parameters: force - do not check if the value is valid throws: ClientException - since: 1.2 |
propertySet | void propertySet(String path, String name, byte[] value, boolean recurse) throws ClientException(Code) | | Sets one property of an item with a byte array value
Parameters: path - path of the item Parameters: name - name of the property Parameters: value - new value of the property Parameters: recurse - set property also on the subdirectories throws: ClientException - |
propertySet | void propertySet(String path, String name, byte[] value, boolean recurse, boolean force) throws ClientException(Code) | | Sets one property of an item with a byte array value
Parameters: path - path of the item Parameters: name - name of the property Parameters: value - new value of the property Parameters: recurse - set property also on the subdirectories Parameters: force - do not check if the value is valid throws: ClientException - since: 1.2 |
relocate | void relocate(String from, String to, String path, boolean recurse) throws ClientException(Code) | | Rewrite the url's in the working copy
Parameters: from - old url Parameters: to - new url Parameters: path - working copy path Parameters: recurse - recurse into subdirectories throws: ClientException - |
remove | void remove(String[] path, String message, boolean force) throws ClientException(Code) | | Sets a file for deletion.
Parameters: path - path or url to be deleted Parameters: message - if path is a url, this will be the commit message. Parameters: force - delete even when there are local modifications. exception: ClientException - |
resolved | void resolved(String path, boolean recurse) throws ClientException(Code) | | Removes the 'conflicted' state on a file.
Parameters: path - path to cleanup Parameters: recurse - recurce into subdirectories exception: ClientException - |
revert | void revert(String path, boolean recurse) throws ClientException(Code) | | Reverts a file to a pristine state.
Parameters: path - path of the file. Parameters: recurse - recurse into subdirectories exception: ClientException - |
setConfigDirectory | void setConfigDirectory(String configDir) throws ClientException(Code) | | Set directory for the configuration information, taking the
usual steps to ensure that Subversion's config file templates
exist in the specified location.
Parameters: configDir - path of the directory throws: ClientException - |
setPrompt | void setPrompt(PromptUserPassword prompt)(Code) | | Register callback interface to supply username and password on demand
Parameters: prompt - the callback interface |
setRevProperty | void setRevProperty(String path, String name, Revision rev, String value, boolean force) throws ClientException(Code) | | set one revsision property of one item
Parameters: path - path of the item Parameters: name - name of the property Parameters: rev - revision to retrieve Parameters: value - value of the property Parameters: force - use force to set throws: ClientException - since: 1.2 |
singleStatus | Status singleStatus(String path, boolean onServer) throws ClientException(Code) | | Returns the status of a single file in the path.
Parameters: path - File to gather status. Parameters: onServer - Request status information from the server. the subversion status of the file. |
status | Status[] status(String path, boolean descend, boolean onServer, boolean getAll) throws ClientException(Code) | | List a directory or file of the working copy.
Parameters: path - Path to explore. Parameters: descend - Recurse into subdirectories if they exist. Parameters: onServer - Request status information from server. Parameters: getAll - get status for uninteristing files (unchanged). Array of Status entries. |
status | Status[] status(String path, boolean descend, boolean onServer, boolean getAll, boolean noIgnore) throws ClientException(Code) | | List a directory or file of the working copy.
Parameters: path - Path to explore. Parameters: descend - Recurse into subdirectories if they exist. Parameters: onServer - Request status information from server. Parameters: getAll - get status for uninteristing files (unchanged). Parameters: noIgnore - get status for normaly ignored files and directories. Array of Status entries. |
status | Status[] status(String path, boolean descend, boolean onServer, boolean getAll, boolean noIgnore, boolean ignoreExternals) throws ClientException(Code) | | List a directory or file of the working copy.
Parameters: path - Path to explore. Parameters: descend - Recurse into subdirectories if they exist. Parameters: onServer - Request status information from server. Parameters: getAll - get status for uninteristing files (unchanged). Parameters: noIgnore - get status for normaly ignored files and directories. Parameters: ignoreExternals - if externals are ignored during status Array of Status entries. since: 1.2 |
streamFileContent | void streamFileContent(String path, Revision revision, Revision pegRevision, int bufferSize, OutputStream stream) throws ClientException(Code) | | Write the file's content to the specified output stream. If
you need an InputStream, use a
PipedInputStream/PipedOutputStream combination.
Parameters: path - the path of the file Parameters: revision - the revision to retrieve Parameters: pegRevision - the revision at which to interpret the path Parameters: the - stream to write the file's content to throws: ClientException - See Also: PipedOutputStream See Also: PipedInputStream |
unlock | void unlock(String[] path, boolean force) throws ClientException(Code) | | Unlock a working copy item
Parameters: path - path of the item Parameters: force - break an existing lock throws: ClientException - since: 1.2 |
update | long update(String path, Revision revision, boolean recurse) throws ClientException(Code) | | Updates the directory or file from repository
Parameters: path - target file. Parameters: revision - the revision number to update.Revision.HEAD will update to thelatest revision. Parameters: recurse - recursively update. exception: ClientException - |
update | long[] update(String[] path, Revision revision, boolean recurse, boolean ignoreExternals) throws ClientException(Code) | | Updates the directories or files from repository
Parameters: path - array of target files. Parameters: revision - the revision number to update.Revision.HEAD will update to thelatest revision. Parameters: recurse - recursively update. Parameters: ignoreExternals - if externals are ignored during update exception: ClientException - since: 1.2 |
|
|