com.atlassian.bamboo.pageobjects.pages.plan.configuration.repository.stash
Class StashVcsComponent

java.lang.Object
  extended by com.atlassian.bamboo.pageobjects.pages.plan.configuration.repository.AbstractVcsComponent
      extended by com.atlassian.bamboo.pageobjects.pages.plan.configuration.repository.stash.StashVcsComponent
All Implemented Interfaces:
VcsComponent

public class StashVcsComponent
extends AbstractVcsComponent


Field Summary
 
Fields inherited from class com.atlassian.bamboo.pageobjects.pages.plan.configuration.repository.AbstractVcsComponent
repositoryDisplayName
 
Constructor Summary
StashVcsComponent()
           
StashVcsComponent(VcsConfigurationComponent vcsConfigurationComponent)
           
 
Method Summary
 StashVcsComponent doOAuthDanceIfNeeded()
           
 String getError()
           
 String getInfo()
           
 com.atlassian.pageobjects.elements.Option getVcsSelectOption()
          Option used to select given repository in '#selectedRepository' selector
 List<String> getVisibleBranches()
           
 String getWarning()
           
 boolean hasError(String text)
           
 com.atlassian.pageobjects.elements.query.TimedCondition hasErrors()
           
 com.atlassian.pageobjects.elements.query.TimedCondition hasInfo()
           
 com.atlassian.pageobjects.elements.query.TimedCondition hasWarnings()
           
 com.atlassian.pageobjects.elements.query.TimedCondition isRepositoryAjaxCompleted()
           
 com.atlassian.pageobjects.elements.query.TimedCondition isWebRepositorySetToStash()
           
 void mustHaveError()
           
 void openBranchSelector()
           
 StashVcsComponent populateStashDetails(String projectName, String repositoryName, String branchName)
           
 StashVcsComponent populateStashDetails(TestBuildDetails plan)
           
 boolean requiresApplinkCreation()
           
 boolean requiresOAuthDance()
           
 StashVcsComponent selectBranch(String branchName)
           
 StashVcsComponent selectRepository(String repositoryName)
           
 StashVcsComponent withAdvancedOptions()
           
 
Methods inherited from class com.atlassian.bamboo.pageobjects.pages.plan.configuration.repository.AbstractVcsComponent
save, setDisplayName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StashVcsComponent

public StashVcsComponent()

StashVcsComponent

public StashVcsComponent(VcsConfigurationComponent vcsConfigurationComponent)
Method Detail

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.