protected void initClientDefaults(SVNAdminBasicClient client) { client.setEventHandler(myEventHandler); client.setDebugLog(getDebugLog()); }
protected void initClientDefaults(SVNBasicClient client) { client.setEventHandler(myEventHandler); client.setDebugLog(getDebugLog()); client.setIgnoreExternals(myIsIgnoreExternals); }
/** * Returns an instance of the {@link SVNWCClient} 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>SVNWCClient</b> instance */ public SVNWCClient getWCClient() { if (myWCClient == null) { myWCClient = new SVNWCClient(this, myOptions); myWCClient.setEventHandler(myEventHandler); myWCClient.setDebugLog(getDebugLog()); } return myWCClient; }
/** * Returns an instance of the {@link SVNCommitClient} 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>SVNCommitClient</b> instance */ public SVNCommitClient getCommitClient() { if (myCommitClient == null) { myCommitClient = new SVNCommitClient(this, myOptions); myCommitClient.setEventHandler(myEventHandler); myCommitClient.setDebugLog(getDebugLog()); } return myCommitClient; }
/** * Returns an instance of the {@link SVNDiffClient} 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>SVNDiffClient</b> instance */ public SVNDiffClient getDiffClient() { if (myDiffClient == null) { myDiffClient = new SVNDiffClient(this, myOptions); myDiffClient.setEventHandler(myEventHandler); myDiffClient.setDebugLog(getDebugLog()); } return myDiffClient; }
/** * Returns an instance of the {@link SVNStatusClient} 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>SVNStatusClient</b> instance */ public SVNStatusClient getStatusClient() { if (myStatusClient == null) { myStatusClient = new SVNStatusClient(this, myOptions); myStatusClient.setEventHandler(myEventHandler); myStatusClient.setDebugLog(getDebugLog()); } return myStatusClient; }
/** * 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; }
/** * 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 SVNMoveClient} 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>SVNMoveClient</b> instance */ public SVNMoveClient getMoveClient() { if (myMoveClient == null) { myMoveClient = new SVNMoveClient(this, myOptions); myMoveClient.setEventHandler(myEventHandler); myMoveClient.setDebugLog(getDebugLog()); } return myMoveClient; }
public static void throwException(SVNException e, SVNClientImpl svnClient) throws ClientException { int code = 0; if (e.getErrorMessage() != null) { code = e.getErrorMessage().getErrorCode().getCode(); } ClientException ec = new ClientException(e.getMessage(), "", code); svnClient.getClientManager().getDebugLog().info(ec); svnClient.getClientManager().getDebugLog().info(e); throw ec; } }
/** * Returns an instance of the {@link org.tmatesoft.svn.core.wc.admin.SVNLookClient} 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>SVNLookClient</b> instance */ public SVNLookClient getLookClient() { if (myLookClient == null) { myLookClient = new SVNLookClient(this, myOptions); myLookClient.setEventHandler(myEventHandler); myLookClient.setDebugLog(getDebugLog()); myLookClient.setIgnoreExternals(myIsIgnoreExternals); } return myLookClient; }
/** * Returns an instance of the {@link SVNStatusClient} 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>SVNStatusClient</b> instance */ public SVNStatusClient getStatusClient() { if (myStatusClient == null) { myStatusClient = new SVNStatusClient(this, myOptions); myStatusClient.setEventHandler(myEventHandler); myStatusClient.setDebugLog(getDebugLog()); myStatusClient.setIgnoreExternals(myIsIgnoreExternals); } return myStatusClient; }
/** * Returns an instance of the {@link SVNStatusClient} 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>SVNStatusClient</b> instance */ public SVNStatusClient getStatusClient() { if (myStatusClient == null) { myStatusClient = new SVNStatusClient(this, myOptions); myStatusClient.setEventHandler(myEventHandler); myStatusClient.setDebugLog(getDebugLog()); myStatusClient.setIgnoreExternals(myIsIgnoreExternals); } return myStatusClient; }
/** * Returns an instance of the {@link SVNCommitClient} 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>SVNCommitClient</b> instance */ public SVNCommitClient getCommitClient() { if (myCommitClient == null) { myCommitClient = new SVNCommitClient(this, myOptions); myCommitClient.setEventHandler(myEventHandler); myCommitClient.setDebugLog(getDebugLog()); myCommitClient.setIgnoreExternals(myIsIgnoreExternals); } return myCommitClient; }
/** * Returns an instance of the {@link org.tmatesoft.svn.core.wc.admin.SVNAdminClient} 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>SVNAdminClient</b> instance */ public SVNAdminClient getAdminClient() { if (myAdminClient == null) { myAdminClient = new SVNAdminClient(this, myOptions); myAdminClient.setEventHandler(myEventHandler); myAdminClient.setDebugLog(getDebugLog()); myAdminClient.setIgnoreExternals(myIsIgnoreExternals); } return myAdminClient; }
/** * 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 org.tmatesoft.svn.core.wc.admin.SVNAdminClient} 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>SVNAdminClient</b> instance */ public SVNAdminClient getAdminClient() { if (myAdminClient == null) { myAdminClient = new SVNAdminClient(this, myOptions); myAdminClient.setEventHandler(myEventHandler); myAdminClient.setDebugLog(getDebugLog()); myAdminClient.setIgnoreExternals(myIsIgnoreExternals); } return myAdminClient; }
/** * Returns an instance of the {@link SVNDiffClient} 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>SVNDiffClient</b> instance */ public SVNDiffClient getDiffClient() { if (myDiffClient == null) { myDiffClient = new SVNDiffClient(this, myOptions); myDiffClient.setEventHandler(myEventHandler); myDiffClient.setDebugLog(getDebugLog()); myDiffClient.setIgnoreExternals(myIsIgnoreExternals); } return myDiffClient; }
/** * Returns an instance of the {@link SVNUpdateClient} 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>SVNUpdateClient</b> instance */ public SVNUpdateClient getUpdateClient() { if (myUpdateClient == null) { myUpdateClient = new SVNUpdateClient(this, myOptions); myUpdateClient.setEventHandler(myEventHandler); myUpdateClient.setDebugLog(getDebugLog()); myUpdateClient.setIgnoreExternals(myIsIgnoreExternals); } return myUpdateClient; }
/** * Returns an instance of the {@link SVNWCClient} 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>SVNWCClient</b> instance */ public SVNWCClient getWCClient() { if (myWCClient == null) { myWCClient = new SVNWCClient(this, myOptions); myWCClient.setEventHandler(myEventHandler); myWCClient.setDebugLog(getDebugLog()); myWCClient.setIgnoreExternals(myIsIgnoreExternals); } return myWCClient; }