Java Doc for SVNClientInterface.java in  » Source-Control » tmatesoft-SVN » org » tigris » subversion » javahl » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Source Control » tmatesoft SVN » org.tigris.subversion.javahl 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.tigris.subversion.javahl.SVNClientInterface

All known Subclasses:   org.tmatesoft.svn.core.javahl.SVNClientImpl,  org.tigris.subversion.javahl.SVNClient,  org.tigris.subversion.javahl.SVNClientSynchronized,
SVNClientInterface
public interface SVNClientInterface (Code)
This interface is the commom interface for all subversion operations. It is implemented by SVNClient and SVNClientSynchronized




Method Summary
 voidadd(String path, boolean recurse)
     Adds a file to the repository.
 voidadd(String path, boolean recurse, boolean force)
     Adds a file to the repository.
 byte[]blame(String path, Revision revisionStart, Revision revisionEnd)
     Return for each line of the file, the author and the revision of the last together with the content.
 voidblame(String path, Revision revisionStart, Revision revisionEnd, BlameCallback callback)
    
 voidblame(String path, Revision pegRevision, Revision revisionStart, Revision revisionEnd, BlameCallback callback)
    
 voidcancelOperation()
    
 longcheckout(String moduleName, String destPath, Revision revision, Revision pegRevision, boolean recurse, boolean ignoreExternals)
     Executes a revision checkout.
 longcheckout(String moduleName, String destPath, Revision revision, boolean recurse)
     Executes a revision checkout.
 voidcleanup(String path)
     Recursively cleans up a local directory, finishing any incomplete operations, removing lockfiles, etc.
 longcommit(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.
 longcommit(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.
 voidcommitMessageHandler(CommitMessage messageHandler)
     Sets the commit message handler.
 voidcopy(String srcPath, String destPath, String message, Revision revision)
     Copies a versioned file with the history preserved.
 voiddiff(String target1, Revision revision1, String target2, Revision revision2, String outFileName, boolean recurse)
    
 voiddiff(String target1, Revision revision1, String target2, Revision revision2, String outFileName, boolean recurse, boolean ignoreAncestry, boolean noDiffDeleted, boolean force)
    
 voiddiff(String target, Revision pegRevision, Revision startRevision, Revision endRevision, String outFileName, boolean recurse, boolean ignoreAncestry, boolean noDiffDeleted, boolean force)
    
 voiddispose()
    
 longdoExport(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).
 longdoExport(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).
 voiddoImport(String path, String url, String message, boolean recurse)
     Import a file or directory into a repository directory at head.
 longdoSwitch(String path, String url, Revision revision, boolean recurse)
     Update local copy to mirror a new url.
 byte[]fileContent(String path, Revision revision)
    
 byte[]fileContent(String path, Revision revision, Revision pegRevision)
    
public  StringgetAdminDirectoryName()
    
 StringgetConfigDirectory()
    
 StringgetLastPath()
     Returns the last destination path submitted.
public  VersiongetVersion()
    
 StringgetVersionInfo(String path, String trailUrl, boolean lastChanged)
    
 Infoinfo(String path)
    
 Info2[]info2(String pathOrUrl, Revision revision, Revision pegRevision, boolean recurse)
     Retrieve information about repository or working copy items.
public  booleanisAdminDirectory(String name)
    
Parameters:
  name - The name of the directory to compare.
 DirEntry[]list(String url, Revision revision, boolean recurse)
     Lists the directory entries of an url on the server.
 DirEntry[]list(String url, Revision revision, Revision pegRevision, boolean recurse)
     Lists the directory entries of an url on the server.
 voidlock(String[] path, String comment, boolean force)
    
 LogMessage[]logMessages(String path, Revision revisionStart, Revision revisionEnd)
    
 LogMessage[]logMessages(String path, Revision revisionStart, Revision revisionEnd, boolean stopOnCopy)
    
 LogMessage[]logMessages(String path, Revision revisionStart, Revision revisionEnd, boolean stopOnCopy, boolean discoverPath)
    
 LogMessage[]logMessages(String path, Revision revisionStart, Revision revisionEnd, boolean stopOnCopy, boolean discoverPath, long limit)
    
 voidmerge(String path1, Revision revision1, String path2, Revision revision2, String localPath, boolean force, boolean recurse)
     Merge changes from two paths into a new local path.
 voidmerge(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.
 voidmerge(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.
 voidmkdir(String[] path, String message)
     Creates a directory directly in a repository or creates a directory on disk and schedules it for addition.
 voidmove(String srcPath, String destPath, String message, Revision revision, boolean force)
     Moves or renames a file.
 voidmove(String srcPath, String destPath, String message, boolean force)
     Moves or renames a file.
 voidnotification(Notify notify)
     Sets the notification callback used to send processing information back to the calling program.
 voidnotification2(Notify2 notify)
     Sets the notification callback used to send processing information back to the calling program.
 voidpassword(String password)
     Sets the password used for authentication.
Parameters:
  password - The password, ignored if the empty string.
 PropertyData[]properties(String path)
    
 PropertyData[]properties(String path, Revision revision)
    
 PropertyData[]properties(String path, Revision revision, Revision pegRevision)
    
 voidpropertyCreate(String path, String name, String value, boolean recurse)
    
 voidpropertyCreate(String path, String name, String value, boolean recurse, boolean force)
    
 voidpropertyCreate(String path, String name, byte[] value, boolean recurse)
    
 voidpropertyCreate(String path, String name, byte[] value, boolean recurse, boolean force)
    
 PropertyDatapropertyGet(String path, String name)
    
 PropertyDatapropertyGet(String path, String name, Revision revision)
    
 PropertyDatapropertyGet(String path, String name, Revision revision, Revision pegRevision)
    
 voidpropertyRemove(String path, String name, boolean recurse)
     Remove one property of an item.
 voidpropertySet(String path, String name, String value, boolean recurse)
    
 voidpropertySet(String path, String name, String value, boolean recurse, boolean force)
    
 voidpropertySet(String path, String name, byte[] value, boolean recurse)
    
 voidpropertySet(String path, String name, byte[] value, boolean recurse, boolean force)
    
 voidrelocate(String from, String to, String path, boolean recurse)
    
 voidremove(String[] path, String message, boolean force)
     Sets a file for deletion.
 voidresolved(String path, boolean recurse)
     Removes the 'conflicted' state on a file.
 PropertyData[]revProperties(String path, Revision rev)
    
 PropertyDatarevProperty(String path, String name, Revision rev)
    
 voidrevert(String path, boolean recurse)
     Reverts a file to a pristine state.
 voidsetConfigDirectory(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.
 voidsetPrompt(PromptUserPassword prompt)
    
 voidsetRevProperty(String path, String name, Revision rev, String value, boolean force)
    
 StatussingleStatus(String path, boolean onServer)
     Returns the status of a single file in the path.
Parameters:
  path - File to gather status.
Parameters:
  onServer - Request status information from the server.
 Status[]status(String path, boolean descend, boolean onServer, boolean getAll)
     List a directory or file of the working copy.
Parameters:
  path - Path to explore.
Parameters:
  descend - Recurse into subdirectories if they exist.
Parameters:
  onServer - Request status information from server.
Parameters:
  getAll - get status for uninteristing files (unchanged).
 Status[]status(String path, boolean descend, boolean onServer, boolean getAll, boolean noIgnore)
     List a directory or file of the working copy.
Parameters:
  path - Path to explore.
Parameters:
  descend - Recurse into subdirectories if they exist.
Parameters:
  onServer - Request status information from server.
Parameters:
  getAll - get status for uninteristing files (unchanged).
Parameters:
  noIgnore - get status for normaly ignored files and directories.
 Status[]status(String path, boolean descend, boolean onServer, boolean getAll, boolean noIgnore, boolean ignoreExternals)
     List a directory or file of the working copy.
 voidstreamFileContent(String path, Revision revision, Revision pegRevision, int bufferSize, OutputStream stream)
     Write the file's content to the specified output stream.
 voidunlock(String[] path, boolean force)
    
 longupdate(String path, Revision revision, boolean recurse)
    
 long[]update(String[] path, Revision revision, boolean recurse, boolean ignoreExternals)
    
 voidusername(String username)
     Sets the username used for authentication.
Parameters:
  username - The username, ignored if the empty string.



Method Detail
add
void add(String path, boolean recurse) throws ClientException(Code)
Adds a file to the repository.
Parameters:
  path - path to be added.
Parameters:
  recurse - recurse into subdirectories
exception:
  ClientException -



add
void add(String path, boolean recurse, boolean force) throws ClientException(Code)
Adds a file to the repository.
Parameters:
  path - path to be added.
Parameters:
  recurse - recurse into subdirectories
Parameters:
  force - if adding a directory and recurse true and path is adirectory, all not already managed files are added.
exception:
  ClientException -
since:
   1.2



blame
byte[] blame(String path, Revision revisionStart, Revision revisionEnd) throws ClientException(Code)
Return for each line of the file, the author and the revision of the last together with the content.
Parameters:
  path - the path
Parameters:
  revisionStart - the first revision to show
Parameters:
  revisionEnd - the last revision to show the content together with author and revision of last change
throws:
  ClientException -



blame
void blame(String path, Revision revisionStart, Revision revisionEnd, BlameCallback callback) throws ClientException(Code)
Retrieve the content together with the author, the revision and the date of the last change of each line
Parameters:
  path - the path
Parameters:
  revisionStart - the first revision to show
Parameters:
  revisionEnd - the last revision to show
Parameters:
  callback - callback to receive the file content and the otherinformation
throws:
  ClientException -



blame
void blame(String path, Revision pegRevision, Revision revisionStart, Revision revisionEnd, BlameCallback callback) throws ClientException(Code)
Retrieve the content together with the author, the revision and the date of the last change of each line
Parameters:
  path - the path
Parameters:
  pegRevision - the revision to interpret the path
Parameters:
  revisionStart - the first revision to show
Parameters:
  revisionEnd - the last revision to show
Parameters:
  callback - callback to receive the file content and the otherinformation
throws:
  ClientException -
since:
   1.2



cancelOperation
void cancelOperation() throws ClientException(Code)
cancel the active operation
throws:
  ClientException -



checkout
long checkout(String moduleName, String destPath, Revision revision, Revision pegRevision, boolean recurse, boolean ignoreExternals) throws ClientException(Code)
Executes a revision checkout.
Parameters:
  moduleName - name of the module to checkout.
Parameters:
  destPath - destination directory for checkout.
Parameters:
  revision - the revision to checkout.
Parameters:
  pegRevision - the peg revision to interpret the path
Parameters:
  recurse - whether you want it to checkout files recursively.
Parameters:
  ignoreExternals - if externals are ignored during checkout
exception:
  ClientException -
since:
   1.2



checkout
long checkout(String moduleName, String destPath, Revision revision, boolean recurse) throws ClientException(Code)
Executes a revision checkout.
Parameters:
  moduleName - name of the module to checkout.
Parameters:
  destPath - destination directory for checkout.
Parameters:
  revision - the revision to checkout.
Parameters:
  recurse - whether you want it to checkout files recursively.
exception:
  ClientException -



cleanup
void cleanup(String path) throws ClientException(Code)
Recursively cleans up a local directory, finishing any incomplete operations, removing lockfiles, etc.
Parameters:
  path - a local directory.
exception:
  ClientException -



commit
long commit(String[] path, String message, boolean recurse) throws ClientException(Code)
Commits changes to the repository.
Parameters:
  path - files to commit.
Parameters:
  message - log message.
Parameters:
  recurse - whether the operation should be done recursively. Returns a long representing the revision. It returns a-1 if the revision number is invalid.
exception:
  ClientException -



commit
long commit(String[] path, String message, boolean recurse, boolean noUnlock) throws ClientException(Code)
Commits changes to the repository.
Parameters:
  path - files to commit.
Parameters:
  message - log message.
Parameters:
  recurse - whether the operation should be done recursively.
Parameters:
  noUnlock - do remove any locks Returns a long representing the revision. It returns a-1 if the revision number is invalid.
exception:
  ClientException -



commitMessageHandler
void commitMessageHandler(CommitMessage messageHandler)(Code)
Sets the commit message handler. This allows more complex commit message with the list of the elements to be commited as input.
Parameters:
  messageHandler - callback for entering commit messagesif this is set the message parameter is ignored.



copy
void copy(String srcPath, String destPath, String message, Revision revision) throws ClientException(Code)
Copies a versioned file with the history preserved.
Parameters:
  srcPath - source path or url
Parameters:
  destPath - destination path or url
Parameters:
  message - commit message if destPath is an url
Parameters:
  revision - source revision
exception:
  ClientException -



diff
void diff(String target1, Revision revision1, String target2, Revision revision2, String outFileName, boolean recurse) throws ClientException(Code)
Display the differences between two paths
Parameters:
  target1 - first path or url
Parameters:
  revision1 - first revision
Parameters:
  target2 - second path or url
Parameters:
  revision2 - second revision
Parameters:
  outFileName - file name where difference are written
Parameters:
  recurse - traverse into subdirectories
exception:
  ClientException -



diff
void diff(String target1, Revision revision1, String target2, Revision revision2, String outFileName, boolean recurse, boolean ignoreAncestry, boolean noDiffDeleted, boolean force) throws ClientException(Code)
Display the differences between two paths
Parameters:
  target1 - first path or url
Parameters:
  revision1 - first revision
Parameters:
  target2 - second path or url
Parameters:
  revision2 - second revision
Parameters:
  outFileName - file name where difference are written
Parameters:
  recurse - traverse into subdirectories
Parameters:
  ignoreAncestry - ignore if files are not related
Parameters:
  noDiffDeleted - no output on deleted files
Parameters:
  force - diff even on binary files
exception:
  ClientException -
since:
   1.2



diff
void diff(String target, Revision pegRevision, Revision startRevision, Revision endRevision, String outFileName, boolean recurse, boolean ignoreAncestry, boolean noDiffDeleted, boolean force) throws ClientException(Code)
Display the differences between two paths
Parameters:
  target - path or url
Parameters:
  pegRevision - revision tointerpret target
Parameters:
  startRevision - first Revision to compare
Parameters:
  endRevision - second Revision to compare
Parameters:
  outFileName - file name where difference are written
Parameters:
  recurse - traverse into subdirectories
Parameters:
  ignoreAncestry - ignore if files are not related
Parameters:
  noDiffDeleted - no output on deleted files
Parameters:
  force - diff even on binary files
exception:
  ClientException -
since:
   1.2



dispose
void dispose()(Code)
release the native peer (should not depend on finalize)



doExport
long doExport(String srcPath, String destPath, Revision revision, boolean force) throws ClientException(Code)
Exports the contents of either a subversion repository into a 'clean' directory (meaning a directory with no administrative directories).
Parameters:
  srcPath - the url of the repository path to be exported
Parameters:
  destPath - a destination path that must not already exist.
Parameters:
  revision - the revsion to be exported
Parameters:
  force - set if it is ok to overwrite local files
exception:
  ClientException -



doExport
long doExport(String srcPath, String destPath, Revision revision, Revision pegRevision, boolean force, boolean ignoreExternals, boolean recurse, String nativeEOL) throws ClientException(Code)
Exports the contents of either a subversion repository into a 'clean' directory (meaning a directory with no administrative directories).
Parameters:
  srcPath - the url of the repository path to be exported
Parameters:
  destPath - a destination path that must not already exist.
Parameters:
  revision - the revsion to be exported
Parameters:
  pegRevision - the revision to interpret srcPath
Parameters:
  force - set if it is ok to overwrite local files
Parameters:
  ignoreExternals - ignore external during export
Parameters:
  recurse - recurse to subdirectories
Parameters:
  nativeEOL - which EOL characters to use during export
exception:
  ClientException -
since:
   1.2



doImport
void doImport(String path, String url, String message, boolean recurse) throws ClientException(Code)
Import a file or directory into a repository directory at head.
Parameters:
  path - the local path
Parameters:
  url - the target url
Parameters:
  message - the log message.
Parameters:
  recurse - traverse into subdirectories
exception:
  ClientException -



doSwitch
long doSwitch(String path, String url, Revision revision, boolean recurse) throws ClientException(Code)
Update local copy to mirror a new url.
Parameters:
  path - the working copy path
Parameters:
  url - the new url for the working copy
Parameters:
  revision - the new base revision of working copy
Parameters:
  recurse - traverse into subdirectories
exception:
  ClientException -



fileContent
byte[] fileContent(String path, Revision revision) throws ClientException(Code)
Retrieve the content of a file
Parameters:
  path - the path of the file
Parameters:
  revision - the revision to retrieve the content as byte array
throws:
  ClientException -



fileContent
byte[] fileContent(String path, Revision revision, Revision pegRevision) throws ClientException(Code)
Retrieve the content of a file
Parameters:
  path - the path of the file
Parameters:
  revision - the revision to retrieve
Parameters:
  pegRevision - the revision to interpret path the content as byte array
throws:
  ClientException -
since:
   1.2



getAdminDirectoryName
public String getAdminDirectoryName()(Code)
The name of the working copy's administrativedirectory, which is usually .svn.
See Also:    Instructions
See Also:   on changing this as a work-around for the behavior of ASP.Net
See Also:   on Windows.
since:
   1.3



getConfigDirectory
String getConfigDirectory() throws ClientException(Code)
Get the configuration directory the directory
throws:
  ClientException -



getLastPath
String getLastPath()(Code)
Returns the last destination path submitted. path in Subversion format.



getVersion
public Version getVersion()(Code)
Version information about the underlying native libraries.



getVersionInfo
String getVersionInfo(String path, String trailUrl, boolean lastChanged) throws ClientException(Code)
Produce a compact "version number" for a working copy
Parameters:
  path - path of the working copy
Parameters:
  trailUrl - to detect switches of the whole working copy
Parameters:
  lastChanged - last changed rather than current revisions the compact "version number"
throws:
  ClientException -
since:
   1.2



info
Info info(String path) throws ClientException(Code)
Retrieves the working copy information for an item
Parameters:
  path - path of the item the information object
throws:
  ClientException -



info2
Info2[] info2(String pathOrUrl, Revision revision, Revision pegRevision, boolean recurse) throws ClientException(Code)
Retrieve information about repository or working copy items.
Parameters:
  pathOrUrl - the path or the url of the item
Parameters:
  revision - the revision of the item to return
Parameters:
  pegRevision - the revision to interpret pathOrUrl
Parameters:
  recurse - flag if to recurse, if the item is a directory the information objects
since:
   1.2



isAdminDirectory
public boolean isAdminDirectory(String name)(Code)

Parameters:
  name - The name of the directory to compare. Whether name is that of a working copyadministrative directory.
since:
   1.3



list
DirEntry[] list(String url, Revision revision, boolean recurse) throws ClientException(Code)
Lists the directory entries of an url on the server.
Parameters:
  url - the url to list
Parameters:
  revision - the revision to list
Parameters:
  recurse - recurse into subdirectories Array of DirEntry objects.



list
DirEntry[] list(String url, Revision revision, Revision pegRevision, boolean recurse) throws ClientException(Code)
Lists the directory entries of an url on the server.
Parameters:
  url - the url to list
Parameters:
  revision - the revision to list
Parameters:
  pegRevision - the revision to interpret url
Parameters:
  recurse - recurse into subdirectories Array of DirEntry objects.
since:
   1.2



lock
void lock(String[] path, String comment, boolean force) throws ClientException(Code)
Lock a working copy item
Parameters:
  path - path of the item
Parameters:
  comment -
Parameters:
  force - break an existing lock
throws:
  ClientException -
since:
   1.2



logMessages
LogMessage[] logMessages(String path, Revision revisionStart, Revision revisionEnd) throws ClientException(Code)
Retrieve the log messages for an item
Parameters:
  path - path or url to get the log message for.
Parameters:
  revisionStart - first revision to show
Parameters:
  revisionEnd - last revision to show array of LogMessages



logMessages
LogMessage[] logMessages(String path, Revision revisionStart, Revision revisionEnd, boolean stopOnCopy) throws ClientException(Code)
Retrieve the log messages for an item
Parameters:
  path - path or url to get the log message for.
Parameters:
  revisionStart - first revision to show
Parameters:
  revisionEnd - last revision to show
Parameters:
  stopOnCopy - do not continue on copy operations array of LogMessages



logMessages
LogMessage[] logMessages(String path, Revision revisionStart, Revision revisionEnd, boolean stopOnCopy, boolean discoverPath) throws ClientException(Code)
Retrieve the log messages for an item
Parameters:
  path - path or url to get the log message for.
Parameters:
  revisionStart - first revision to show
Parameters:
  revisionEnd - last revision to show
Parameters:
  stopOnCopy - do not continue on copy operations
Parameters:
  discoverPath - returns the paths of the changed items in thereturned objects array of LogMessages



logMessages
LogMessage[] logMessages(String path, Revision revisionStart, Revision revisionEnd, boolean stopOnCopy, boolean discoverPath, long limit) throws ClientException(Code)
Retrieve the log messages for an item
Parameters:
  path - path or url to get the log message for.
Parameters:
  revisionStart - first revision to show
Parameters:
  revisionEnd - last revision to show
Parameters:
  stopOnCopy - do not continue on copy operations
Parameters:
  discoverPath - returns the paths of the changed items in thereturned objects
Parameters:
  limit - limit the number of log messages (if 0 or less nolimit) array of LogMessages
since:
   1.2



merge
void merge(String path1, Revision revision1, String path2, Revision revision2, String localPath, boolean force, boolean recurse) throws ClientException(Code)
Merge changes from two paths into a new local path.
Parameters:
  path1 - first path or url
Parameters:
  revision1 - first revision
Parameters:
  path2 - second path or url
Parameters:
  revision2 - second revision
Parameters:
  localPath - target local path
Parameters:
  force - overwrite local changes
Parameters:
  recurse - traverse into subdirectories
exception:
  ClientException -



merge
void merge(String path1, Revision revision1, String path2, Revision revision2, String localPath, boolean force, boolean recurse, boolean ignoreAncestry, boolean dryRun) throws ClientException(Code)
Merge changes from two paths into a new local path.
Parameters:
  path1 - first path or url
Parameters:
  revision1 - first revision
Parameters:
  path2 - second path or url
Parameters:
  revision2 - second revision
Parameters:
  localPath - target local path
Parameters:
  force - overwrite local changes
Parameters:
  recurse - traverse into subdirectories
Parameters:
  ignoreAncestry - ignore if files are not related
Parameters:
  dryRun - do not change anything
exception:
  ClientException -
since:
   1.2



merge
void merge(String path, Revision pegRevision, Revision revision1, Revision revision2, String localPath, boolean force, boolean recurse, boolean ignoreAncestry, boolean dryRun) throws ClientException(Code)
Merge changes from two paths into a new local path.
Parameters:
  path - path or url
Parameters:
  pegRevision - revision to interpret path
Parameters:
  revision1 - first revision
Parameters:
  revision2 - second revision
Parameters:
  localPath - target local path
Parameters:
  force - overwrite local changes
Parameters:
  recurse - traverse into subdirectories
Parameters:
  ignoreAncestry - ignore if files are not related
Parameters:
  dryRun - do not change anything
exception:
  ClientException -
since:
   1.2



mkdir
void mkdir(String[] path, String message) throws ClientException(Code)
Creates a directory directly in a repository or creates a directory on disk and schedules it for addition.
Parameters:
  path - directories to be created
Parameters:
  message - commit message to used if path contains urls
exception:
  ClientException -



move
void move(String srcPath, String destPath, String message, Revision revision, boolean force) throws ClientException(Code)
Moves or renames a file.
Parameters:
  srcPath - source path or url
Parameters:
  destPath - destination path or url
Parameters:
  message - commit message if destPath is an url
Parameters:
  revision - source revision (unused)
Parameters:
  force - even with local modifications.
exception:
  ClientException -



move
void move(String srcPath, String destPath, String message, boolean force) throws ClientException(Code)
Moves or renames a file.
Parameters:
  srcPath - source path or url
Parameters:
  destPath - destination path or url
Parameters:
  message - commit message if destPath is an url
Parameters:
  force - even with local modifications.
exception:
  ClientException -
since:
   1.2



notification
void notification(Notify notify)(Code)
Sets the notification callback used to send processing information back to the calling program.
Parameters:
  notify - listener that the SVN library should call on manyfile operations.



notification2
void notification2(Notify2 notify)(Code)
Sets the notification callback used to send processing information back to the calling program.
Parameters:
  notify - listener that the SVN library should call on manyfile operations.
since:
   1.2



password
void password(String password)(Code)
Sets the password used for authentication.
Parameters:
  password - The password, ignored if the empty string. Setto the empty string to clear it.
throws:
  IllegalArgumentException - If password isnull.
See Also:   SVNClientInterface.username(String)



properties
PropertyData[] properties(String path) throws ClientException(Code)
Retrieves the properties of an item
Parameters:
  path - the path of the item array of property objects



properties
PropertyData[] properties(String path, Revision revision) throws ClientException(Code)
Retrieves the properties of an item
Parameters:
  path - the path of the item
Parameters:
  revision - the revision of the item array of property objects
since:
   1.2



properties
PropertyData[] properties(String path, Revision revision, Revision pegRevision) throws ClientException(Code)
Retrieves the properties of an item
Parameters:
  path - the path of the item
Parameters:
  revision - the revision of the item
Parameters:
  pegRevision - the revision to interpret path array of property objects
since:
   1.2



propertyCreate
void propertyCreate(String path, String name, String value, boolean recurse) throws ClientException(Code)
Create and sets one property of an item with a String value
Parameters:
  path - path of the item
Parameters:
  name - name of the property
Parameters:
  value - new value of the property
Parameters:
  recurse - set property also on the subdirectories
throws:
  ClientException -



propertyCreate
void propertyCreate(String path, String name, String value, boolean recurse, boolean force) throws ClientException(Code)
Create and sets one property of an item with a String value
Parameters:
  path - path of the item
Parameters:
  name - name of the property
Parameters:
  value - new value of the property
Parameters:
  recurse - set property also on the subdirectories
Parameters:
  force - do not check if the value is valid
throws:
  ClientException -
since:
   1.2



propertyCreate
void propertyCreate(String path, String name, byte[] value, boolean recurse) throws ClientException(Code)
Create and sets one property of an item with a byte array value
Parameters:
  path - path of the item
Parameters:
  name - name of the property
Parameters:
  value - new value of the property
Parameters:
  recurse - set property also on the subdirectories
throws:
  ClientException -



propertyCreate
void propertyCreate(String path, String name, byte[] value, boolean recurse, boolean force) throws ClientException(Code)
Create and sets one property of an item with a byte array value
Parameters:
  path - path of the item
Parameters:
  name - name of the property
Parameters:
  value - new value of the property
Parameters:
  recurse - set property also on the subdirectories
Parameters:
  force - do not check if the value is valid
throws:
  ClientException -
since:
   1.2



propertyGet
PropertyData propertyGet(String path, String name) throws ClientException(Code)
Retrieve one property of one iten
Parameters:
  path - path of the item
Parameters:
  name - name of property the Property
throws:
  ClientException -



propertyGet
PropertyData propertyGet(String path, String name, Revision revision) 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 the Property
throws:
  ClientException -
since:
   1.2



propertyGet
PropertyData propertyGet(String path, String name, Revision revision, Revision pegRevision) throws ClientException(Code)
Retrieve one property of one iten
Parameters:
  path - path of the item
Parameters:
  name - name of property
Parameters:
  revision - revision of the item
Parameters:
  pegRevision - the revision to interpret path the Property
throws:
  ClientException -
since:
   1.2



propertyRemove
void propertyRemove(String path, String name, boolean recurse) throws ClientException(Code)
Remove one property of an item.
Parameters:
  path - path of the item
Parameters:
  name - name of the property
Parameters:
  recurse - remove the property also on subdirectories
throws:
  ClientException -



propertySet
void propertySet(String path, String name, String value, boolean recurse) throws ClientException(Code)
Sets one property of an item with a String value
Parameters:
  path - path of the item
Parameters:
  name - name of the property
Parameters:
  value - new value of the property
Parameters:
  recurse - set property also on the subdirectories
throws:
  ClientException -



propertySet
void propertySet(String path, String name, String value, boolean recurse, boolean force) throws ClientException(Code)
Sets one property of an item with a String value
Parameters:
  path - path of the item
Parameters:
  name - name of the property
Parameters:
  value - new value of the property
Parameters:
  recurse - set property also on the subdirectories
Parameters:
  force - do not check if the value is valid
throws:
  ClientException -
since:
   1.2



propertySet
void propertySet(String path, String name, byte[] value, boolean recurse) throws ClientException(Code)
Sets one property of an item with a byte array value
Parameters:
  path - path of the item
Parameters:
  name - name of the property
Parameters:
  value - new value of the property
Parameters:
  recurse - set property also on the subdirectories
throws:
  ClientException -



propertySet
void propertySet(String path, String name, byte[] value, boolean recurse, boolean force) throws ClientException(Code)
Sets one property of an item with a byte array value
Parameters:
  path - path of the item
Parameters:
  name - name of the property
Parameters:
  value - new value of the property
Parameters:
  recurse - set property also on the subdirectories
Parameters:
  force - do not check if the value is valid
throws:
  ClientException -
since:
   1.2



relocate
void relocate(String from, String to, String path, boolean recurse) throws ClientException(Code)
Rewrite the url's in the working copy
Parameters:
  from - old url
Parameters:
  to - new url
Parameters:
  path - working copy path
Parameters:
  recurse - recurse into subdirectories
throws:
  ClientException -



remove
void remove(String[] path, String message, boolean force) throws ClientException(Code)
Sets a file for deletion.
Parameters:
  path - path or url to be deleted
Parameters:
  message - if path is a url, this will be the commit message.
Parameters:
  force - delete even when there are local modifications.
exception:
  ClientException -



resolved
void resolved(String path, boolean recurse) throws ClientException(Code)
Removes the 'conflicted' state on a file.
Parameters:
  path - path to cleanup
Parameters:
  recurse - recurce into subdirectories
exception:
  ClientException -



revProperties
PropertyData[] revProperties(String path, Revision rev) throws ClientException(Code)
Retrieve all revsision properties of one item
Parameters:
  path - path of the item
Parameters:
  rev - revision to retrieve the Properties
throws:
  ClientException -
since:
   1.2



revProperty
PropertyData revProperty(String path, String name, Revision rev) throws ClientException(Code)
Retrieve one revsision property of one item
Parameters:
  path - path of the item
Parameters:
  name - name of the property
Parameters:
  rev - revision to retrieve the Property
throws:
  ClientException -



revert
void revert(String path, boolean recurse) throws ClientException(Code)
Reverts a file to a pristine state.
Parameters:
  path - path of the file.
Parameters:
  recurse - recurse into subdirectories
exception:
  ClientException -



setConfigDirectory
void setConfigDirectory(String configDir) throws ClientException(Code)
Set directory for the configuration information, taking the usual steps to ensure that Subversion's config file templates exist in the specified location.
Parameters:
  configDir - path of the directory
throws:
  ClientException -



setPrompt
void setPrompt(PromptUserPassword prompt)(Code)
Register callback interface to supply username and password on demand
Parameters:
  prompt - the callback interface



setRevProperty
void setRevProperty(String path, String name, Revision rev, String value, boolean force) throws ClientException(Code)
set one revsision property of one item
Parameters:
  path - path of the item
Parameters:
  name - name of the property
Parameters:
  rev - revision to retrieve
Parameters:
  value - value of the property
Parameters:
  force - use force to set
throws:
  ClientException -
since:
   1.2



singleStatus
Status singleStatus(String path, boolean onServer) throws ClientException(Code)
Returns the status of a single file in the path.
Parameters:
  path - File to gather status.
Parameters:
  onServer - Request status information from the server. the subversion status of the file.



status
Status[] status(String path, boolean descend, boolean onServer, boolean getAll) throws ClientException(Code)
List a directory or file of the working copy.
Parameters:
  path - Path to explore.
Parameters:
  descend - Recurse into subdirectories if they exist.
Parameters:
  onServer - Request status information from server.
Parameters:
  getAll - get status for uninteristing files (unchanged). Array of Status entries.



status
Status[] status(String path, boolean descend, boolean onServer, boolean getAll, boolean noIgnore) throws ClientException(Code)
List a directory or file of the working copy.
Parameters:
  path - Path to explore.
Parameters:
  descend - Recurse into subdirectories if they exist.
Parameters:
  onServer - Request status information from server.
Parameters:
  getAll - get status for uninteristing files (unchanged).
Parameters:
  noIgnore - get status for normaly ignored files and directories. Array of Status entries.



status
Status[] status(String path, boolean descend, boolean onServer, boolean getAll, boolean noIgnore, boolean ignoreExternals) throws ClientException(Code)
List a directory or file of the working copy.
Parameters:
  path - Path to explore.
Parameters:
  descend - Recurse into subdirectories if they exist.
Parameters:
  onServer - Request status information from server.
Parameters:
  getAll - get status for uninteristing files (unchanged).
Parameters:
  noIgnore - get status for normaly ignored files and directories.
Parameters:
  ignoreExternals - if externals are ignored during status Array of Status entries.
since:
   1.2



streamFileContent
void streamFileContent(String path, Revision revision, Revision pegRevision, int bufferSize, OutputStream stream) throws ClientException(Code)
Write the file's content to the specified output stream. If you need an InputStream, use a PipedInputStream/PipedOutputStream combination.
Parameters:
  path - the path of the file
Parameters:
  revision - the revision to retrieve
Parameters:
  pegRevision - the revision at which to interpret the path
Parameters:
  the - stream to write the file's content to
throws:
  ClientException -
See Also:    PipedOutputStream
See Also:    PipedInputStream



unlock
void unlock(String[] path, boolean force) throws ClientException(Code)
Unlock a working copy item
Parameters:
  path - path of the item
Parameters:
  force - break an existing lock
throws:
  ClientException -
since:
   1.2



update
long update(String path, Revision revision, boolean recurse) throws ClientException(Code)
Updates the directory or file from repository
Parameters:
  path - target file.
Parameters:
  revision - the revision number to update.Revision.HEAD will update to thelatest revision.
Parameters:
  recurse - recursively update.
exception:
  ClientException -



update
long[] update(String[] path, Revision revision, boolean recurse, boolean ignoreExternals) throws ClientException(Code)
Updates the directories or files from repository
Parameters:
  path - array of target files.
Parameters:
  revision - the revision number to update.Revision.HEAD will update to thelatest revision.
Parameters:
  recurse - recursively update.
Parameters:
  ignoreExternals - if externals are ignored during update
exception:
  ClientException -
since:
   1.2



username
void username(String username)(Code)
Sets the username used for authentication.
Parameters:
  username - The username, ignored if the empty string. Setto the empty string to clear it.
throws:
  IllegalArgumentException - If username isnull.
See Also:   SVNClientInterface.password(String)



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.