/** * Sets an event handler for this object. * {@link ISVNAdminEventHandler} should be provided to <b>SVNAdminClent</b> * via this method also. But it does not mean that you can have two handler set, only * one handler can be used at a time. * * @param handler an event handler */ public void setEventHandler(ISVNEventHandler handler) { super.setEventHandler(handler); if (handler instanceof ISVNAdminEventHandler) { myEventHandler = (ISVNAdminEventHandler) handler; } }
/** * Sets an event handler for this object. * {@link ISVNAdminEventHandler} should be provided to <b>SVNAdminClent</b> * via this method also. But it does not mean that you can have two handler set, only * one handler can be used at a time. * * @param handler an event handler */ public void setEventHandler(ISVNEventHandler handler) { super.setEventHandler(handler); if (handler instanceof ISVNAdminEventHandler) { myEventHandler = (ISVNAdminEventHandler) handler; } }
protected void initClientDefaults(SVNBasicClient client) { client.setEventHandler(myEventHandler); client.setDebugLog(getDebugLog()); client.setIgnoreExternals(myIsIgnoreExternals); }
protected void initDefaults() { setPathListHandler(null); setDebugLog(null); setEventPathPrefix(null); setEventHandler(null); }