| java.lang.Object org.tigris.subversion.javahl.SVNClientSynchronized
SVNClientSynchronized | public class SVNClientSynchronized implements SVNClientInterface(Code) | | This class provides a threadsafe wrapped for SVNClient
|
Method Summary | |
public void | add(String path, boolean recurse) Adds a file to the repository. | public void | add(String path, boolean recurse, boolean force) Adds a file to the repository. | public 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. | public void | blame(String path, Revision revisionStart, Revision revisionEnd, BlameCallback callback) | public void | blame(String path, Revision pegRevision, Revision revisionStart, Revision revisionEnd, BlameCallback callback) | public void | cancelOperation() | public long | checkout(String moduleName, String destPath, Revision revision, Revision pegRevision, boolean recurse, boolean ignoreExternals) Executes a revision checkout. | public long | checkout(String moduleName, String destPath, Revision revision, boolean recurse) Executes a revision checkout. | public void | cleanup(String path) Recursively cleans up a local directory, finishing any
incomplete operations, removing lockfiles, etc. | public 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. | public 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. | public void | commitMessageHandler(CommitMessage messageHandler) Sets the commit message handler. | public void | copy(String srcPath, String destPath, String message, Revision revision) Copies a versioned file with the history preserved. | public void | diff(String target1, Revision revision1, String target2, Revision revision2, String outFileName, boolean recurse) | public void | diff(String target1, Revision revision1, String target2, Revision revision2, String outFileName, boolean recurse, boolean ignoreAncestry, boolean noDiffDeleted, boolean force) | public void | diff(String target, Revision pegRevision, Revision startRevision, Revision endRevision, String outFileName, boolean recurse, boolean ignoreAncestry, boolean noDiffDeleted, boolean force) | public void | dispose() | public 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). | public 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). | public void | doImport(String path, String url, String message, boolean recurse) Import a file or directory into a repository directory at
head. | public long | doSwitch(String path, String url, Revision revision, boolean recurse) Update local copy to mirror a new url. | public byte[] | fileContent(String path, Revision revision) | public byte[] | fileContent(String path, Revision revision, Revision pegRevision) | public String | getAdminDirectoryName() | public String | getConfigDirectory() | public String | getLastPath() Returns the last destination path submitted. | public Version | getVersion() | public String | getVersionInfo(String path, String trailUrl, boolean lastChanged) | public Info | info(String path) | public 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. | public DirEntry[] | list(String url, Revision revision, boolean recurse) Lists the directory entries of an url on the server. | public DirEntry[] | list(String url, Revision revision, Revision pegRevision, boolean recurse) Lists the directory entries of an url on the server. | public void | lock(String[] path, String comment, boolean force) | public LogMessage[] | logMessages(String path, Revision revisionStart, Revision revisionEnd) | public LogMessage[] | logMessages(String path, Revision revisionStart, Revision revisionEnd, boolean stopOnCopy) | public LogMessage[] | logMessages(String path, Revision revisionStart, Revision revisionEnd, boolean stopOnCopy, boolean discoverPath) | public LogMessage[] | logMessages(String path, Revision revisionStart, Revision revisionEnd, boolean stopOnCopy, boolean discoverPath, long limit) | public 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. | public 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. | public 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. | public void | mkdir(String[] path, String message) Creates a directory directly in a repository or creates a
directory on disk and schedules it for addition. | public void | move(String srcPath, String destPath, String message, Revision revision, boolean force) Moves or renames a file. | public void | move(String srcPath, String destPath, String message, boolean force) Moves or renames a file. | public void | notification(Notify notify) Sets the notification callback used to send processing information back
to the calling program. | public void | notification2(Notify2 notify) Sets the notification callback used to send processing information back
to the calling program. | public void | password(String password) Sets the password used for authification. | public PropertyData[] | properties(String path) | public PropertyData[] | properties(String path, Revision revision) | public PropertyData[] | properties(String path, Revision revision, Revision pegRevision) | public void | propertyCreate(String path, String name, String value, boolean recurse) | public void | propertyCreate(String path, String name, String value, boolean recurse, boolean force) | public void | propertyCreate(String path, String name, byte[] value, boolean recurse) | public void | propertyCreate(String path, String name, byte[] value, boolean recurse, boolean force) | public PropertyData | propertyGet(String path, String name) | public PropertyData | propertyGet(String path, String name, Revision revision) | public PropertyData | propertyGet(String path, String name, Revision revision, Revision pegRevision) | public void | propertyRemove(String path, String name, boolean recurse) Remove one property of an item. | public void | propertySet(String path, String name, String value, boolean recurse) | public void | propertySet(String path, String name, String value, boolean recurse, boolean force) | public void | propertySet(String path, String name, byte[] value, boolean recurse) | public void | propertySet(String path, String name, byte[] value, boolean recurse, boolean force) | public void | relocate(String from, String to, String path, boolean recurse) | public void | remove(String[] path, String message, boolean force) Sets a file for deletion. | public void | resolved(String path, boolean recurse) Removes the 'conflicted' state on a file. | public PropertyData[] | revProperties(String path, Revision rev) | public PropertyData | revProperty(String path, String name, Revision rev) | public void | revert(String path, boolean recurse) Reverts a file to a pristine state. | public void | setConfigDirectory(String configDir) | public void | setPrompt(PromptUserPassword prompt) | public void | setRevProperty(String path, String name, Revision rev, String value, boolean force) | public 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. | public 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). | public 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. | public Status[] | status(String path, boolean descend, boolean onServer, boolean getAll, boolean noIgnore, boolean ignoreExternals) List a directory or file of the working copy. | public void | streamFileContent(String path, Revision revision, Revision pegRevision, int bufferSize, OutputStream stream) Write the file's content to the specified output stream. | public void | unlock(String[] path, boolean force) | public long | update(String path, Revision revision, boolean recurse) | public long[] | update(String[] path, Revision revision, boolean recurse, boolean ignoreExternals) | public void | username(String username) Sets the username used for authentification. |
SVNClientSynchronized | public SVNClientSynchronized()(Code) | | Create our worker
|
add | public 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 | public 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 | public 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 | public 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 | public 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 | public 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 | public 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 | public 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 | public 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 | public 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. throws: ClientException - since: 1.2 |
commitMessageHandler | public 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 | public 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 | public 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 | public 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 throws: ClientException - since: 1.2 |
diff | public 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 throws: ClientException - since: 1.2 |
dispose | public void dispose()(Code) | | release the native peer (should not depend on finalize)
|
doExport | public 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 | public 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 throws: ClientException - since: 1.2 |
doImport | public 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 | public 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 | public 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 | public 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 | public 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 | public 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 | public 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 | public 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 | public 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 | public 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 | public 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 | public 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 | public 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 | public 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 | public 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 | public 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 throws: ClientException - since: 1.2 |
merge | public 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 throws: ClientException - since: 1.2 |
mkdir | public 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 | public 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 Parameters: force - even with local modifications. exception: ClientException - since: 1.2 |
move | public 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. throws: ClientException - |
notification | public 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 | public 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 |
password | public void password(String password)(Code) | | Sets the password used for authification.
Parameters: password - the password |
properties | public 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 | public 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 | public 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 | public 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 | public 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 | public 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 | public 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 | public 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 | public 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 | public 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 | public 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 | public 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 | public 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 | public 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 | public 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 | public 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 | public void setConfigDirectory(String configDir) throws ClientException(Code) | | Set directory for the configuration information
Parameters: configDir - path of the directory throws: ClientException - |
setPrompt | public void setPrompt(PromptUserPassword prompt)(Code) | | Register callback interface to supply username and password on demand
Parameters: prompt - the callback interface |
setRevProperty | public 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 - throws: ClientException - since: 1.2 |
singleStatus | public 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 | public 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 | public 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 | public 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 anddirectories. Parameters: ignoreExternals - if externals are ignored during checkout Array of Status entries. since: 1.2 |
streamFileContent | public 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.
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 - |
unlock | public 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 | public 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 | public 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 |
username | public void username(String username)(Code) | | Sets the username used for authentification.
Parameters: username - the username |
|
|