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