⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 svnclientsynchronized.java

📁 subversion-1.4.3-1.tar.gz 配置svn的源码
💻 JAVA
📖 第 1 页 / 共 4 页
字号:
                         boolean recurse)            throws ClientException    {        synchronized(clazz)        {            return worker.checkout(moduleName, destPath, revision, recurse);        }    }    /**     * Sets the notification callback used to send processing information back     * to the calling program.     * @param notify listener that the SVN library should call on many     *               file operations.     * @deprecated use notification2 instead     */    public void notification(Notify notify)    {        synchronized(clazz)        {            worker.notification(notify);        }    }    /**     * Sets the notification callback used to send processing information back     * to the calling program.     *     * @param notify listener that the SVN library should call on many     *               file operations.     * @since 1.2     */    public void notification2(Notify2 notify)    {        synchronized(clazz)        {            worker.notification2(notify);        }    }    /**     * Sets the commit message handler. This allows more complex commit message     * with the list of the elements to be commited as input.     * @param messageHandler    callback for entering commit messages     *                          if this is set the message parameter is ignored.     */    public void commitMessageHandler(CommitMessage messageHandler)    {        synchronized(clazz)        {            worker.commitMessageHandler(messageHandler);        }    }    /**     * Sets a file for deletion.     * @param path      path or url to be deleted     * @param message   if path is a url, this will be the commit message.     * @param force     delete even when there are local modifications.     * @exception ClientException     */    public void remove(String[] path, String message, boolean force)            throws ClientException    {        synchronized(clazz)        {            worker.remove(path, message, force);        }    }    /**     * Reverts a file to a pristine state.     * @param path      path of the file.     * @param recurse   recurse into subdirectories     * @exception ClientException     */    public void revert(String path, boolean recurse) throws ClientException    {        synchronized(clazz)        {            worker.revert(path, recurse);        }    }    /**     * Adds a file to the repository.     * @param path      path to be added.     * @param recurse   recurse into subdirectories     * @exception ClientException     */    public void add(String path, boolean recurse) throws ClientException    {        synchronized(clazz)        {            worker.add(path, recurse);        }    }    /**     * Adds a file to the repository.     * @param path      path to be added.     * @param recurse   recurse into subdirectories     * @param force     if adding a directory and recurse true and path is a     *                  directory, all not already managed files are added.     * @exception ClientException     * @since 1.2     */    public void add(String path, boolean recurse, boolean force)            throws ClientException    {        synchronized(clazz)        {            worker.add(path, recurse, force);        }    }    /**     * Updates the directory or file from repository     * @param path target file.     * @param revision the revision number to update.     *                 Revision.HEAD will update to the     *                 latest revision.     * @param recurse recursively update.     * @exception ClientException     */    public long update(String path, Revision revision, boolean recurse)            throws ClientException    {        synchronized(clazz)        {            return worker.update(path, revision, recurse);        }    }    /**     * Updates the directories or files from repository     * @param path array of target files.     * @param revision the revision number to update.     *                 Revision.HEAD will update to the     *                 latest revision.     * @param recurse recursively update.     * @param ignoreExternals if externals are ignored during update     * @exception ClientException     * @since 1.2     */    public long[] update(String[] path, Revision revision, boolean recurse,                         boolean ignoreExternals) throws ClientException    {        synchronized(clazz)        {            return worker.update(path, revision, recurse, ignoreExternals);        }    }    /**     * Commits changes to the repository.     * @param path      files to commit.     * @param message   log message.     * @param recurse   whether the operation should be done recursively.     * @return Returns a long representing the revision. It returns a     *         -1 if the revision number is invalid.     * @exception ClientException     */    public long commit(String[] path, String message, boolean recurse)            throws ClientException    {        synchronized(clazz)        {            return worker.commit(path, message, recurse, false);        }    }    /**     * Copies a versioned file with the history preserved.     * @param srcPath   source path or url     * @param destPath  destination path or url     * @param message   commit message if destPath is an url     * @param revision  source revision     * @exception ClientException     */    public void copy(String srcPath, String destPath, String message,                     Revision revision) throws ClientException    {        synchronized(clazz)        {            worker.copy(srcPath, destPath, message, revision);        }    }    /**     * Moves or renames a file.     * @param srcPath   source path or url     * @param destPath  destination path or url     * @param message   commit message if destPath is an url     * @param revision  source revision     * @param force     even with local modifications.     * @exception ClientException     * @since 1.2     */    public void move(String srcPath, String destPath, String message,                     Revision revision, boolean force) throws ClientException    {        synchronized(clazz)        {            worker.move(srcPath, destPath, message, revision, force);        }    }    /**     * Moves or renames a file.     *     * @param srcPath  source path or url     * @param destPath destination path or url     * @param message  commit message if destPath is an url     * @param force    even with local modifications.     * @throws ClientException     *     */    public void move(String srcPath, String destPath, String message,                     boolean force) throws ClientException    {        synchronized(clazz)        {            worker.move(srcPath, destPath, message, force);        }    }    /**     * Creates a directory directly in a repository or creates a     * directory on disk and schedules it for addition.     * @param path      directories to be created     * @param message   commit message to used if path contains urls     * @exception ClientException     */    public void mkdir(String[] path, String message) throws ClientException    {        synchronized(clazz)        {            worker.mkdir(path, message);        }    }    /**     * Recursively cleans up a local directory, finishing any     * incomplete operations, removing lockfiles, etc.     * @param path a local directory.     * @exception ClientException     */    public void cleanup(String path) throws ClientException    {        synchronized(clazz)        {            worker.cleanup(path);        }    }    /**     * Removes the 'conflicted' state on a file.     * @param path      path to cleanup     * @param recurse   recurce into subdirectories     * @exception ClientException     */    public void resolved(String path, boolean recurse) throws ClientException    {        synchronized(clazz)        {            worker.resolved(path,recurse);        }    }    /**     * Exports the contents of either a subversion repository into a     * 'clean' directory (meaning a directory with no administrative     * directories).     * @param srcPath   the url of the repository path to be exported     * @param destPath  a destination path that must not already exist.     * @param revision  the revsion to be exported     * @param force     set if it is ok to overwrite local files     * @exception ClientException     */    public long doExport(String srcPath, String destPath, Revision revision,                         boolean force) throws ClientException    {        synchronized(clazz)        {            return worker.doExport(srcPath, destPath, revision, force);        }    }    /**     * Exports the contents of either a subversion repository into a     * 'clean' directory (meaning a directory with no administrative     * directories).     *     * @param srcPath         the url of the repository path to be exported     * @param destPath        a destination path that must not already exist.     * @param revision        the revsion to be exported     * @param pegRevision     the revision to interpret srcPath     * @param force           set if it is ok to overwrite local files     * @param ignoreExternals ignore external during export     * @param recurse   recurse to subdirectories     * @param nativeEOL       which EOL characters to use during export     * @throws ClientException     * @since 1.2     */    public long doExport(String srcPath, String destPath, Revision revision,                         Revision pegRevision, boolean force,                         boolean ignoreExternals, boolean recurse,                         String nativeEOL)            throws ClientException    {        synchronized(clazz)        {            return worker.doExport(srcPath, destPath, revision, pegRevision,                    force, ignoreExternals, recurse, nativeEOL);        }    }    /**     * Update local copy to mirror a new url.     * @param path      the working copy path     * @param url       the new url for the working copy     * @param revision  the new base revision of working copy     * @param recurse   traverse into subdirectories     * @exception ClientException     */    public long doSwitch(String path, String url, Revision revision,                         boolean recurse) throws ClientException    {        synchronized(clazz)        {            return worker.doSwitch(path, url, revision, recurse);        }    }    /**     * Import a file or directory into a repository directory  at     * head.     * @param path      the local path     * @param url       the target url     * @param message   the log message.     * @param recurse   traverse into subdirectories     * @exception ClientException     */    public void doImport(String path, String url, String message,                         boolean recurse) throws ClientException    {        synchronized(clazz)        {            worker.doImport(path, url, message, recurse);        }    }    /**     * Merge changes from two paths into a new local path.     * @param path1         first path or url     * @param revision1     first revision     * @param path2         second path or url     * @param revision2     second revision     * @param localPath     target local path     * @param force         overwrite local changes     * @param recurse       traverse into subdirectories     * @exception ClientException     */    public void merge(String path1, Revision revision1, String path2,                      Revision revision2, String localPath, boolean force,                      boolean recurse) throws ClientException    {        synchronized(clazz)        {            worker.merge(path1, revision1, path2, revision2, localPath, force,                    recurse);        }    }    /**     * Merge changes from two paths into a new local path.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -