public final class SvnUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static boolean |
checkAuthentication(String strUrl,
String strUserName,
String strPassword) |
static void |
doCommit(String strPathFile,
String strCommitMessage,
ReleaseSvnCommitClient commitClient)
Commit
|
static Long |
doSvnCheckout(String strUrl,
String strCheckoutBaseSitePath,
ReleaseSvnCheckoutClient updateClient,
CommandResult result) |
static String |
doTagSite(String strSiteName,
String strTagName,
String strSrcURL,
String strDstURL,
org.tmatesoft.svn.core.wc.SVNCopyClient copyClient)
Tag un site
|
static Long |
getLastRevision(String strRepoPath,
String strUserName,
String strPassword) |
static String |
getRepoUrl(String strRepoUrl) |
static fr.paris.lutece.util.ReferenceList |
getSvnSites(String strUrlSite,
org.tmatesoft.svn.core.wc.SVNClientManager clientManager) |
static String |
getSvnUrlTagSite(String strScmUrl,
String strTagName) |
static void |
init()
Initialise les diff�rentes factory pour le svn
|
static void |
revert(String strRepoPath,
String strCmUrl,
String strUserName,
String strPassword,
Long revCurrentCommit,
Long lRevertCommit) |
static void |
update(String strRepoPath,
String strUserName,
String strPassword) |
public static void init()
public static void doCommit(String strPathFile, String strCommitMessage, ReleaseSvnCommitClient commitClient) throws org.tmatesoft.svn.core.SVNException
strSiteName - le nom du sitestrTagName - le nom du tagcopyClient - le client svn permettant la copieorg.tmatesoft.svn.core.SVNExceptionpublic static String doTagSite(String strSiteName, String strTagName, String strSrcURL, String strDstURL, org.tmatesoft.svn.core.wc.SVNCopyClient copyClient) throws org.tmatesoft.svn.core.SVNException
strSiteName - le nom du sitestrTagName - le nom du tagcopyClient - le client svn permettant la copieorg.tmatesoft.svn.core.SVNExceptionpublic static Long doSvnCheckout(String strUrl, String strCheckoutBaseSitePath, ReleaseSvnCheckoutClient updateClient, CommandResult result) throws org.tmatesoft.svn.core.SVNException
org.tmatesoft.svn.core.SVNExceptionpublic static fr.paris.lutece.util.ReferenceList getSvnSites(String strUrlSite, org.tmatesoft.svn.core.wc.SVNClientManager clientManager) throws org.tmatesoft.svn.core.SVNException
org.tmatesoft.svn.core.SVNExceptionpublic static Long getLastRevision(String strRepoPath, String strUserName, String strPassword)
public static void revert(String strRepoPath, String strCmUrl, String strUserName, String strPassword, Long revCurrentCommit, Long lRevertCommit)
Copyright © 2019 City of Paris. All rights reserved.