Interface IVCSResourceService

All Known Implementing Classes:
GitResourceService

public interface IVCSResourceService
The Interface IVCSResourceService.
  • Method Details

    • fetchPom

      String fetchPom(Site site, String strLogin, String strPassword)
      Fetch pom.
      Parameters:
      site - the site
      strLogin - the str login
      strPassword - the str password
      Returns:
      the string
    • getLastRelease

      String getLastRelease(Site site, String strLogin, String strPassword)
      Gets the last release.
      Parameters:
      site - the site
      strLogin - the str login
      strPassword - the str password
      Returns:
      the last release
    • doCloneRepository

      String doCloneRepository(WorkflowReleaseContext context, String strLogin, String strPassword)
      Do clone repository.
      Parameters:
      context - the context
      strLogin - the str login
      strPassword - the str password
      Returns:
      the string
    • updateBranch

      void updateBranch(WorkflowReleaseContext context, String strBranch, Locale locale, String strMessage)
      Commit and push the local working tree on the given branch.
      Parameters:
      context - the context
      strBranch - the branch to update
      locale - the locale
      strMessage - the commit message
    • updateMasterBranch

      void updateMasterBranch(WorkflowReleaseContext context, String strMasterBranch, Locale locale)
      Merge the release-from branch (or the last release tag) into the given master* branch and push.
      Parameters:
      context - the context
      strMasterBranch - the target master* branch (e.g. "master", "master_core7")
      locale - the locale
    • rollbackRelease

      void rollbackRelease(WorkflowReleaseContext context, Locale locale)
      Rollback release.
      Parameters:
      context - the context
      locale - the locale
    • checkoutBranch

      void checkoutBranch(WorkflowReleaseContext context, String strBranch, Locale locale)
      Checkout the given branch.
      Parameters:
      context - the context
      strBranch - the branch to checkout
      locale - the locale