Interface IVCSResourceService
- All Known Implementing Classes:
GithubResourceService,GitlabResourceService,GitResourceService,SvnResourceService
public interface IVCSResourceService
The Interface IVCSResourceService.
-
Method Summary
Modifier and TypeMethodDescriptionvoidcheckoutBranch(WorkflowReleaseContext context, String strBranch, Locale locale) Checkout branch.voidcheckoutDevelopBranch(WorkflowReleaseContext context, Locale locale) Checkout develop branch.doCheckoutRepository(WorkflowReleaseContext context, String strLogin, String strPassword) Do checkout repository.Fetch pom.getLastRelease(Site site, String strLogin, String strPassword) Gets the last release.voidrollbackRelease(WorkflowReleaseContext context, Locale locale) Rollback release.voidupdateBranch(WorkflowReleaseContext context, String strBranch, Locale locale, String strMessage) Update develop branch.voidupdateDevelopBranch(WorkflowReleaseContext context, Locale locale, String strMessage) Update develop branch.voidupdateMasterBranch(WorkflowReleaseContext context, Locale locale) Update master branch.
-
Method Details
-
fetchPom
Fetch pom.- Parameters:
site- the sitestrLogin- the str loginstrPassword- the str password- Returns:
- the string
-
getLastRelease
Gets the last release.- Parameters:
site- the sitestrLogin- the str loginstrPassword- the str password- Returns:
- the last release
-
doCheckoutRepository
Do checkout repository.- Parameters:
context- the contextstrLogin- the str loginstrPassword- the str password- Returns:
- the string
-
updateDevelopBranch
Update develop branch.- Parameters:
context- the contextlocale- the localestrMessage- the str message
-
updateBranch
void updateBranch(WorkflowReleaseContext context, String strBranch, Locale locale, String strMessage) Update develop branch.- Parameters:
context- the contextlocale- the localestrMessage- the str message
-
updateMasterBranch
Update master branch.- Parameters:
context- the contextlocale- the locale
-
rollbackRelease
Rollback release.- Parameters:
context- the contextlocale- the locale
-
checkoutDevelopBranch
Checkout develop branch.- Parameters:
context- the contextlocale- the locale
-
checkoutBranch
Checkout branch.- Parameters:
context- the contextlocale- the locale
-