public class SvnResourceService extends Object implements IVCSResourceService
| Constructor and Description |
|---|
SvnResourceService() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkoutDevelopBranch(WorkflowReleaseContext context,
Locale locale)
Checkout develop branch.
|
String |
doCheckoutRepository(WorkflowReleaseContext context,
String strLogin,
String strPassword)
Do checkout repository.
|
String |
fetchPom(Site site,
String strLogin,
String strPassword)
Fetch the pom.xml content from a repository
|
String |
getLastRelease(Site site,
String strLogin,
String strPassword)
Gets the last release found in the SVN repository.
|
void |
rollbackRelease(WorkflowReleaseContext context,
Locale locale)
Rollback release.
|
void |
updateDevelopBranch(WorkflowReleaseContext context,
Locale locale,
String strMessage)
Update develop branch.
|
void |
updateMasterBranch(WorkflowReleaseContext context,
Locale locale)
Update master branch.
|
public String fetchPom(Site site, String strLogin, String strPassword)
fetchPom in interface IVCSResourceServicesite - the sitestrLogin - the str loginstrPassword - the str passwordpublic String getLastRelease(Site site, String strLogin, String strPassword)
getLastRelease in interface IVCSResourceServicesite - the sitestrLogin - the str loginstrPassword - the str passwordpublic String doCheckoutRepository(WorkflowReleaseContext context, String strLogin, String strPassword)
doCheckoutRepository in interface IVCSResourceServicecontext - the contextstrLogin - the str loginstrPassword - the str passwordpublic void updateDevelopBranch(WorkflowReleaseContext context, Locale locale, String strMessage)
updateDevelopBranch in interface IVCSResourceServicecontext - the contextlocale - the localestrMessage - the str messagepublic void updateMasterBranch(WorkflowReleaseContext context, Locale locale)
updateMasterBranch in interface IVCSResourceServicecontext - the contextlocale - the localepublic void rollbackRelease(WorkflowReleaseContext context, Locale locale)
rollbackRelease in interface IVCSResourceServicecontext - the contextlocale - the localepublic void checkoutDevelopBranch(WorkflowReleaseContext context, Locale locale)
checkoutDevelopBranch in interface IVCSResourceServicecontext - the contextlocale - the localeCopyright © 2020 City of Paris. All rights reserved.