public class SvnService extends Object implements IVCSService<SvnUser>
| Modifier and Type | Method and Description |
|---|---|
void |
checkAuthentication(String strRepoUrl,
SvnUser user)
Check if the provided VCS User is authorized to access to repo
|
String |
doCheckoutSite(String strSiteName,
String strRepoUrl,
SvnUser user,
CommandResult commandResult,
String strBranch,
String strTagToDeploy)
Perform the checkout of the site
|
String |
getArtifactId(String strPathRepo)
Get the artifact id of the site in the VCS (it's often the site name)
|
fr.paris.lutece.util.ReferenceList |
getSVNDirChildren(String strRepoUrl,
SvnUser user) |
fr.paris.lutece.util.ReferenceList |
getTagsSite(String strUrlSite,
SvnUser user,
String strSiteName)
Get the ReferenceList of the tags of a site
|
fr.paris.lutece.util.ReferenceList |
getUpgradesFiles(String strSiteName,
String strUrlSite,
SvnUser user)
Get the reference list of the upgrades SQL Files
|
String |
getUrlDevSite(String strBaseUrl) |
String |
getUrlTagSite(String strBaseUrl,
String strTagName) |
void |
init() |
boolean |
isPrivate()
Check if the repo is public or private
|
public void init()
init in interface IVCSService<SvnUser>public fr.paris.lutece.util.ReferenceList getTagsSite(String strUrlSite, SvnUser user, String strSiteName)
IVCSServicegetTagsSite in interface IVCSService<SvnUser>strUrlSite - the Url of the repouser - the VCS userstrSiteName - the name of the sitepublic String doCheckoutSite(String strSiteName, String strRepoUrl, SvnUser user, CommandResult commandResult, String strBranch, String strTagToDeploy)
IVCSServicedoCheckoutSite in interface IVCSService<SvnUser>strSiteName - the site namestrRepoUrl - the url of the repouser - the VCS usercommandResult - the command resultstrBranch - the branchstrTagToDeploy - the tagpublic fr.paris.lutece.util.ReferenceList getUpgradesFiles(String strSiteName, String strUrlSite, SvnUser user)
IVCSServicegetUpgradesFiles in interface IVCSService<SvnUser>strSiteName - the site namestrUrlSite - the url of the repouser - the VCS userpublic fr.paris.lutece.util.ReferenceList getSVNDirChildren(String strRepoUrl, SvnUser user)
public String getArtifactId(String strPathRepo)
IVCSServicegetArtifactId in interface IVCSService<SvnUser>strPathRepo - the path of the repositorypublic boolean isPrivate()
IVCSServiceisPrivate in interface IVCSService<SvnUser>public void checkAuthentication(String strRepoUrl, SvnUser user)
IVCSServicecheckAuthentication in interface IVCSService<SvnUser>Copyright © 2018 City of Paris. All rights reserved.