public void handleLock(String path, SVNLock lock, SVNErrorMessage error) throws SVNException { checkCancelled(); if (myEventHandler != null) { SVNAdminEvent event = new SVNAdminEvent(SVNAdminEventAction.LOCK_LISTED, lock, error, null); myEventHandler.handleAdminEvent(event, ISVNEventHandler.UNKNOWN); } } public void handleUnlock(String path, SVNLock lock, SVNErrorMessage error) throws SVNException {
private void firePackEvent(long shard, boolean start) throws SVNException { if (myNotifyHandler != null) { SVNAdminEvent event = new SVNAdminEvent(start ? SVNAdminEventAction.PACK_START : SVNAdminEventAction.PACK_END, shard); myNotifyHandler.handleAdminEvent(event, ISVNEventHandler.UNKNOWN); } }
public void receive(SvnTarget target, SVNAdminPath path) throws SVNException { if (handler != null) { handler.handlePath(path); } } };
/** * Returns revision properties in the given revision. * * @param repositoryRoot a repository root directory path * @param revision a revision number * @return name (String) to value (String) mappings * @throws SVNException no repository is found at * <code>repositoryRoot</code> */ public SVNProperties doGetRevisionProperties(File repositoryRoot, SVNRevision revision) throws SVNException { return getProperties(repositoryRoot, null, null, revision, null, false, true); }
private void dispatchEvent(SVNAdminEvent event) throws SVNException { if (myEventHandler != null) { myEventHandler.handleAdminEvent(event, ISVNEventHandler.UNKNOWN); } }
public void receive(SvnTarget target, String path) throws SVNException { if (handler != null) { handler.handleDir(path); } } };
public void receive(SvnTarget target, SVNAdminPath path) throws SVNException { if (handler != null) { handler.handlePath(path); } } };
public void receive(SvnTarget target, SVNChangeEntry entry) throws SVNException { if (handler != null) { handler.handleEntry(entry); } } };
private boolean filterIncludeLog(String propName) { return !filterExcludeLog(propName); }
private boolean filterIncludeDateAuthorSync(String propName) { return !filterExcludeDateAuthorSync(propName); }
protected SVNAdminBasicClient(ISVNRepositoryPool repositoryPool, ISVNOptions options) { myRepositoryPool = repositoryPool; setOptions(options); }
/** * Dispatches events to the registered event handler (if any). * @param event the current event * @param progress progress state (from 0 to 1) * @throws SVNException */ public void handleEvent(SVNEvent event, double progress) throws SVNException { dispatchEvent(event, progress); } }
public void handleLock(String path, SVNLock lock, SVNErrorMessage error) throws SVNException { checkCancelled(); if (myEventHandler != null) { SVNAdminEvent event = new SVNAdminEvent(SVNAdminEventAction.LOCK_LISTED, lock, error, null); myEventHandler.handleAdminEvent(event, ISVNEventHandler.UNKNOWN); } } public void handleUnlock(String path, SVNLock lock, SVNErrorMessage error) throws SVNException {
private void firePackEvent(long shard, boolean start) throws SVNException { if (myNotifyHandler != null) { SVNAdminEvent event = new SVNAdminEvent(start ? SVNAdminEventAction.PACK_START : SVNAdminEventAction.PACK_END, shard); myNotifyHandler.handleAdminEvent(event, ISVNEventHandler.UNKNOWN); } }
/** * Returns revision properties in the given revision. * * @param repositoryRoot a repository root directory path * @param revision a revision number * @return name (String) to value (String) mappings * @throws SVNException no repository is found at * <code>repositoryRoot</code> */ public SVNProperties doGetRevisionProperties(File repositoryRoot, SVNRevision revision) throws SVNException { return getProperties(repositoryRoot, null, null, revision, null, false, true); }
private void dispatchEvent(SVNAdminEvent event) throws SVNException { if (myEventHandler != null) { myEventHandler.handleAdminEvent(event, ISVNEventHandler.UNKNOWN); } }
public void handleLock(String path, SVNLock lock, SVNErrorMessage error) throws SVNException { checkCancelled(); if (myEventHandler != null) { SVNAdminEvent event = new SVNAdminEvent(SVNAdminEventAction.LOCK_LISTED, lock, error, null); myEventHandler.handleAdminEvent(event, ISVNEventHandler.UNKNOWN); } } public void handleUnlock(String path, SVNLock lock, SVNErrorMessage error) throws SVNException {
private void firePackEvent(long shard, boolean start) throws SVNException { if (myNotifyHandler != null) { SVNAdminEvent event = new SVNAdminEvent(start ? SVNAdminEventAction.PACK_START : SVNAdminEventAction.PACK_END, shard); myNotifyHandler.handleAdminEvent(event, ISVNEventHandler.UNKNOWN); } }
/** * Returns revision properties in the given revision. * * @param repositoryRoot a repository root directory path * @param revision a revision number * @return name (String) to value (String) mappings * @throws SVNException no repository is found at * <code>repositoryRoot</code> */ public SVNProperties doGetRevisionProperties(File repositoryRoot, SVNRevision revision) throws SVNException { return getProperties(repositoryRoot, null, null, revision, null, false, true); }
private void dispatchEvent(SVNAdminEvent event) throws SVNException { if (myEventHandler != null) { myEventHandler.handleAdminEvent(event, ISVNEventHandler.UNKNOWN); } }