|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface SVNClientInterface
This interface is the commom interface for all subversion operations. It is implemented by SVNClient and SVNClientSynchronized
| Method Summary | |
|---|---|
void |
add(java.lang.String path,
boolean recurse)
Adds a file to the repository. |
void |
add(java.lang.String path,
boolean recurse,
boolean force)
Adds a file to the repository. |
byte[] |
blame(java.lang.String path,
Revision revisionStart,
Revision revisionEnd)
Deprecated. |
void |
blame(java.lang.String path,
Revision revisionStart,
Revision revisionEnd,
BlameCallback callback)
Retrieve the content together with the author, the revision and the date of the last change of each line |
void |
blame(java.lang.String path,
Revision pegRevision,
Revision revisionStart,
Revision revisionEnd,
BlameCallback callback)
Retrieve the content together with the author, the revision and the date of the last change of each line |
void |
cancelOperation()
cancel the active operation |
long |
checkout(java.lang.String moduleName,
java.lang.String destPath,
Revision revision,
boolean recurse)
Executes a revision checkout. |
long |
checkout(java.lang.String moduleName,
java.lang.String destPath,
Revision revision,
Revision pegRevision,
boolean recurse,
boolean ignoreExternals)
Executes a revision checkout. |
void |
cleanup(java.lang.String path)
Recursively cleans up a local directory, finishing any incomplete operations, removing lockfiles, etc. |
long |
commit(java.lang.String[] path,
java.lang.String message,
boolean recurse)
Commits changes to the repository. |
long |
commit(java.lang.String[] path,
java.lang.String message,
boolean recurse,
boolean noUnlock)
Commits changes to the repository. |
void |
commitMessageHandler(CommitMessage messageHandler)
Sets the commit message handler. |
void |
copy(java.lang.String srcPath,
java.lang.String destPath,
java.lang.String message,
Revision revision)
Copies a versioned file with the history preserved. |
void |
diff(java.lang.String target,
Revision pegRevision,
Revision startRevision,
Revision endRevision,
java.lang.String outFileName,
boolean recurse,
boolean ignoreAncestry,
boolean noDiffDeleted,
boolean force)
Display the differences between two paths |
void |
diff(java.lang.String target1,
Revision revision1,
java.lang.String target2,
Revision revision2,
java.lang.String outFileName,
boolean recurse)
Display the differences between two paths |
void |
diff(java.lang.String target1,
Revision revision1,
java.lang.String target2,
Revision revision2,
java.lang.String outFileName,
boolean recurse,
boolean ignoreAncestry,
boolean noDiffDeleted,
boolean force)
Display the differences between two paths |
void |
dispose()
release the native peer (should not depend on finalize) |
long |
doExport(java.lang.String srcPath,
java.lang.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(java.lang.String srcPath,
java.lang.String destPath,
Revision revision,
Revision pegRevision,
boolean force,
boolean ignoreExternals,
boolean recurse,
java.lang.String nativeEOL)
Exports the contents of either a subversion repository into a 'clean' directory (meaning a directory with no administrative directories). |
void |
doImport(java.lang.String path,
java.lang.String url,
java.lang.String message,
boolean recurse)
Import a file or directory into a repository directory at head. |
long |
doSwitch(java.lang.String path,
java.lang.String url,
Revision revision,
boolean recurse)
Update local copy to mirror a new url. |
byte[] |
fileContent(java.lang.String path,
Revision revision)
Retrieve the content of a file |
byte[] |
fileContent(java.lang.String path,
Revision revision,
Revision pegRevision)
Retrieve the content of a file |
java.lang.String |
getAdminDirectoryName()
|
java.lang.String |
getConfigDirectory()
Get the configuration directory |
java.lang.String |
getLastPath()
Deprecated. |
Version |
getVersion()
|
java.lang.String |
getVersionInfo(java.lang.String path,
java.lang.String trailUrl,
boolean lastChanged)
Produce a compact "version number" for a working copy |
Info |
info(java.lang.String path)
Retrieves the working copy information for an item |
Info2[] |
info2(java.lang.String pathOrUrl,
Revision revision,
Revision pegRevision,
boolean recurse)
Retrieve information about repository or working copy items. |
boolean |
isAdminDirectory(java.lang.String name)
|
DirEntry[] |
list(java.lang.String url,
Revision revision,
boolean recurse)
Lists the directory entries of an url on the server. |
DirEntry[] |
list(java.lang.String url,
Revision revision,
Revision pegRevision,
boolean recurse)
Lists the directory entries of an url on the server. |
void |
lock(java.lang.String[] path,
java.lang.String comment,
boolean force)
Lock a working copy item |
LogMessage[] |
logMessages(java.lang.String path,
Revision revisionStart,
Revision revisionEnd)
Retrieve the log messages for an item |
LogMessage[] |
logMessages(java.lang.String path,
Revision revisionStart,
Revision revisionEnd,
boolean stopOnCopy)
Retrieve the log messages for an item |
LogMessage[] |
logMessages(java.lang.String path,
Revision revisionStart,
Revision revisionEnd,
boolean stopOnCopy,
boolean discoverPath)
Retrieve the log messages for an item |
LogMessage[] |
logMessages(java.lang.String path,
Revision revisionStart,
Revision revisionEnd,
boolean stopOnCopy,
boolean discoverPath,
long limit)
Retrieve the log messages for an item |
void |
merge(java.lang.String path,
Revision pegRevision,
Revision revision1,
Revision revision2,
java.lang.String localPath,
boolean force,
boolean recurse,
boolean ignoreAncestry,
boolean dryRun)
Merge changes from two paths into a new local path. |
void |
merge(java.lang.String path1,
Revision revision1,
java.lang.String path2,
Revision revision2,
java.lang.String localPath,
boolean force,
boolean recurse)
Merge changes from two paths into a new local path. |
void |
merge(java.lang.String path1,
Revision revision1,
java.lang.String path2,
Revision revision2,
java.lang.String localPath,
boolean force,
boolean recurse,
boolean ignoreAncestry,
boolean dryRun)
Merge changes from two paths into a new local path. |
void |
mkdir(java.lang.String[] path,
java.lang.String message)
Creates a directory directly in a repository or creates a directory on disk and schedules it for addition. |
void |
move(java.lang.String srcPath,
java.lang.String destPath,
java.lang.String message,
boolean force)
Moves or renames a file. |
void |
move(java.lang.String srcPath,
java.lang.String destPath,
java.lang.String message,
Revision revision,
boolean force)
Moves or renames a file. |
void |
notification(Notify notify)
Deprecated. use notification2 instead |
void |
notification2(Notify2 notify)
Sets the notification callback used to send processing information back to the calling program. |
void |
password(java.lang.String password)
Sets the password used for authentication. |
PropertyData[] |
properties(java.lang.String path)
Retrieves the properties of an item |
PropertyData[] |
properties(java.lang.String path,
Revision revision)
Retrieves the properties of an item |
PropertyData[] |
properties(java.lang.String path,
Revision revision,
Revision pegRevision)
Retrieves the properties of an item |
void |
propertyCreate(java.lang.String path,
java.lang.String name,
byte[] value,
boolean recurse)
Create and sets one property of an item with a byte array value |
void |
propertyCreate(java.lang.String path,
java.lang.String name,
byte[] value,
boolean recurse,
boolean force)
Create and sets one property of an item with a byte array value |
void |
propertyCreate(java.lang.String path,
java.lang.String name,
java.lang.String value,
boolean recurse)
Create and sets one property of an item with a String value |
void |
propertyCreate(java.lang.String path,
java.lang.String name,
java.lang.String value,
boolean recurse,
boolean force)
Create and sets one property of an item with a String value |
PropertyData |
propertyGet(java.lang.String path,
java.lang.String name)
Retrieve one property of one iten |
PropertyData |
propertyGet(java.lang.String path,
java.lang.String name,
Revision revision)
Retrieve one property of one iten |
PropertyData |
propertyGet(java.lang.String path,
java.lang.String name,
Revision revision,
Revision pegRevision)
Retrieve one property of one iten |
void |
propertyRemove(java.lang.String path,
java.lang.String name,
boolean recurse)
Remove one property of an item. |
void |
propertySet(java.lang.String path,
java.lang.String name,
byte[] value,
boolean recurse)
Sets one property of an item with a byte array value |
void |
propertySet(java.lang.String path,
java.lang.String name,
byte[] value,
boolean recurse,
boolean force)
Sets one property of an item with a byte array value |
void |
propertySet(java.lang.String path,
java.lang.String name,
java.lang.String value,
boolean recurse)
Sets one property of an item with a String value |
void |
propertySet(java.lang.String path,
java.lang.String name,
java.lang.String value,
boolean recurse,
boolean force)
Sets one property of an item with a String value |
void |
relocate(java.lang.String from,
java.lang.String to,
java.lang.String path,
boolean recurse)
Rewrite the url's in the working copy |
void |
remove(java.lang.String[] path,
java.lang.String message,
boolean force)
Sets a file for deletion. |
void |
resolved(java.lang.String path,
boolean recurse)
Removes the 'conflicted' state on a file. |
void |
revert(java.lang.String path,
boolean recurse)
Reverts a file to a pristine state. |
PropertyData[] |
revProperties(java.lang.String path,
Revision rev)
Retrieve all revsision properties of one item |
PropertyData |
revProperty(java.lang.String path,
java.lang.String name,
Revision rev)
Retrieve one revsision property of one item |
void |
setConfigDirectory(java.lang.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)
Register callback interface to supply username and password on demand |
void |
setRevProperty(java.lang.String path,
java.lang.String name,
Revision rev,
java.lang.String value,
boolean force)
set one revsision property of one item |
Status |
singleStatus(java.lang.String path,
boolean onServer)
Returns the status of a single file in the path. |
Status[] |
status(java.lang.String path,
boolean descend,
boolean onServer,
boolean getAll)
List a directory or file of the working copy. |
Status[] |
status(java.lang.String path,
boolean descend,
boolean onServer,
boolean getAll,
boolean noIgnore)
List a directory or file of the working copy. |
Status[] |
status(java.lang.String path,
boolean descend,
boolean onServer,
boolean getAll,
boolean noIgnore,
boolean ignoreExternals)
List a directory or file of the working copy. |
void |
streamFileContent(java.lang.String path,
Revision revision,
Revision pegRevision,
int bufferSize,
java.io.OutputStream stream)
Write the file's content to the specified output stream. |
void |
unlock(java.lang.String[] path,
boolean force)
Unlock a working copy item |
long[] |
update(java.lang.String[] path,
Revision revision,
boolean recurse,
boolean ignoreExternals)
Updates the directories or files from repository |
long |
update(java.lang.String path,
Revision revision,
boolean recurse)
Updates the directory or file from repository |
void |
username(java.lang.String username)
Sets the username used for authentication. |
| Method Detail |
|---|
void dispose()
Version getVersion()
java.lang.String getAdminDirectoryName()
.svn.boolean isAdminDirectory(java.lang.String name)
name - The name of the directory to compare.
name is that of a working copy
administrative directory.java.lang.String getLastPath()
Status[] status(java.lang.String path,
boolean descend,
boolean onServer,
boolean getAll)
throws ClientException
path - Path to explore.descend - Recurse into subdirectories if they exist.onServer - Request status information from server.getAll - get status for uninteristing files (unchanged).
ClientException
Status[] status(java.lang.String path,
boolean descend,
boolean onServer,
boolean getAll,
boolean noIgnore)
throws ClientException
path - Path to explore.descend - Recurse into subdirectories if they exist.onServer - Request status information from server.getAll - get status for uninteristing files (unchanged).noIgnore - get status for normaly ignored files and directories.
ClientException
Status[] status(java.lang.String path,
boolean descend,
boolean onServer,
boolean getAll,
boolean noIgnore,
boolean ignoreExternals)
throws ClientException
path - Path to explore.descend - Recurse into subdirectories if they exist.onServer - Request status information from server.getAll - get status for uninteristing files (unchanged).noIgnore - get status for normaly ignored files and directories.ignoreExternals - if externals are ignored during status
ClientException
DirEntry[] list(java.lang.String url,
Revision revision,
boolean recurse)
throws ClientException
url - the url to listrevision - the revision to listrecurse - recurse into subdirectories
ClientException
DirEntry[] list(java.lang.String url,
Revision revision,
Revision pegRevision,
boolean recurse)
throws ClientException
url - the url to listrevision - the revision to listpegRevision - the revision to interpret urlrecurse - recurse into subdirectories
ClientException
Status singleStatus(java.lang.String path,
boolean onServer)
throws ClientException
path - File to gather status.onServer - Request status information from the server.
ClientExceptionvoid username(java.lang.String username)
username - The username, ignored if the empty string. Set
to the empty string to clear it.
java.lang.IllegalArgumentException - If username is
null.password(String)void password(java.lang.String password)
password - The password, ignored if the empty string. Set
to the empty string to clear it.
java.lang.IllegalArgumentException - If password is
null.username(String)void setPrompt(PromptUserPassword prompt)
prompt - the callback interface
LogMessage[] logMessages(java.lang.String path,
Revision revisionStart,
Revision revisionEnd)
throws ClientException
path - path or url to get the log message for.revisionStart - first revision to showrevisionEnd - last revision to show
ClientException
LogMessage[] logMessages(java.lang.String path,
Revision revisionStart,
Revision revisionEnd,
boolean stopOnCopy)
throws ClientException
path - path or url to get the log message for.revisionStart - first revision to showrevisionEnd - last revision to showstopOnCopy - do not continue on copy operations
ClientException
LogMessage[] logMessages(java.lang.String path,
Revision revisionStart,
Revision revisionEnd,
boolean stopOnCopy,
boolean discoverPath)
throws ClientException
path - path or url to get the log message for.revisionStart - first revision to showrevisionEnd - last revision to showstopOnCopy - do not continue on copy operationsdiscoverPath - returns the paths of the changed items in the
returned objects
ClientException
LogMessage[] logMessages(java.lang.String path,
Revision revisionStart,
Revision revisionEnd,
boolean stopOnCopy,
boolean discoverPath,
long limit)
throws ClientException
path - path or url to get the log message for.revisionStart - first revision to showrevisionEnd - last revision to showstopOnCopy - do not continue on copy operationsdiscoverPath - returns the paths of the changed items in the
returned objectslimit - limit the number of log messages (if 0 or less no
limit)
ClientException
long checkout(java.lang.String moduleName,
java.lang.String destPath,
Revision revision,
Revision pegRevision,
boolean recurse,
boolean ignoreExternals)
throws ClientException
moduleName - name of the module to checkout.destPath - destination directory for checkout.revision - the revision to checkout.pegRevision - the peg revision to interpret the pathrecurse - whether you want it to checkout files recursively.ignoreExternals - if externals are ignored during checkout
ClientException
long checkout(java.lang.String moduleName,
java.lang.String destPath,
Revision revision,
boolean recurse)
throws ClientException
moduleName - name of the module to checkout.destPath - destination directory for checkout.revision - the revision to checkout.recurse - whether you want it to checkout files recursively.
ClientExceptionvoid notification(Notify notify)
notify - listener that the SVN library should call on many
file operations.void notification2(Notify2 notify)
notify - listener that the SVN library should call on many
file operations.void commitMessageHandler(CommitMessage messageHandler)
messageHandler - callback for entering commit messages
if this is set the message parameter is ignored.
void remove(java.lang.String[] path,
java.lang.String message,
boolean force)
throws ClientException
path - path or url to be deletedmessage - if path is a url, this will be the commit message.force - delete even when there are local modifications.
ClientException
void revert(java.lang.String path,
boolean recurse)
throws ClientException
path - path of the file.recurse - recurse into subdirectories
ClientException
void add(java.lang.String path,
boolean recurse)
throws ClientException
path - path to be added.recurse - recurse into subdirectories
ClientException
void add(java.lang.String path,
boolean recurse,
boolean force)
throws ClientException
path - path to be added.recurse - recurse into subdirectoriesforce - if adding a directory and recurse true and path is a
directory, all not already managed files are added.
ClientException
long update(java.lang.String path,
Revision revision,
boolean recurse)
throws ClientException
path - target file.revision - the revision number to update.
Revision.HEAD will update to the
latest revision.recurse - recursively update.
ClientException
long[] update(java.lang.String[] path,
Revision revision,
boolean recurse,
boolean ignoreExternals)
throws ClientException
path - array of target files.revision - the revision number to update.
Revision.HEAD will update to the
latest revision.recurse - recursively update.ignoreExternals - if externals are ignored during update
ClientException
long commit(java.lang.String[] path,
java.lang.String message,
boolean recurse)
throws ClientException
path - files to commit.message - log message.recurse - whether the operation should be done recursively.
ClientException
long commit(java.lang.String[] path,
java.lang.String message,
boolean recurse,
boolean noUnlock)
throws ClientException
path - files to commit.message - log message.recurse - whether the operation should be done recursively.noUnlock - do remove any locks
ClientException
void copy(java.lang.String srcPath,
java.lang.String destPath,
java.lang.String message,
Revision revision)
throws ClientException
srcPath - source path or urldestPath - destination path or urlmessage - commit message if destPath is an urlrevision - source revision
ClientException
void move(java.lang.String srcPath,
java.lang.String destPath,
java.lang.String message,
Revision revision,
boolean force)
throws ClientException
srcPath - source path or urldestPath - destination path or urlmessage - commit message if destPath is an urlrevision - source revision (unused)force - even with local modifications.
ClientException
void move(java.lang.String srcPath,
java.lang.String destPath,
java.lang.String message,
boolean force)
throws ClientException
srcPath - source path or urldestPath - destination path or urlmessage - commit message if destPath is an urlforce - even with local modifications.
ClientException
void mkdir(java.lang.String[] path,
java.lang.String message)
throws ClientException
path - directories to be createdmessage - commit message to used if path contains urls
ClientException
void cleanup(java.lang.String path)
throws ClientException
path - a local directory.
ClientException
void resolved(java.lang.String path,
boolean recurse)
throws ClientException
path - path to cleanuprecurse - recurce into subdirectories
ClientException
long doExport(java.lang.String srcPath,
java.lang.String destPath,
Revision revision,
boolean force)
throws ClientException
srcPath - the url of the repository path to be exporteddestPath - a destination path that must not already exist.revision - the revsion to be exportedforce - set if it is ok to overwrite local files
ClientException
long doExport(java.lang.String srcPath,
java.lang.String destPath,
Revision revision,
Revision pegRevision,
boolean force,
boolean ignoreExternals,
boolean recurse,
java.lang.String nativeEOL)
throws ClientException
srcPath - the url of the repository path to be exporteddestPath - a destination path that must not already exist.revision - the revsion to be exportedpegRevision - the revision to interpret srcPathforce - set if it is ok to overwrite local filesignoreExternals - ignore external during exportrecurse - recurse to subdirectoriesnativeEOL - which EOL characters to use during export
ClientException
long doSwitch(java.lang.String path,
java.lang.String url,
Revision revision,
boolean recurse)
throws ClientException
path - the working copy pathurl - the new url for the working copyrevision - the new base revision of working copyrecurse - traverse into subdirectories
ClientException
void doImport(java.lang.String path,
java.lang.String url,
java.lang.String message,
boolean recurse)
throws ClientException
path - the local pathurl - the target urlmessage - the log message.recurse - traverse into subdirectories
ClientException
void merge(java.lang.String path1,
Revision revision1,
java.lang.String path2,
Revision revision2,
java.lang.String localPath,
boolean force,
boolean recurse)
throws ClientException
path1 - first path or urlrevision1 - first revisionpath2 - second path or urlrevision2 - second revisionlocalPath - target local pathforce - overwrite local changesrecurse - traverse into subdirectories
ClientException
void merge(java.lang.String path1,
Revision revision1,
java.lang.String path2,
Revision revision2,
java.lang.String localPath,
boolean force,
boolean recurse,
boolean ignoreAncestry,
boolean dryRun)
throws ClientException
path1 - first path or urlrevision1 - first revisionpath2 - second path or urlrevision2 - second revisionlocalPath - target local pathforce - overwrite local changesrecurse - traverse into subdirectoriesignoreAncestry - ignore if files are not relateddryRun - do not change anything
ClientException
void merge(java.lang.String path,
Revision pegRevision,
Revision revision1,
Revision revision2,
java.lang.String localPath,
boolean force,
boolean recurse,
boolean ignoreAncestry,
boolean dryRun)
throws ClientException
path - path or urlpegRevision - revision to interpret pathrevision1 - first revisionrevision2 - second revisionlocalPath - target local pathforce - overwrite local changesrecurse - traverse into subdirectoriesignoreAncestry - ignore if files are not relateddryRun - do not change anything
ClientException
void diff(java.lang.String target1,
Revision revision1,
java.lang.String target2,
Revision revision2,
java.lang.String outFileName,
boolean recurse)
throws ClientException
target1 - first path or urlrevision1 - first revisiontarget2 - second path or urlrevision2 - second revisionoutFileName - file name where difference are writtenrecurse - traverse into subdirectories
ClientException
void diff(java.lang.String target1,
Revision revision1,
java.lang.String target2,
Revision revision2,
java.lang.String outFileName,
boolean recurse,
boolean ignoreAncestry,
boolean noDiffDeleted,
boolean force)
throws ClientException
target1 - first path or urlrevision1 - first revisiontarget2 - second path or urlrevision2 - second revisionoutFileName - file name where difference are writtenrecurse - traverse into subdirectoriesignoreAncestry - ignore if files are not relatednoDiffDeleted - no output on deleted filesforce - diff even on binary files
ClientException
void diff(java.lang.String target,
Revision pegRevision,
Revision startRevision,
Revision endRevision,
java.lang.String outFileName,
boolean recurse,
boolean ignoreAncestry,
boolean noDiffDeleted,
boolean force)
throws ClientException
target - path or urlpegRevision - revision tointerpret targetstartRevision - first Revision to compareendRevision - second Revision to compareoutFileName - file name where difference are writtenrecurse - traverse into subdirectoriesignoreAncestry - ignore if files are not relatednoDiffDeleted - no output on deleted filesforce - diff even on binary files
ClientException
PropertyData[] properties(java.lang.String path)
throws ClientException
path - the path of the item
ClientException
PropertyData[] properties(java.lang.String path,
Revision revision)
throws ClientException
path - the path of the itemrevision - the revision of the item
ClientException
PropertyData[] properties(java.lang.String path,
Revision revision,
Revision pegRevision)
throws ClientException
path - the path of the itemrevision - the revision of the itempegRevision - the revision to interpret path
ClientException
void propertySet(java.lang.String path,
java.lang.String name,
java.lang.String value,
boolean recurse)
throws ClientException
path - path of the itemname - name of the propertyvalue - new value of the propertyrecurse - set property also on the subdirectories
ClientException
void propertySet(java.lang.String path,
java.lang.String name,
java.lang.String value,
boolean recurse,
boolean force)
throws ClientException
path - path of the itemname - name of the propertyvalue - new value of the propertyrecurse - set property also on the subdirectoriesforce - do not check if the value is valid
ClientException
void propertySet(java.lang.String path,
java.lang.String name,
byte[] value,
boolean recurse)
throws ClientException
path - path of the itemname - name of the propertyvalue - new value of the propertyrecurse - set property also on the subdirectories
ClientException
void propertySet(java.lang.String path,
java.lang.String name,
byte[] value,
boolean recurse,
boolean force)
throws ClientException
path - path of the itemname - name of the propertyvalue - new value of the propertyrecurse - set property also on the subdirectoriesforce - do not check if the value is valid
ClientException
void propertyRemove(java.lang.String path,
java.lang.String name,
boolean recurse)
throws ClientException
path - path of the itemname - name of the propertyrecurse - remove the property also on subdirectories
ClientException
void propertyCreate(java.lang.String path,
java.lang.String name,
java.lang.String value,
boolean recurse)
throws ClientException
path - path of the itemname - name of the propertyvalue - new value of the propertyrecurse - set property also on the subdirectories
ClientException
void propertyCreate(java.lang.String path,
java.lang.String name,
java.lang.String value,
boolean recurse,
boolean force)
throws ClientException
path - path of the itemname - name of the propertyvalue - new value of the propertyrecurse - set property also on the subdirectoriesforce - do not check if the value is valid
ClientException
void propertyCreate(java.lang.String path,
java.lang.String name,
byte[] value,
boolean recurse)
throws ClientException
path - path of the itemname - name of the propertyvalue - new value of the propertyrecurse - set property also on the subdirectories
ClientException
void propertyCreate(java.lang.String path,
java.lang.String name,
byte[] value,
boolean recurse,
boolean force)
throws ClientException
path - path of the itemname - name of the propertyvalue - new value of the propertyrecurse - set property also on the subdirectoriesforce - do not check if the value is valid
ClientException
PropertyData revProperty(java.lang.String path,
java.lang.String name,
Revision rev)
throws ClientException
path - path of the itemname - name of the propertyrev - revision to retrieve
ClientException
PropertyData[] revProperties(java.lang.String path,
Revision rev)
throws ClientException
path - path of the itemrev - revision to retrieve
ClientException
void setRevProperty(java.lang.String path,
java.lang.String name,
Revision rev,
java.lang.String value,
boolean force)
throws ClientException
path - path of the itemname - name of the propertyrev - revision to retrievevalue - value of the propertyforce - use force to set
ClientException
PropertyData propertyGet(java.lang.String path,
java.lang.String name)
throws ClientException
path - path of the itemname - name of property
ClientException
PropertyData propertyGet(java.lang.String path,
java.lang.String name,
Revision revision)
throws ClientException
path - path of the itemname - name of propertyrevision - revision of the item
ClientException
PropertyData propertyGet(java.lang.String path,
java.lang.String name,
Revision revision,
Revision pegRevision)
throws ClientException
path - path of the itemname - name of propertyrevision - revision of the itempegRevision - the revision to interpret path
ClientException
byte[] fileContent(java.lang.String path,
Revision revision)
throws ClientException
path - the path of the filerevision - the revision to retrieve
ClientException
byte[] fileContent(java.lang.String path,
Revision revision,
Revision pegRevision)
throws ClientException
path - the path of the filerevision - the revision to retrievepegRevision - the revision to interpret path
ClientException
void streamFileContent(java.lang.String path,
Revision revision,
Revision pegRevision,
int bufferSize,
java.io.OutputStream stream)
throws ClientException
path - the path of the filerevision - the revision to retrievepegRevision - the revision at which to interpret the paththe - stream to write the file's content to
ClientException
void relocate(java.lang.String from,
java.lang.String to,
java.lang.String path,
boolean recurse)
throws ClientException
from - old urlto - new urlpath - working copy pathrecurse - recurse into subdirectories
ClientException
byte[] blame(java.lang.String path,
Revision revisionStart,
Revision revisionEnd)
throws ClientException
path - the pathrevisionStart - the first revision to showrevisionEnd - the last revision to show
ClientException
void blame(java.lang.String path,
Revision revisionStart,
Revision revisionEnd,
BlameCallback callback)
throws ClientException
path - the pathrevisionStart - the first revision to showrevisionEnd - the last revision to showcallback - callback to receive the file content and the other
information
ClientException
void blame(java.lang.String path,
Revision pegRevision,
Revision revisionStart,
Revision revisionEnd,
BlameCallback callback)
throws ClientException
path - the pathpegRevision - the revision to interpret the pathrevisionStart - the first revision to showrevisionEnd - the last revision to showcallback - callback to receive the file content and the other
information
ClientException
void setConfigDirectory(java.lang.String configDir)
throws ClientException
configDir - path of the directory
ClientException
java.lang.String getConfigDirectory()
throws ClientException
ClientException
void cancelOperation()
throws ClientException
ClientException
Info info(java.lang.String path)
throws ClientException
path - path of the item
ClientException
void lock(java.lang.String[] path,
java.lang.String comment,
boolean force)
throws ClientException
path - path of the itemcomment - force - break an existing lock
ClientException
void unlock(java.lang.String[] path,
boolean force)
throws ClientException
path - path of the itemforce - break an existing lock
ClientException
Info2[] info2(java.lang.String pathOrUrl,
Revision revision,
Revision pegRevision,
boolean recurse)
throws ClientException
pathOrUrl - the path or the url of the itemrevision - the revision of the item to returnpegRevision - the revision to interpret pathOrUrlrecurse - flag if to recurse, if the item is a directory
ClientException
java.lang.String getVersionInfo(java.lang.String path,
java.lang.String trailUrl,
boolean lastChanged)
throws ClientException
path - path of the working copytrailUrl - to detect switches of the whole working copylastChanged - last changed rather than current revisions
ClientException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||