|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.tigris.subversion.javahl.SVNClientSynchronized
public class SVNClientSynchronized
This class provides a threadsafe wrapped for SVNClient
Constructor Summary | |
---|---|
SVNClientSynchronized()
Create our worker |
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 authification. |
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 |
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 authentification. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SVNClientSynchronized()
Method Detail |
---|
public void dispose()
dispose
in interface SVNClientInterface
public Version getVersion()
getVersion
in interface SVNClientInterface
public java.lang.String getAdminDirectoryName()
getAdminDirectoryName
in interface SVNClientInterface
.svn
.public boolean isAdminDirectory(java.lang.String name)
isAdminDirectory
in interface SVNClientInterface
name
- The name of the directory to compare.
name
is that of a working copy
administrative directory.public java.lang.String getLastPath()
getLastPath
in interface SVNClientInterface
public Status[] status(java.lang.String path, boolean descend, boolean onServer, boolean getAll) throws ClientException
status
in interface SVNClientInterface
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
public Status[] status(java.lang.String path, boolean descend, boolean onServer, boolean getAll, boolean noIgnore) throws ClientException
status
in interface SVNClientInterface
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
public Status[] status(java.lang.String path, boolean descend, boolean onServer, boolean getAll, boolean noIgnore, boolean ignoreExternals) throws ClientException
status
in interface SVNClientInterface
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 checkout
ClientException
public DirEntry[] list(java.lang.String url, Revision revision, boolean recurse) throws ClientException
list
in interface SVNClientInterface
url
- the url to listrevision
- the revision to listrecurse
- recurse into subdirectories
ClientException
public DirEntry[] list(java.lang.String url, Revision revision, Revision pegRevision, boolean recurse) throws ClientException
list
in interface SVNClientInterface
url
- the url to listrevision
- the revision to listpegRevision
- the revision to interpret urlrecurse
- recurse into subdirectories
ClientException
public Status singleStatus(java.lang.String path, boolean onServer) throws ClientException
singleStatus
in interface SVNClientInterface
path
- File to gather status.onServer
- Request status information from the server.
ClientException
public void username(java.lang.String username)
username
in interface SVNClientInterface
username
- the usernameSVNClientInterface.password(String)
public void password(java.lang.String password)
password
in interface SVNClientInterface
password
- the passwordSVNClientInterface.username(String)
public void setPrompt(PromptUserPassword prompt)
setPrompt
in interface SVNClientInterface
prompt
- the callback interfacepublic LogMessage[] logMessages(java.lang.String path, Revision revisionStart, Revision revisionEnd) throws ClientException
logMessages
in interface SVNClientInterface
path
- path or url to get the log message for.revisionStart
- first revision to showrevisionEnd
- last revision to show
ClientException
public LogMessage[] logMessages(java.lang.String path, Revision revisionStart, Revision revisionEnd, boolean stopOnCopy) throws ClientException
logMessages
in interface SVNClientInterface
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
public LogMessage[] logMessages(java.lang.String path, Revision revisionStart, Revision revisionEnd, boolean stopOnCopy, boolean discoverPath) throws ClientException
logMessages
in interface SVNClientInterface
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
public LogMessage[] logMessages(java.lang.String path, Revision revisionStart, Revision revisionEnd, boolean stopOnCopy, boolean discoverPath, long limit) throws ClientException
logMessages
in interface SVNClientInterface
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
public long checkout(java.lang.String moduleName, java.lang.String destPath, Revision revision, Revision pegRevision, boolean recurse, boolean ignoreExternals) throws ClientException
checkout
in interface SVNClientInterface
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
public long checkout(java.lang.String moduleName, java.lang.String destPath, Revision revision, boolean recurse) throws ClientException
checkout
in interface SVNClientInterface
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.
ClientException
public void notification(Notify notify)
notification
in interface SVNClientInterface
notify
- listener that the SVN library should call on many
file operations.public void notification2(Notify2 notify)
notification2
in interface SVNClientInterface
notify
- listener that the SVN library should call on many
file operations.public void commitMessageHandler(CommitMessage messageHandler)
commitMessageHandler
in interface SVNClientInterface
messageHandler
- callback for entering commit messages
if this is set the message parameter is ignored.public void remove(java.lang.String[] path, java.lang.String message, boolean force) throws ClientException
remove
in interface SVNClientInterface
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
public void revert(java.lang.String path, boolean recurse) throws ClientException
revert
in interface SVNClientInterface
path
- path of the file.recurse
- recurse into subdirectories
ClientException
public void add(java.lang.String path, boolean recurse) throws ClientException
add
in interface SVNClientInterface
path
- path to be added.recurse
- recurse into subdirectories
ClientException
public void add(java.lang.String path, boolean recurse, boolean force) throws ClientException
add
in interface SVNClientInterface
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
public long update(java.lang.String path, Revision revision, boolean recurse) throws ClientException
update
in interface SVNClientInterface
path
- target file.revision
- the revision number to update.
Revision.HEAD will update to the
latest revision.recurse
- recursively update.
ClientException
public long[] update(java.lang.String[] path, Revision revision, boolean recurse, boolean ignoreExternals) throws ClientException
update
in interface SVNClientInterface
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
public long commit(java.lang.String[] path, java.lang.String message, boolean recurse) throws ClientException
commit
in interface SVNClientInterface
path
- files to commit.message
- log message.recurse
- whether the operation should be done recursively.
ClientException
public void copy(java.lang.String srcPath, java.lang.String destPath, java.lang.String message, Revision revision) throws ClientException
copy
in interface SVNClientInterface
srcPath
- source path or urldestPath
- destination path or urlmessage
- commit message if destPath is an urlrevision
- source revision
ClientException
public void move(java.lang.String srcPath, java.lang.String destPath, java.lang.String message, Revision revision, boolean force) throws ClientException
move
in interface SVNClientInterface
srcPath
- source path or urldestPath
- destination path or urlmessage
- commit message if destPath is an urlrevision
- source revisionforce
- even with local modifications.
ClientException
public void move(java.lang.String srcPath, java.lang.String destPath, java.lang.String message, boolean force) throws ClientException
move
in interface SVNClientInterface
srcPath
- source path or urldestPath
- destination path or urlmessage
- commit message if destPath is an urlforce
- even with local modifications.
ClientException
public void mkdir(java.lang.String[] path, java.lang.String message) throws ClientException
mkdir
in interface SVNClientInterface
path
- directories to be createdmessage
- commit message to used if path contains urls
ClientException
public void cleanup(java.lang.String path) throws ClientException
cleanup
in interface SVNClientInterface
path
- a local directory.
ClientException
public void resolved(java.lang.String path, boolean recurse) throws ClientException
resolved
in interface SVNClientInterface
path
- path to cleanuprecurse
- recurce into subdirectories
ClientException
public long doExport(java.lang.String srcPath, java.lang.String destPath, Revision revision, boolean force) throws ClientException
doExport
in interface SVNClientInterface
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
public 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
doExport
in interface SVNClientInterface
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
public long doSwitch(java.lang.String path, java.lang.String url, Revision revision, boolean recurse) throws ClientException
doSwitch
in interface SVNClientInterface
path
- the working copy pathurl
- the new url for the working copyrevision
- the new base revision of working copyrecurse
- traverse into subdirectories
ClientException
public void doImport(java.lang.String path, java.lang.String url, java.lang.String message, boolean recurse) throws ClientException
doImport
in interface SVNClientInterface
path
- the local pathurl
- the target urlmessage
- the log message.recurse
- traverse into subdirectories
ClientException
public void merge(java.lang.String path1, Revision revision1, java.lang.String path2, Revision revision2, java.lang.String localPath, boolean force, boolean recurse) throws ClientException
merge
in interface SVNClientInterface
path1
- first path or urlrevision1
- first revisionpath2
- second path or urlrevision2
- second revisionlocalPath
- target local pathforce
- overwrite local changesrecurse
- traverse into subdirectories
ClientException
public 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
merge
in interface SVNClientInterface
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
public 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
merge
in interface SVNClientInterface
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
public void diff(java.lang.String target1, Revision revision1, java.lang.String target2, Revision revision2, java.lang.String outFileName, boolean recurse) throws ClientException
diff
in interface SVNClientInterface
target1
- first path or urlrevision1
- first revisiontarget2
- second path or urlrevision2
- second revisionoutFileName
- file name where difference are writtenrecurse
- traverse into subdirectories
ClientException
public 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
diff
in interface SVNClientInterface
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
public 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
diff
in interface SVNClientInterface
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
public PropertyData[] properties(java.lang.String path) throws ClientException
properties
in interface SVNClientInterface
path
- the path of the item
ClientException
public PropertyData[] properties(java.lang.String path, Revision revision) throws ClientException
properties
in interface SVNClientInterface
path
- the path of the itemrevision
- the revision of the item
ClientException
public PropertyData[] properties(java.lang.String path, Revision revision, Revision pegRevision) throws ClientException
properties
in interface SVNClientInterface
path
- the path of the itemrevision
- the revision of the itempegRevision
- the revision to interpret path
ClientException
public void propertySet(java.lang.String path, java.lang.String name, java.lang.String value, boolean recurse) throws ClientException
propertySet
in interface SVNClientInterface
path
- path of the itemname
- name of the propertyvalue
- new value of the propertyrecurse
- set property also on the subdirectories
ClientException
public void propertySet(java.lang.String path, java.lang.String name, java.lang.String value, boolean recurse, boolean force) throws ClientException
propertySet
in interface SVNClientInterface
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
public void propertySet(java.lang.String path, java.lang.String name, byte[] value, boolean recurse) throws ClientException
propertySet
in interface SVNClientInterface
path
- path of the itemname
- name of the propertyvalue
- new value of the propertyrecurse
- set property also on the subdirectories
ClientException
public void propertySet(java.lang.String path, java.lang.String name, byte[] value, boolean recurse, boolean force) throws ClientException
propertySet
in interface SVNClientInterface
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
public void propertyRemove(java.lang.String path, java.lang.String name, boolean recurse) throws ClientException
propertyRemove
in interface SVNClientInterface
path
- path of the itemname
- name of the propertyrecurse
- remove the property also on subdirectories
ClientException
public void propertyCreate(java.lang.String path, java.lang.String name, java.lang.String value, boolean recurse) throws ClientException
propertyCreate
in interface SVNClientInterface
path
- path of the itemname
- name of the propertyvalue
- new value of the propertyrecurse
- set property also on the subdirectories
ClientException
public void propertyCreate(java.lang.String path, java.lang.String name, java.lang.String value, boolean recurse, boolean force) throws ClientException
propertyCreate
in interface SVNClientInterface
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
public void propertyCreate(java.lang.String path, java.lang.String name, byte[] value, boolean recurse) throws ClientException
propertyCreate
in interface SVNClientInterface
path
- path of the itemname
- name of the propertyvalue
- new value of the propertyrecurse
- set property also on the subdirectories
ClientException
public void propertyCreate(java.lang.String path, java.lang.String name, byte[] value, boolean recurse, boolean force) throws ClientException
propertyCreate
in interface SVNClientInterface
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
public PropertyData revProperty(java.lang.String path, java.lang.String name, Revision rev) throws ClientException
revProperty
in interface SVNClientInterface
path
- path of the itemname
- name of the propertyrev
- revision to retrieve
ClientException
public PropertyData[] revProperties(java.lang.String path, Revision rev) throws ClientException
revProperties
in interface SVNClientInterface
path
- path of the itemrev
- revision to retrieve
ClientException
public void setRevProperty(java.lang.String path, java.lang.String name, Revision rev, java.lang.String value, boolean force) throws ClientException
setRevProperty
in interface SVNClientInterface
path
- path of the itemname
- name of the propertyrev
- revision to retrievevalue
- value of the propertyforce
-
ClientException
public PropertyData propertyGet(java.lang.String path, java.lang.String name) throws ClientException
propertyGet
in interface SVNClientInterface
path
- path of the itemname
- name of property
ClientException
public PropertyData propertyGet(java.lang.String path, java.lang.String name, Revision revision) throws ClientException
propertyGet
in interface SVNClientInterface
path
- path of the itemname
- name of propertyrevision
- revision of the item
ClientException
public PropertyData propertyGet(java.lang.String path, java.lang.String name, Revision revision, Revision pegRevision) throws ClientException
propertyGet
in interface SVNClientInterface
path
- path of the itemname
- name of propertyrevision
- revision of the itempegRevision
- the revision to interpret path
ClientException
public byte[] fileContent(java.lang.String path, Revision revision) throws ClientException
fileContent
in interface SVNClientInterface
path
- the path of the filerevision
- the revision to retrieve
ClientException
public byte[] fileContent(java.lang.String path, Revision revision, Revision pegRevision) throws ClientException
fileContent
in interface SVNClientInterface
path
- the path of the filerevision
- the revision to retrievepegRevision
- the revision to interpret path
ClientException
public void streamFileContent(java.lang.String path, Revision revision, Revision pegRevision, int bufferSize, java.io.OutputStream stream) throws ClientException
streamFileContent
in interface SVNClientInterface
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
public void relocate(java.lang.String from, java.lang.String to, java.lang.String path, boolean recurse) throws ClientException
relocate
in interface SVNClientInterface
from
- old urlto
- new urlpath
- working copy pathrecurse
- recurse into subdirectories
ClientException
public byte[] blame(java.lang.String path, Revision revisionStart, Revision revisionEnd) throws ClientException
blame
in interface SVNClientInterface
path
- the pathrevisionStart
- the first revision to showrevisionEnd
- the last revision to show
ClientException
public void blame(java.lang.String path, Revision revisionStart, Revision revisionEnd, BlameCallback callback) throws ClientException
blame
in interface SVNClientInterface
path
- the pathrevisionStart
- the first revision to showrevisionEnd
- the last revision to showcallback
- callback to receive the file content and the other
information
ClientException
public void blame(java.lang.String path, Revision pegRevision, Revision revisionStart, Revision revisionEnd, BlameCallback callback) throws ClientException
blame
in interface SVNClientInterface
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
public void setConfigDirectory(java.lang.String configDir) throws ClientException
setConfigDirectory
in interface SVNClientInterface
configDir
- path of the directory
ClientException
public java.lang.String getConfigDirectory() throws ClientException
getConfigDirectory
in interface SVNClientInterface
ClientException
public void cancelOperation() throws ClientException
cancelOperation
in interface SVNClientInterface
ClientException
public Info info(java.lang.String path) throws ClientException
info
in interface SVNClientInterface
path
- path of the item
ClientException
public long commit(java.lang.String[] path, java.lang.String message, boolean recurse, boolean noUnlock) throws ClientException
commit
in interface SVNClientInterface
path
- files to commit.message
- log message.recurse
- whether the operation should be done recursively.noUnlock
- do remove any locks
ClientException
public void lock(java.lang.String[] path, java.lang.String comment, boolean force) throws ClientException
lock
in interface SVNClientInterface
path
- path of the itemcomment
- force
- break an existing lock
ClientException
public void unlock(java.lang.String[] path, boolean force) throws ClientException
unlock
in interface SVNClientInterface
path
- path of the itemforce
- break an existing lock
ClientException
public Info2[] info2(java.lang.String pathOrUrl, Revision revision, Revision pegRevision, boolean recurse) throws ClientException
info2
in interface SVNClientInterface
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
public java.lang.String getVersionInfo(java.lang.String path, java.lang.String trailUrl, boolean lastChanged) throws ClientException
getVersionInfo
in interface SVNClientInterface
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 |