📄 svnclientinterface.java
字号:
throws ClientException; /** * 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 */ void propertySet(String path, String name, byte[] value, boolean recurse, boolean force) throws ClientException; /** * 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 */ void propertyRemove(String path, String name, boolean recurse) throws ClientException; /** * 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 */ void propertyCreate(String path, String name, String value, boolean recurse) throws ClientException; /** * 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 */ void propertyCreate(String path, String name, String value, boolean recurse, boolean force) throws ClientException; /** * 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 */ void propertyCreate(String path, String name, byte[] value, boolean recurse) throws ClientException; /** * 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 */ void propertyCreate(String path, String name, byte[] value, boolean recurse, boolean force) throws ClientException; /** * 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 */ PropertyData revProperty(String path, String name, Revision rev) throws ClientException; /** * Retrieve all revsision properties of one item * @param path path of the item * @param rev revision to retrieve * @return the Properties * @throws ClientException * @since 1.2 */ PropertyData[] revProperties(String path, Revision rev) throws ClientException; /** * set one revsision property of one item * @param path path of the item * @param name name of the property * @param rev revision to retrieve * @param value value of the property * @param force use force to set * @throws ClientException * @since 1.2 */ void setRevProperty(String path, String name, Revision rev, String value, boolean force) throws ClientException; /** * Retrieve one property of one iten * @param path path of the item * @param name name of property * @return the Property * @throws ClientException */ PropertyData propertyGet(String path, String name) throws ClientException; /** * Retrieve one property of one iten * @param path path of the item * @param name name of property * @param revision revision of the item * @return the Property * @throws ClientException * @since 1.2 */ PropertyData propertyGet(String path, String name, Revision revision) throws ClientException; /** * Retrieve one property of one iten * @param path path of the item * @param name name of property * @param revision revision of the item * @param pegRevision the revision to interpret path * @return the Property * @throws ClientException * @since 1.2 */ PropertyData propertyGet(String path, String name, Revision revision, Revision pegRevision) throws ClientException; /** * Retrieve the content of a file * @param path the path of the file * @param revision the revision to retrieve * @return the content as byte array * @throws ClientException */ byte[] fileContent(String path, Revision revision) throws ClientException; /** * Retrieve the content of a file * @param path the path of the file * @param revision the revision to retrieve * @param pegRevision the revision to interpret path * @return the content as byte array * @throws ClientException * @since 1.2 */ byte[] fileContent(String path, Revision revision, Revision pegRevision) throws ClientException; /** * Write the file's content to the specified output stream. If * you need an InputStream, use a * PipedInputStream/PipedOutputStream combination. * * @param path the path of the file * @param revision the revision to retrieve * @param pegRevision the revision at which to interpret the path * @param the stream to write the file's content to * @throws ClientException * @see <a href="http://java.sun.com/j2se/1.4.2/docs/api/java/io/PipedOutputStream.html">PipedOutputStream</a> * @see <a href="http://java.sun.com/j2se/1.4.2/docs/api/java/io/PipedInputStream.html">PipedInputStream</a> */ void streamFileContent(String path, Revision revision, Revision pegRevision, int bufferSize, OutputStream stream) throws ClientException; /** * Rewrite the url's in the working copy * @param from old url * @param to new url * @param path working copy path * @param recurse recurse into subdirectories * @throws ClientException */ void relocate(String from, String to, String path, boolean recurse) throws ClientException; /** * Return for each line of the file, the author and the revision of the * last together with the content. * @deprecated * @param path the path * @param revisionStart the first revision to show * @param revisionEnd the last revision to show * @return the content together with author and revision of last change * @throws ClientException */ byte[] blame(String path, Revision revisionStart, Revision revisionEnd) throws ClientException; /** * Retrieve the content together with the author, the revision and the date * of the last change of each line * @param path the path * @param revisionStart the first revision to show * @param revisionEnd the last revision to show * @param callback callback to receive the file content and the other * information * @throws ClientException */ void blame(String path, Revision revisionStart, Revision revisionEnd, BlameCallback callback) throws ClientException; /** * Retrieve the content together with the author, the revision and the date * of the last change of each line * @param path the path * @param pegRevision the revision to interpret the path * @param revisionStart the first revision to show * @param revisionEnd the last revision to show * @param callback callback to receive the file content and the other * information * @throws ClientException * @since 1.2 */ void blame(String path, Revision pegRevision, Revision revisionStart, Revision revisionEnd, BlameCallback callback) throws ClientException; /** * Set directory for the configuration information, taking the * usual steps to ensure that Subversion's config file templates * exist in the specified location. * * @param configDir path of the directory * @throws ClientException */ void setConfigDirectory(String configDir) throws ClientException; /** * Get the configuration directory * @return the directory * @throws ClientException */ String getConfigDirectory() throws ClientException; /** * cancel the active operation * @throws ClientException */ void cancelOperation() throws ClientException; /** * Retrieves the working copy information for an item * @param path path of the item * @return the information object * @throws ClientException */ Info info(String path) throws ClientException; /** * Lock a working copy item * @param path path of the item * @param comment * @param force break an existing lock * @throws ClientException * @since 1.2 */ void lock(String[] path, String comment, boolean force) throws ClientException; /** * Unlock a working copy item * @param path path of the item * @param force break an existing lock * @throws ClientException * @since 1.2 */ void unlock(String[] path, boolean force) throws ClientException; /** * Retrieve information about repository or working copy items. * @param pathOrUrl the path or the url of the item * @param revision the revision of the item to return * @param pegRevision the revision to interpret pathOrUrl * @param recurse flag if to recurse, if the item is a directory * @return the information objects * @since 1.2 */ Info2[] info2(String pathOrUrl, Revision revision, Revision pegRevision, boolean recurse) throws ClientException; /** * Produce a compact "version number" for a working copy * @param path path of the working copy * @param trailUrl to detect switches of the whole working copy * @param lastChanged last changed rather than current revisions * @return the compact "version number" * @throws ClientException * @since 1.2 */ String getVersionInfo(String path, String trailUrl, boolean lastChanged) throws ClientException;}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -