Class StashVcsComponent

    • Constructor Detail

      • StashVcsComponent

        public StashVcsComponent()
    • Method Detail

      • getDisplayName

        @NotNull
        public @NotNull String getDisplayName()
        Description copied from interface: VcsComponent
        text use in repository selection (option field or link text)
      • populateStashDetails

        public StashVcsComponent populateStashDetails​(com.atlassian.bamboo.specs.model.repository.bitbucket.server.BitbucketServerRepositoryProperties repository)
                                               throws Exception
        We're using VcsRepositoryProperties.getDescription() to define "Project-name / repository-name" value to choose in the UI selector
        Throws:
        Exception
      • getAvailableMirrorsNames

        public List<String> getAvailableMirrorsNames​(boolean expectingActualSelection)
      • getMirrorName

        public String getMirrorName()
      • selectRepository

        public StashVcsComponent selectRepository​(@NotNull
                                                  @NotNull String projectKey,
                                                  @NotNull
                                                  @NotNull String repositoryName)
      • getSelectedRepositoryValue

        public String getSelectedRepositoryValue()
      • waitUntilRepositorySelected

        public StashVcsComponent waitUntilRepositorySelected()
      • openBranchSelector

        public void openBranchSelector()
      • getVisibleBranches

        @NotNull
        public @NotNull List<String> getVisibleBranches()
      • getSelectedBranchValue

        public String getSelectedBranchValue()
      • mustHaveErrorMessage

        public void mustHaveErrorMessage()
      • hasErrorMessages

        public com.atlassian.pageobjects.elements.query.TimedCondition hasErrorMessages()
      • getErrorMessage

        public String getErrorMessage()
      • getErrorMessages

        public List<String> getErrorMessages()
      • hasErrorMessage

        public boolean hasErrorMessage​(String text)
      • hasFormErrors

        public com.atlassian.pageobjects.elements.query.TimedCondition hasFormErrors()
      • requiresApplinkCreation

        public boolean requiresApplinkCreation()
      • requiresOAuthDance

        public boolean requiresOAuthDance()
      • hasWarnings

        public com.atlassian.pageobjects.elements.query.TimedCondition hasWarnings()
      • isRepositoryAjaxCompleted

        public com.atlassian.pageobjects.elements.query.TimedCondition isRepositoryAjaxCompleted()
      • getWarning

        public String getWarning()
      • hasInfo

        public com.atlassian.pageobjects.elements.query.TimedCondition hasInfo()
      • getInfo

        public String getInfo()
      • isWebRepositorySetToStash

        public com.atlassian.pageobjects.elements.query.TimedCondition isWebRepositorySetToStash()