com.atlassian.bamboo.pageobjects.pages.plan.configuration.repository.stash
Class StashVcsComponent
java.lang.Object
com.atlassian.bamboo.pageobjects.pages.plan.configuration.repository.AbstractVcsComponent
com.atlassian.bamboo.pageobjects.pages.plan.configuration.repository.stash.StashVcsComponent
- All Implemented Interfaces:
- VcsComponent
public class StashVcsComponent
- extends AbstractVcsComponent
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StashVcsComponent
public StashVcsComponent()
StashVcsComponent
public StashVcsComponent(VcsConfigurationComponent vcsConfigurationComponent)
getVcsSelectOption
@NotNull
public com.atlassian.pageobjects.elements.Option getVcsSelectOption()
- Description copied from interface:
VcsComponent
- Option used to select given repository in '#selectedRepository' selector
populateStashDetails
public StashVcsComponent populateStashDetails(TestBuildDetails plan)
throws Exception
- Throws:
Exception
populateStashDetails
public StashVcsComponent populateStashDetails(String projectName,
String repositoryName,
@Nullable
String branchName)
throws Exception
- Throws:
Exception
selectRepository
public StashVcsComponent selectRepository(@NotNull
String repositoryName)
openBranchSelector
public void openBranchSelector()
getVisibleBranches
@NotNull
public List<String> getVisibleBranches()
selectBranch
public StashVcsComponent selectBranch(@NotNull
String branchName)
doOAuthDanceIfNeeded
public StashVcsComponent doOAuthDanceIfNeeded()
throws Exception
- Throws:
Exception
mustHaveError
public void mustHaveError()
hasErrors
public com.atlassian.pageobjects.elements.query.TimedCondition hasErrors()
getError
public String getError()
hasError
public boolean hasError(String text)
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()
withAdvancedOptions
public StashVcsComponent withAdvancedOptions()
Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.