/** * Returns an instance of the {@link SVNLogClient} class. * * <p> * If it's the first time this method is being called the object is * created, initialized and then returned. Further calls to this * method will get the same object instantiated at that moment of * the first call. <b>SVNClientManager</b> does not reinstantiate * its <b>SVN</b>*<b>Client</b> objects. * * @return an <b>SVNLogClient</b> instance */ public SVNLogClient getLogClient() { if (myLogClient == null) { myLogClient = myOperationFactory != null ? new SVNLogClient(myOperationFactory) : new SVNLogClient(this, myOptions); initClientDefaults(myLogClient); } return myLogClient; }
protected SVNLogClient getLogClient() { if (myLogClient == null) { myLogClient = new SVNLogClient(getRepositoryPool(), getOptions()); } return myLogClient; }
protected SVNLogClient getLogClient() { if (myLogClient == null) { myLogClient = new SVNLogClient(getRepositoryPool(), getOptions()); } return myLogClient; }
/** * Returns an instance of the {@link SVNLogClient} class. * * <p> * If it's the first time this method is being called the object is * created, initialized and then returned. Further calls to this * method will get the same object instantiated at that moment of * the first call. <b>SVNClientManager</b> does not reinstantiate * its <b>SVN</b>*<b>Client</b> objects. * * @return an <b>SVNLogClient</b> instance */ public SVNLogClient getLogClient() { if (myLogClient == null) { myLogClient = new SVNLogClient(this, myOptions); myLogClient.setEventHandler(myEventHandler); myLogClient.setDebugLog(getDebugLog()); } return myLogClient; }
private void dumpRepositoryContents() throws SVNException { System.out.println("Repository contents:"); SVNURL repoURL = SVNURL.parseURIEncoded( "svn://localhost/"); SVNLogClient logClient = new SVNLogClient((ISVNAuthenticationManager)null, null); logClient.doList(repoURL, SVNRevision.HEAD, SVNRevision.HEAD, false, true, dirEntry -> System.out.println(dirEntry.getRelativePath())); }
/** * Returns an instance of the {@link SVNLogClient} class. * * <p> * If it's the first time this method is being called the object is * created, initialized and then returned. Further calls to this * method will get the same object instantiated at that moment of * the first call. <b>SVNClientManager</b> does not reinstantiate * its <b>SVN</b>*<b>Client</b> objects. * * @return an <b>SVNLogClient</b> instance */ public SVNLogClient getLogClient() { if (myLogClient == null) { myLogClient = new SVNLogClient(this, myOptions); myLogClient.setEventHandler(myEventHandler); myLogClient.setDebugLog(getDebugLog()); myLogClient.setIgnoreExternals(myIsIgnoreExternals); } return myLogClient; }
/** * Returns an instance of the {@link SVNLogClient} class. * * <p> * If it's the first time this method is being called the object is * created, initialized and then returned. Further calls to this * method will get the same object instantiated at that moment of * the first call. <b>SVNClientManager</b> does not reinstantiate * its <b>SVN</b>*<b>Client</b> objects. * * @return an <b>SVNLogClient</b> instance */ public SVNLogClient getLogClient() { if (myLogClient == null) { myLogClient = new SVNLogClient(this, myOptions); myLogClient.setEventHandler(myEventHandler); myLogClient.setDebugLog(getDebugLog()); myLogClient.setIgnoreExternals(myIsIgnoreExternals); } return myLogClient; }
SVNLogClient svnLogClient = new SVNLogClient(svnManager, null);
ISVNAuthenticationManager svnManager = svnRepository.getAuthenticationManager(); SVNLogClient svnLogClient = new SVNLogClient(svnManager, null);
SVNLogClient logClient = new SVNLogClient(authManager, null); logClient.doList(repoURL, SVNRevision.HEAD, SVNRevision.HEAD, false, false, dirEntryHandler);
SVNLogClient logClient = new SVNLogClient(authManager, null); logClient.doList(repoURL, SVNRevision.HEAD, SVNRevision.HEAD, false, false, dirEntryHandler); } catch (SVNException e) {