svnclientsynchronized.java

来自「subversion-1.4.3-1.tar.gz 配置svn的源码」· Java 代码 · 共 1,462 行 · 第 1/4 页

JAVA
1,462
字号
     *     * @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     * @param ignoreAncestry ignore if files are not related     * @param dryRun         do not change anything     * @throws ClientException     * @since 1.2     */    public void merge(String path1, Revision revision1, String path2,                      Revision revision2, String localPath, boolean force,                      boolean recurse, boolean ignoreAncestry, boolean dryRun)            throws ClientException    {        synchronized(clazz)        {            worker.merge(path1, revision1, path2, revision2, localPath, force,                    recurse, ignoreAncestry, dryRun);        }    }    /**     * Merge changes from two paths into a new local path.     *     * @param path           path or url     * @param pegRevision    revision to interpret path     * @param revision1      first revision     * @param revision2      second revision     * @param localPath      target local path     * @param force          overwrite local changes     * @param recurse        traverse into subdirectories     * @param ignoreAncestry ignore if files are not related     * @param dryRun         do not change anything     * @throws ClientException     * @since 1.2     */    public void merge(String path, Revision pegRevision, Revision revision1,                      Revision revision2, String localPath, boolean force,                      boolean recurse, boolean ignoreAncestry, boolean dryRun)            throws ClientException    {        synchronized(clazz)        {            worker.merge(path, pegRevision, revision1, revision2, localPath,                    force, recurse, ignoreAncestry, dryRun);        }    }    /**     * Display the differences between two paths     * @param target1       first path or url     * @param revision1     first revision     * @param target2       second path or url     * @param revision2     second revision     * @param outFileName   file name where difference are written     * @param recurse       traverse into subdirectories     * @exception ClientException     */    public void diff(String target1, Revision revision1, String target2,                     Revision revision2, String outFileName, boolean recurse)            throws ClientException    {        synchronized(clazz)        {            worker.diff(target1, revision1, target2, revision2, outFileName,                    recurse);        }    }    /**     * Display the differences between two paths     *     * @param target1        first path or url     * @param revision1      first revision     * @param target2        second path or url     * @param revision2      second revision     * @param outFileName    file name where difference are written     * @param recurse        traverse into subdirectories     * @param ignoreAncestry ignore if files are not related     * @param noDiffDeleted  no output on deleted files     * @param force          diff even on binary files     * @throws ClientException     * @since 1.2     */    public void diff(String target1, Revision revision1, String target2,                     Revision revision2, String outFileName, boolean recurse,                     boolean ignoreAncestry, boolean noDiffDeleted,                     boolean force) throws ClientException    {        synchronized(clazz)        {            worker.diff(target1, revision1, target2, revision2, outFileName,                    recurse, ignoreAncestry, noDiffDeleted, force);        }    }    /**     * Display the differences between two paths     *     * @param target         path or url     * @param pegRevision    revision tointerpret target     * @param startRevision  first Revision to compare     * @param endRevision    second Revision to compare     * @param outFileName    file name where difference are written     * @param recurse        traverse into subdirectories     * @param ignoreAncestry ignore if files are not related     * @param noDiffDeleted  no output on deleted files     * @param force          diff even on binary files     * @throws ClientException     * @since 1.2     */    public void diff(String target, Revision pegRevision,                     Revision startRevision, Revision endRevision,                     String outFileName, boolean recurse,                     boolean ignoreAncestry, boolean noDiffDeleted,                     boolean force) throws ClientException    {        synchronized(clazz)        {            worker.diff(target, pegRevision, startRevision, endRevision,                    outFileName, recurse, ignoreAncestry, noDiffDeleted, force);        }    }    /**     * Retrieves the properties of an item     * @param path  the path of the item     * @return array of property objects     */    public PropertyData[] properties(String path) throws ClientException    {        synchronized(clazz)        {            return worker.properties(path);        }    }    /**     * Retrieves the properties of an item     *     * @param path     the path of the item     * @param revision the revision of the item     * @return array of property objects     * @since 1.2     */    public PropertyData[] properties(String path, Revision revision)            throws ClientException    {        synchronized(clazz)        {            return worker.properties(path, revision);        }    }    /**     * Retrieves the properties of an item     *     * @param path        the path of the item     * @param revision    the revision of the item     * @param pegRevision the revision to interpret path     * @return array of property objects     * @since 1.2     */    public PropertyData[] properties(String path, Revision revision,                                     Revision pegRevision)            throws ClientException    {        synchronized(clazz)        {            return properties(path, revision, pegRevision);        }    }    /**     * Sets one property of an item with a String value     * @param path      path of the item     * @param name      name of the property     * @param value     new value of the property     * @param recurse   set property also on the subdirectories     * @throws ClientException     */    public void propertySet(String path, String name, String value,                            boolean recurse) throws ClientException    {        synchronized(clazz)        {            worker.propertySet(path, name, value, recurse);        }    }    /**     * Sets one property of an item with a String value     *     * @param path    path of the item     * @param name    name of the property     * @param value   new value of the property     * @param recurse set property also on the subdirectories     * @param force   do not check if the value is valid     * @throws ClientException     * @since 1.2     */    public void propertySet(String path, String name, String value,                            boolean recurse, boolean force)            throws ClientException    {        synchronized(clazz)        {            worker.propertySet(path, name, value, recurse, force);        }    }    /**     * Sets one property of an item with a byte array value     * @param path      path of the item     * @param name      name of the property     * @param value     new value of the property     * @param recurse   set property also on the subdirectories     * @throws ClientException     */    public void propertySet(String path, String name, byte[] value,                            boolean recurse) throws ClientException    {        synchronized(clazz)        {            worker.propertySet(path, name, value, recurse);        }    }    /**     * Sets one property of an item with a byte array value     *     * @param path    path of the item     * @param name    name of the property     * @param value   new value of the property     * @param recurse set property also on the subdirectories     * @param force   do not check if the value is valid     * @throws ClientException     * @since 1.2     */    public void propertySet(String path, String name, byte[] value,                            boolean recurse, boolean force)            throws ClientException    {        synchronized(clazz)        {            worker.propertySet(path, name, value, recurse, force);        }    }    /**     * Remove one property of an item.     * @param path      path of the item     * @param name      name of the property     * @param recurse   remove the property also on subdirectories     * @throws ClientException     */    public void propertyRemove(String path, String name, boolean recurse)            throws ClientException    {        synchronized(clazz)        {            worker.propertyRemove(path, name, recurse);        }    }    /**     * Create and sets one property of an item with a String value     * @param path      path of the item     * @param name      name of the property     * @param value     new value of the property     * @param recurse   set property also on the subdirectories     * @throws ClientException     */    public void propertyCreate(String path, String name, String value,                               boolean recurse) throws ClientException    {        synchronized(clazz)        {            worker.propertyCreate(path, name, value, recurse);        }    }    /**     * Create and sets one property of an item with a String value     *     * @param path    path of the item     * @param name    name of the property     * @param value   new value of the property     * @param recurse set property also on the subdirectories     * @param force   do not check if the value is valid     * @throws ClientException     * @since 1.2     */    public void propertyCreate(String path, String name, String value,                               boolean recurse, boolean force)            throws ClientException    {        synchronized(clazz)        {            worker.propertyCreate(path, name, value, recurse, force);        }    }    /**     * Create and sets one property of an item with a byte array value     * @param path      path of the item     * @param name      name of the property     * @param value     new value of the property     * @param recurse   set property also on the subdirectories     * @throws ClientException     */    public void propertyCreate(String path, String name, byte[] value,                               boolean recurse) throws ClientException    {        synchronized(clazz)        {            worker.propertyCreate(path, name, value, recurse);        }    }    /**     * Create and sets one property of an item with a byte array value     *     * @param path    path of the item     * @param name    name of the property     * @param value   new value of the property     * @param recurse set property also on the subdirectories     * @param force   do not check if the value is valid     * @throws ClientException     * @since 1.2     */    public void propertyCreate(String path, String name, byte[] value,                               boolean recurse, boolean force)            throws ClientException    {        synchronized(clazz)        {            worker.propertyCreate(path, name, value, recurse, force);        }    }    /**     * Retrieve one revsision property of one item     * @param path      path of the item     * @param name      name of the property     * @param rev       revision to retrieve     * @return the Property     * @throws ClientException     */    public PropertyData revProperty(String path, String name, Revision rev)            throws ClientException    {        synchronized(clazz)        {            return worker.revProperty(path, name, rev);        }    }    /**     * Retrieve all revsision properties of one item     *     * @param path path of the item     * @param rev  revision to retrieve

⌨️ 快捷键说明

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