org.apache.subversion.javahl.SVNClient Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of svnkit-javahl16 Show documentation
Show all versions of svnkit-javahl16 Show documentation
SVNKit Java(tm) Subversion JavaHL API implementation
package org.apache.subversion.javahl;
import java.io.OutputStream;
import java.util.Collection;
import java.util.List;
import java.util.Map;
import java.util.Set;
import org.apache.subversion.javahl.callback.*;
import org.apache.subversion.javahl.types.*;
import org.apache.subversion.javahl.types.Mergeinfo.LogKind;
import org.tmatesoft.svn.core.javahl17.SVNClientImpl;
public class SVNClient implements ISVNClient {
private SVNClientImpl delegate;
public SVNClient() {
delegate = SVNClientImpl.newInstance();
}
public void dispose() {
delegate.dispose();
}
public Version getVersion() {
return delegate.getVersion();
}
public RuntimeVersion getRuntimeVersion() {
return delegate.getRuntimeVersion();
}
public String getAdminDirectoryName() {
return delegate.getAdminDirectoryName();
}
public boolean isAdminDirectory(String name) {
return delegate.isAdminDirectory(name);
}
public void status(String path, Depth depth, boolean onServer, boolean getAll, boolean noIgnore, boolean ignoreExternals, Collection changelists, StatusCallback callback) throws ClientException {
delegate.status(path, depth, onServer, getAll, noIgnore, ignoreExternals, changelists, callback);
}
public void status(String path, Depth depth, boolean onServer, boolean onDisk, boolean getAll, boolean noIgnore, boolean ignoreExternals, boolean depthAsSticky, Collection changelists, StatusCallback callback) throws ClientException {
delegate.status(path, depth, onServer, onDisk, getAll, noIgnore, ignoreExternals, depthAsSticky, changelists, callback);
}
public void list(String url, Revision revision, Revision pegRevision, Depth depth, int direntFields, boolean fetchLocks, ListCallback callback) throws ClientException {
delegate.list(url, revision, pegRevision, depth, direntFields, fetchLocks, callback);
}
public void username(String username) {
delegate.username(username);
}
public void password(String password) {
delegate.password(password);
}
public void setPrompt(AuthnCallback prompt) {
delegate.setPrompt(prompt);
}
public void setPrompt(UserPasswordCallback prompt) {
delegate.setPrompt(prompt);
}
public void setTunnelAgent(TunnelAgent tunnelAgent) {
delegate.setTunnelAgent(tunnelAgent);
}
public void logMessages(String path, Revision pegRevision, List ranges, boolean stopOnCopy, boolean discoverPath, boolean includeMergedRevisions, Set revProps, long limit, LogMessageCallback callback) throws ClientException {
delegate.logMessages(path, pegRevision, ranges, stopOnCopy, discoverPath, includeMergedRevisions, revProps, limit, callback);
}
public long checkout(String moduleName, String destPath, Revision revision, Revision pegRevision, Depth depth, boolean ignoreExternals, boolean allowUnverObstructions) throws ClientException {
return delegate.checkout(moduleName, destPath, revision, pegRevision, depth, ignoreExternals, allowUnverObstructions);
}
public void notification2(ClientNotifyCallback notify) {
delegate.notification2(notify);
}
public void setConflictResolver(ConflictResolverCallback listener) {
delegate.setConflictResolver(listener);
}
public void setProgressCallback(ProgressCallback listener) {
delegate.setProgressCallback(listener);
}
public void remove(Set path, boolean force, boolean keepLocal, Map revpropTable, CommitMessageCallback handler, CommitCallback callback) throws ClientException {
delegate.remove(path, force, keepLocal, revpropTable, handler, callback);
}
public void revert(String path, Depth depth, Collection changelists) throws ClientException {
delegate.revert(path, depth, changelists);
}
public void revert(Set paths, Depth depth, Collection changelists, boolean clearChangelists, boolean metadataOnly) throws ClientException {
delegate.revert(paths, depth, changelists, clearChangelists, metadataOnly);
}
public void revert(Set paths, Depth depth, Collection changelists) throws ClientException {
delegate.revert(paths, depth, changelists);
}
public void add(String path, Depth depth, boolean force, boolean noIgnores, boolean addParents) throws ClientException {
delegate.add(path, depth, force, noIgnores, addParents);
}
public long[] update(Set path, Revision revision, Depth depth, boolean depthIsSticky, boolean makeParents, boolean ignoreExternals, boolean allowUnverObstructions) throws ClientException {
return delegate.update(path, revision, depth, depthIsSticky, makeParents, ignoreExternals, allowUnverObstructions);
}
public void commit(Set path, Depth depth, boolean noUnlock, boolean keepChangelist, Collection changelists, Map revpropTable, CommitMessageCallback handler, CommitCallback callback) throws ClientException {
delegate.commit(path, depth, noUnlock, keepChangelist, changelists, revpropTable, handler, callback);
}
public void copy(List sources, String destPath, boolean copyAsChild, boolean makeParents, boolean ignoreExternals, boolean metadataOnly, boolean pinExternals, Map> externalsToPin, Map revpropTable, CommitMessageCallback handler, CommitCallback callback) throws ClientException {
delegate.copy(sources, destPath, copyAsChild, makeParents, ignoreExternals, metadataOnly, pinExternals, externalsToPin, revpropTable, handler, callback);
}
public void copy(List sources, String destPath, boolean copyAsChild, boolean makeParents, boolean ignoreExternals, Map revpropTable, CommitMessageCallback handler, CommitCallback callback) throws ClientException {
delegate.copy(sources, destPath, copyAsChild, makeParents, ignoreExternals, revpropTable, handler, callback);
}
public void move(Set srcPaths, String destPath, boolean force, boolean moveAsChild, boolean makeParents, Map revpropTable, CommitMessageCallback handler, CommitCallback callback) throws ClientException {
delegate.move(srcPaths, destPath, force, moveAsChild, makeParents, revpropTable, handler, callback);
}
public void mkdir(Set path, boolean makeParents, Map revpropTable, CommitMessageCallback handler, CommitCallback callback) throws ClientException {
delegate.mkdir(path, makeParents, revpropTable, handler, callback);
}
public void cleanup(String path, boolean breakLocks, boolean fixRecordedTimestamps, boolean clearDavCache, boolean removeUnusedPristines, boolean includeExternals) throws ClientException {
delegate.cleanup(path, breakLocks, fixRecordedTimestamps, clearDavCache, removeUnusedPristines, includeExternals);
}
public void cleanup(String path) throws ClientException {
delegate.cleanup(path);
}
public void resolve(String path, Depth depth, ConflictResult.Choice conflictResult) throws SubversionException {
delegate.resolve(path, depth, conflictResult);
}
public long doExport(String srcPath, String destPath, Revision revision, Revision pegRevision, boolean force, boolean ignoreExternals, boolean ignoreKeywords, Depth depth, String nativeEOL) throws ClientException {
return delegate.doExport(srcPath, destPath, revision, pegRevision, force, ignoreExternals, ignoreKeywords, depth, nativeEOL);
}
public long doExport(String srcPath, String destPath, Revision revision, Revision pegRevision, boolean force, boolean ignoreExternals, Depth depth, String nativeEOL) throws ClientException {
return delegate.doExport(srcPath, destPath, revision, pegRevision, force, ignoreExternals, depth, nativeEOL);
}
public long doSwitch(String path, String url, Revision revision, Revision pegRevision, Depth depth, boolean depthIsSticky, boolean ignoreExternals, boolean allowUnverObstructions, boolean ignoreAncestry) throws ClientException {
return delegate.doSwitch(path, url, revision, pegRevision, depth, depthIsSticky, ignoreExternals, allowUnverObstructions, ignoreAncestry);
}
public void doImport(String path, String url, Depth depth, boolean noIgnore, boolean ignoreUnknownNodeTypes, Map revpropTable, CommitMessageCallback handler, CommitCallback callback) throws ClientException {
delegate.doImport(path, url, depth, noIgnore, ignoreUnknownNodeTypes, revpropTable, handler, callback);
}
public Set suggestMergeSources(String path, Revision pegRevision) throws SubversionException {
return delegate.suggestMergeSources(path, pegRevision);
}
public void merge(String path1, Revision revision1, String path2, Revision revision2, String localPath, boolean force, Depth depth, boolean ignoreMergeinfo, boolean diffIgnoreAncestry, boolean dryRun, boolean allowMixedRev, boolean recordOnly) throws ClientException {
delegate.merge(path1, revision1, path2, revision2, localPath, force, depth, ignoreMergeinfo, diffIgnoreAncestry, dryRun, allowMixedRev, recordOnly);
}
public void merge(String path1, Revision revision1, String path2, Revision revision2, String localPath, boolean force, Depth depth, boolean ignoreAncestry, boolean dryRun, boolean recordOnly) throws ClientException {
delegate.merge(path1, revision1, path2, revision2, localPath, force, depth, ignoreAncestry, dryRun, recordOnly);
}
public void merge(String path, Revision pegRevision, List revisions, String localPath, boolean force, Depth depth, boolean ignoreMergeinfo, boolean diffIgnoreAncestry, boolean dryRun, boolean allowMixedRev, boolean recordOnly) throws ClientException {
delegate.merge(path, pegRevision, revisions, localPath, force, depth, ignoreMergeinfo, diffIgnoreAncestry, dryRun, allowMixedRev, recordOnly);
}
public void merge(String path, Revision pegRevision, List revisions, String localPath, boolean force, Depth depth, boolean ignoreAncestry, boolean dryRun, boolean recordOnly) throws ClientException {
delegate.merge(path, pegRevision, revisions, localPath, force, depth, ignoreAncestry, dryRun, recordOnly);
}
public void mergeReintegrate(String path, Revision pegRevision, String localPath, boolean dryRun) throws ClientException {
delegate.mergeReintegrate(path, pegRevision, localPath, dryRun);
}
public Mergeinfo getMergeinfo(String path, Revision pegRevision) throws SubversionException {
return delegate.getMergeinfo(path, pegRevision);
}
public void getMergeinfoLog(Mergeinfo.LogKind kind, String pathOrUrl, Revision pegRevision, String mergeSourceUrl, Revision srcPegRevision, boolean discoverChangedPaths, Depth depth, Set revProps, LogMessageCallback callback) throws ClientException {
delegate.getMergeinfoLog(kind, pathOrUrl, pegRevision, mergeSourceUrl, srcPegRevision, discoverChangedPaths, depth, revProps, callback);
}
public void diff(String target1, Revision revision1, String target2, Revision revision2, String relativeToDir, String outFileName, Depth depth, Collection changelists, boolean ignoreAncestry, boolean noDiffDeleted, boolean force, boolean copiesAsAdds) throws ClientException {
delegate.diff(target1, revision1, target2, revision2, relativeToDir, outFileName, depth, changelists, ignoreAncestry, noDiffDeleted, force, copiesAsAdds);
}
public void diff(String target, Revision pegRevision, Revision startRevision, Revision endRevision, String relativeToDir, String outFileName, Depth depth, Collection changelists, boolean ignoreAncestry, boolean noDiffDeleted, boolean force, boolean copiesAsAdds) throws ClientException {
delegate.diff(target, pegRevision, startRevision, endRevision, relativeToDir, outFileName, depth, changelists, ignoreAncestry, noDiffDeleted, force, copiesAsAdds);
}
public void diffSummarize(String target1, Revision revision1, String target2, Revision revision2, Depth depth, Collection changelists, boolean ignoreAncestry, DiffSummaryCallback receiver) throws ClientException {
delegate.diffSummarize(target1, revision1, target2, revision2, depth, changelists, ignoreAncestry, receiver);
}
public void diffSummarize(String target, Revision pegRevision, Revision startRevision, Revision endRevision, Depth depth, Collection changelists, boolean ignoreAncestry, DiffSummaryCallback receiver) throws ClientException {
delegate.diffSummarize(target, pegRevision, startRevision, endRevision, depth, changelists, ignoreAncestry, receiver);
}
public void properties(String path, Revision revision, Revision pegRevision, Depth depth, Collection changelists, ProplistCallback callback) throws ClientException {
delegate.properties(path, revision, pegRevision, depth, changelists, callback);
}
public void propertySetLocal(Set paths, String name, byte[] value, Depth depth, Collection changelists, boolean force) throws ClientException {
delegate.propertySetLocal(paths, name, value, depth, changelists, force);
}
public void propertySetRemote(String path, long baseRev, String name, byte[] value, CommitMessageCallback handler, boolean force, Map revpropTable, CommitCallback callback) throws ClientException {
delegate.propertySetRemote(path, baseRev, name, value, handler, force, revpropTable, callback);
}
public byte[] revProperty(String path, String name, Revision rev) throws ClientException {
return delegate.revProperty(path, name, rev);
}
public Map revProperties(String path, Revision rev) throws ClientException {
return delegate.revProperties(path, rev);
}
public void setRevProperty(String path, String name, Revision rev, String value, String originalValue, boolean force) throws ClientException {
delegate.setRevProperty(path, name, rev, value, originalValue, force);
}
public byte[] propertyGet(String path, String name, Revision revision, Revision pegRevision) throws ClientException {
return delegate.propertyGet(path, name, revision, pegRevision);
}
public byte[] fileContent(String path, Revision revision, Revision pegRevision) throws ClientException {
return delegate.fileContent(path, revision, pegRevision);
}
public Map streamFileContent(String path, Revision revision, Revision pegRevision, boolean expandKeywords, boolean returnProps, OutputStream stream) throws ClientException {
return delegate.streamFileContent(path, revision, pegRevision, expandKeywords, returnProps, stream);
}
public void streamFileContent(String path, Revision revision, Revision pegRevision, OutputStream stream) throws ClientException {
delegate.streamFileContent(path, revision, pegRevision, stream);
}
public void relocate(String from, String to, String path, boolean ignoreExternals) throws ClientException {
delegate.relocate(from, to, path, ignoreExternals);
}
public void blame(String path, Revision pegRevision, Revision revisionStart, Revision revisionEnd, boolean ignoreMimeType, boolean includeMergedRevisions, BlameCallback callback, DiffOptions options) throws ClientException {
delegate.blame(path, pegRevision, revisionStart, revisionEnd, ignoreMimeType, includeMergedRevisions, callback, options);
}
public void blame(String path, Revision pegRevision, Revision revisionStart, Revision revisionEnd, boolean ignoreMimeType, boolean includeMergedRevisions, BlameCallback callback) throws ClientException {
delegate.blame(path, pegRevision, revisionStart, revisionEnd, ignoreMimeType, includeMergedRevisions, callback);
}
public void setConfigDirectory(String configDir) throws ClientException {
delegate.setConfigDirectory(configDir);
}
public String getConfigDirectory() throws ClientException {
return delegate.getConfigDirectory();
}
public void setConfigEventHandler(ConfigEvent configHandler) throws ClientException {
delegate.setConfigEventHandler(configHandler);
}
public ConfigEvent getConfigEventHandler() throws ClientException {
return delegate.getConfigEventHandler();
}
public void cancelOperation() throws ClientException {
delegate.cancelOperation();
}
public void addToChangelist(Set paths, String changelist, Depth depth, Collection changelists) throws ClientException {
delegate.addToChangelist(paths, changelist, depth, changelists);
}
public void removeFromChangelists(Set paths, Depth depth, Collection changelists) throws ClientException {
delegate.removeFromChangelists(paths, depth, changelists);
}
public void getChangelists(String rootPath, Collection changelists, Depth depth, ChangelistCallback callback) throws ClientException {
delegate.getChangelists(rootPath, changelists, depth, callback);
}
public void lock(Set path, String comment, boolean force) throws ClientException {
delegate.lock(path, comment, force);
}
public void unlock(Set path, boolean force) throws ClientException {
delegate.unlock(path, force);
}
public void info2(String pathOrUrl, Revision revision, Revision pegRevision, Depth depth, Collection changelists, InfoCallback callback) throws ClientException {
delegate.info2(pathOrUrl, revision, pegRevision, depth, changelists, callback);
}
public void info(String pathOrUrl, Revision revision, Revision pegRevision, Depth depth, boolean fetchExcluded, boolean fetchActualOnly, boolean includeExternals, Collection changelists, InfoCallback callback) throws ClientException {
delegate.info(pathOrUrl, revision, pegRevision, depth, fetchExcluded, fetchActualOnly, includeExternals, changelists, callback);
}
public String getVersionInfo(String path, String trailUrl, boolean lastChanged) throws ClientException {
return delegate.getVersionInfo(path, trailUrl, lastChanged);
}
public void upgrade(String path) throws ClientException {
delegate.upgrade(path);
}
public void patch(String patchPath, String targetPath, boolean dryRun, int stripCount, boolean reverse, boolean ignoreWhitespace, boolean removeTempfiles, PatchCallback callback) throws ClientException {
delegate.patch(patchPath, targetPath, dryRun, stripCount, reverse, ignoreWhitespace, removeTempfiles, callback);
}
public void vacuum(String path, boolean removeUnversionedItems, boolean removeIgnoredItems, boolean fixRecordedTimestamps, boolean removeUnusedPristines, boolean includeExternals) throws ClientException {
delegate.vacuum(path, removeUnversionedItems, removeIgnoredItems, fixRecordedTimestamps, removeUnusedPristines, includeExternals);
}
public ISVNRemote openRemoteSession(String pathOrUrl) throws ClientException, SubversionException {
return delegate.openRemoteSession(pathOrUrl);
}
public ISVNRemote openRemoteSession(String pathOrUrl, int retryAttempts) throws ClientException, SubversionException {
return delegate.openRemoteSession(pathOrUrl, retryAttempts);
}
public VersionExtended getVersionExtended(boolean verbose) {
return delegate.getVersionExtended(verbose);
}
public void add(String path, Depth depth, boolean force, boolean noIgnores, boolean noAutoProps, boolean addParents) throws ClientException {
delegate.add(path, depth, force, noIgnores, noAutoProps, addParents);
}
public void move(Set srcPaths, String destPath, boolean force, boolean moveAsChild, boolean makeParents, boolean metadataOnly, boolean allowMixRev, Map revpropTable, CommitMessageCallback handler,
CommitCallback callback) throws ClientException {
delegate.move(srcPaths, destPath, force, moveAsChild, makeParents, metadataOnly, allowMixRev, revpropTable, handler, callback);
}
public void doImport(String path, String url, Depth depth, boolean noIgnore, boolean noAutoProps, boolean ignoreUnknownNodeTypes, Map revpropTable, ImportFilterCallback importFilterCallback,
CommitMessageCallback messageHandler, CommitCallback commitCallback) throws ClientException {
delegate.doImport(path, url, depth, noIgnore, ignoreUnknownNodeTypes, revpropTable, messageHandler, commitCallback);
}
public void diff(String target1, Revision revision1,
String target2, Revision revision2,
String relativeToDir,
OutputStream outStream,
Depth depth,
Collection changelists,
boolean ignoreAncestry,
boolean noDiffDeleted,
boolean force,
boolean copiesAsAdds,
boolean ignoreProps,
boolean propsOnly,
DiffOptions options) throws ClientException {
delegate.diff(target1, revision1, target2, revision2, relativeToDir, outStream, depth, changelists, ignoreAncestry, noDiffDeleted, force, copiesAsAdds, ignoreProps, propsOnly, options);
}
public void diff(String target1, Revision revision1,
String target2, Revision revision2,
String relativeToDir,
String outFileName,
Depth depth,
Collection changelists,
boolean ignoreAncestry,
boolean noDiffDeleted,
boolean force,
boolean copiesAsAdds,
boolean ignoreProps,
boolean propsOnly,
DiffOptions options) throws ClientException {
delegate.diff(target1, revision1, target2, revision2, relativeToDir, outFileName, depth, changelists, ignoreAncestry, noDiffDeleted, force, copiesAsAdds, ignoreProps, propsOnly, options);
}
public void diff(String target1, Revision revision1,
String target2, Revision revision2,
String relativeToDir,
OutputStream outStream,
Depth depth,
Collection changelists,
boolean ignoreAncestry,
boolean noDiffDeleted,
boolean force,
boolean copiesAsAdds,
boolean ignoreProps,
boolean propsOnly) throws ClientException {
delegate.diff(target1, revision1, target2, revision2, relativeToDir, outStream, depth, changelists, ignoreAncestry, noDiffDeleted, force, copiesAsAdds, ignoreProps, propsOnly);
}
public void diff(String target, Revision pegRevision,
Revision startRevision, Revision endRevision,
String relativeToDir,
OutputStream outStream,
Depth depth,
Collection changelists,
boolean ignoreAncestry,
boolean noDiffDeleted,
boolean force,
boolean copiesAsAdds,
boolean ignoreProps,
boolean propsOnly,
DiffOptions options) throws ClientException {
delegate.diff(target, pegRevision, startRevision, endRevision, relativeToDir, outStream, depth, changelists, ignoreAncestry, noDiffDeleted, force, copiesAsAdds, ignoreProps, propsOnly, options);
}
public void diff(String target, Revision pegRevision, Revision startRevision, Revision endRevision, String relativeToDir, String outFileName, Depth depth, Collection changelists, boolean ignoreAncestry, boolean noDiffDeleted,
boolean force, boolean copiesAsAdds, boolean ignoreProps, boolean propsOnly, DiffOptions options) throws ClientException {
delegate.diff(target, pegRevision, startRevision, endRevision, relativeToDir, outFileName, depth, changelists, ignoreAncestry, noDiffDeleted, force, copiesAsAdds, ignoreProps, propsOnly, options);
}
public void diff(String target, Revision pegRevision, Revision startRevision, Revision endRevision, String relativeToDir, OutputStream outStream, Depth depth, Collection changelists, boolean ignoreAncestry,
boolean noDiffDeleted, boolean force, boolean copiesAsAdds, boolean ignoreProps, boolean propsOnly) throws ClientException {
delegate.diff(target, pegRevision, startRevision, endRevision, relativeToDir, outStream, depth, changelists, ignoreAncestry, noDiffDeleted, force, copiesAsAdds, ignoreProps, propsOnly);
}
public void properties(String path, Revision revision, Revision pegRevision, Depth depth, Collection changelists, InheritedProplistCallback callback) throws ClientException {
delegate.properties(path, revision, pegRevision, depth, changelists, callback);
}
public byte[] propertyGet(String path, String name, Revision revision, Revision pegRevision, Collection changelists) throws ClientException {
return delegate.propertyGet(path, name, revision, pegRevision, changelists);
}
public void merge(String path1, Revision revision1, String path2, Revision revision2, String localPath, boolean force, Depth depth, boolean ignoreMergeinfo, boolean diffIgnoreAncestry, boolean dryRun, boolean recordOnly) throws ClientException {
delegate.merge(path1, revision1, path2, revision2, localPath, force, depth, ignoreMergeinfo, diffIgnoreAncestry, dryRun, recordOnly);
}
public void merge(String path, Revision pegRevision, List revisions, String localPath, boolean force, Depth depth, boolean ignoreMergeinfo, boolean diffIgnoreAncestry, boolean dryRun, boolean recordOnly) throws ClientException {
delegate.merge(path, pegRevision, revisions, localPath, force, depth, ignoreMergeinfo, diffIgnoreAncestry, dryRun, recordOnly);
}
public void getMergeinfoLog(LogKind kind, String pathOrUrl, Revision pegRevision, String mergeSourceUrl, Revision srcPegRevision, Revision srcStartRevision, Revision srcEndRevision, boolean discoverChangedPaths, Depth depth, Set revProps, LogMessageCallback callback) throws ClientException {
delegate.getMergeinfoLog(kind, pathOrUrl, pegRevision, mergeSourceUrl, srcPegRevision, srcStartRevision, srcEndRevision, discoverChangedPaths, depth, revProps, callback);
}
}