public class StashVcsComponent extends AbstractVcsComponent
convertToLinkedButton, globalRepositoryDetails, repositoryDisplayName
Constructor and Description |
---|
StashVcsComponent() |
StashVcsComponent(VcsConfigurationComponent vcsConfigurationComponent) |
canConvertToLinked, configureBambooSpecs, convertToLinked, isLinkedRepository, save, saveCreate, saveUpdate, setDisplayName, supportsRss, withChangeDetectionOptions, withCommitIsolation
public StashVcsComponent()
public StashVcsComponent(VcsConfigurationComponent vcsConfigurationComponent)
@NotNull public String getDisplayName()
VcsComponent
public StashVcsComponent populateStashDetails(TestBuildDetails plan) throws Exception
Exception
public StashVcsComponent populateStashDetails(com.atlassian.bamboo.specs.model.repository.bitbucket.server.BitbucketServerRepositoryProperties repository) throws Exception
VcsRepositoryProperties.getDescription()
to define "Project-name / repository-name" value to choose in the UI selectorException
public StashVcsComponent populateStashDetails(String projectName, String repositoryName, @Nullable String branchName) throws Exception
Exception
public StashVcsComponent waitUntilServerSelected()
public StashVcsComponent selectRepository(@NotNull String repositoryName)
public StashVcsComponent selectMirror(@NotNull String mirrorName)
public String getMirrorName()
public StashVcsComponent selectRepository(@NotNull String projectKey, @NotNull String repositoryName)
public String getSelectedRepositoryValue()
public StashVcsComponent waitUntilRepositorySelected()
public void openBranchSelector()
public StashVcsComponent selectBranch(@NotNull String branchName)
public String getSelectedBranchValue()
public StashVcsComponent waitUntilBranchSelected()
public StashVcsComponent doOAuthDanceIfNeeded() throws Exception
Exception
public StashVcsComponent doOAuthDanceIfNeeded(Consumer<String> logger) throws Exception
Exception
public StashVcsComponent doOAuthDance() throws Exception
Exception
public StashVcsComponent doOAuthDance(Consumer<String> logger) throws Exception
Exception
public void mustHaveErrorMessage()
public com.atlassian.pageobjects.elements.query.TimedCondition hasErrorMessages()
public String getErrorMessage()
public boolean hasErrorMessage(String text)
public com.atlassian.pageobjects.elements.query.TimedCondition hasFormErrors()
public boolean requiresApplinkCreation()
public boolean requiresOAuthDance()
public com.atlassian.pageobjects.elements.query.TimedCondition hasWarnings()
public com.atlassian.pageobjects.elements.query.TimedCondition isRepositoryAjaxCompleted()
public String getWarning()
public com.atlassian.pageobjects.elements.query.TimedCondition hasInfo()
public String getInfo()
public com.atlassian.pageobjects.elements.query.TimedCondition isWebRepositorySetToStash()
public StashVcsComponent withAdvancedOptions()
withAdvancedOptions
in class AbstractVcsComponent
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.