/** * Returns an instance of the {@link SVNCopyClient} 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>SVNCopyClient</b> instance */ public SVNCopyClient getCopyClient() { if (myCopyClient == null) { myCopyClient = myOperationFactory != null ? new SVNCopyClient(myOperationFactory) : new SVNCopyClient(this, myOptions); initClientDefaults(myCopyClient); } return myCopyClient; }
/** * Constructs and initializes an <b>SVNMoveClient</b> object * with the specified run-time configuration and repository pool object. * * <p/> * If <code>options</code> is <span class="javakeyword">null</span>, * then this <b>SVNMoveClient</b> will be using a default run-time * configuration driver which takes client-side settings from the * default SVN's run-time configuration area but is not able to * change those settings (read more on {@link ISVNOptions} and {@link SVNWCUtil}). * * <p/> * If <code>repositoryPool</code> is <span class="javakeyword">null</span>, * then {@link org.tmatesoft.svn.core.io.SVNRepositoryFactory} will be used to create {@link SVNRepository repository access objects}. * * @param repositoryPool a repository pool object * @param options a run-time configuration options driver */ public SVNMoveClient(ISVNRepositoryPool repositoryPool, ISVNOptions options) { super(repositoryPool, options); myWCClient = new SVNWCClient(repositoryPool, options); myCopyClient = new SVNCopyClient(repositoryPool, options); }
/** * Constructs and initializes an <b>SVNMoveClient</b> object * with the specified run-time configuration and repository pool object. * * <p/> * If <code>options</code> is <span class="javakeyword">null</span>, * then this <b>SVNMoveClient</b> will be using a default run-time * configuration driver which takes client-side settings from the * default SVN's run-time configuration area but is not able to * change those settings (read more on {@link ISVNOptions} and {@link SVNWCUtil}). * * <p/> * If <code>repositoryPool</code> is <span class="javakeyword">null</span>, * then {@link org.tmatesoft.svn.core.io.SVNRepositoryFactory} will be used to create {@link SVNRepository repository access objects}. * * @param repositoryPool a repository pool object * @param options a run-time configuration options driver */ public SVNMoveClient(ISVNRepositoryPool repositoryPool, ISVNOptions options) { super(repositoryPool, options); myWCClient = new SVNWCClient(repositoryPool, options); myCopyClient = new SVNCopyClient(repositoryPool, options); }
/** * Constructs and initializes an <b>SVNMoveClient</b> object * with the specified run-time configuration and authentication * drivers. * * <p> * If <code>options</code> is <span class="javakeyword">null</span>, * then this <b>SVNMoveClient</b> will be using a default run-time * configuration driver which takes client-side settings from the * default SVN's run-time configuration area but is not able to * change those settings (read more on {@link ISVNOptions} and {@link SVNWCUtil}). * * <p> * If <code>authManager</code> is <span class="javakeyword">null</span>, * then this <b>SVNMoveClient</b> will be using a default authentication * and network layers driver (see {@link SVNWCUtil#createDefaultAuthenticationManager()}) * which uses server-side settings and auth storage from the * default SVN's run-time configuration area (or system properties * if that area is not found). * * @param authManager an authentication and network layers driver * @param options a run-time configuration options driver */ public SVNMoveClient(ISVNAuthenticationManager authManager, ISVNOptions options) { super(authManager, options); myWCClient = new SVNWCClient(authManager, options); myCopyClient = new SVNCopyClient(authManager, options); }
/** * Constructs and initializes an <b>SVNMoveClient</b> object * with the specified run-time configuration and authentication * drivers. * * <p> * If <code>options</code> is <span class="javakeyword">null</span>, * then this <b>SVNMoveClient</b> will be using a default run-time * configuration driver which takes client-side settings from the * default SVN's run-time configuration area but is not able to * change those settings (read more on {@link ISVNOptions} and {@link SVNWCUtil}). * * <p> * If <code>authManager</code> is <span class="javakeyword">null</span>, * then this <b>SVNMoveClient</b> will be using a default authentication * and network layers driver (see {@link SVNWCUtil#createDefaultAuthenticationManager()}) * which uses server-side settings and auth storage from the * default SVN's run-time configuration area (or system properties * if that area is not found). * * @param authManager an authentication and network layers driver * @param options a run-time configuration options driver */ public SVNMoveClient(ISVNAuthenticationManager authManager, ISVNOptions options) { super(authManager, options); myWCClient = new SVNWCClient(authManager, options); myCopyClient = new SVNCopyClient(authManager, options); }
/** * Returns an instance of the {@link SVNCopyClient} 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>SVNCopyClient</b> instance */ public SVNCopyClient getCopyClient() { if (myCopyClient == null) { myCopyClient = new SVNCopyClient(this, myOptions); myCopyClient.setEventHandler(myEventHandler); myCopyClient.setDebugLog(getDebugLog()); } return myCopyClient; }
/** * Returns an instance of the {@link SVNCopyClient} 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>SVNCopyClient</b> instance */ public SVNCopyClient getCopyClient() { if (myCopyClient == null) { myCopyClient = new SVNCopyClient(this, myOptions); myCopyClient.setEventHandler(myEventHandler); myCopyClient.setDebugLog(getDebugLog()); myCopyClient.setIgnoreExternals(myIsIgnoreExternals); } return myCopyClient; }
/** * Returns an instance of the {@link SVNCopyClient} 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>SVNCopyClient</b> instance */ public SVNCopyClient getCopyClient() { if (myCopyClient == null) { myCopyClient = new SVNCopyClient(this, myOptions); myCopyClient.setEventHandler(myEventHandler); myCopyClient.setDebugLog(getDebugLog()); myCopyClient.setIgnoreExternals(myIsIgnoreExternals); } return myCopyClient; }
SVNCopyClient copyClient = new SVNCopyClient(connection.getManager(), connection.getSvnOption());