Class AbstractVcsComponent
- java.lang.Object
-
- com.atlassian.bamboo.pageobjects.pages.plan.configuration.repository.AbstractVcsComponent
-
- All Implemented Interfaces:
VcsComponent
- Direct Known Subclasses:
CreateSvnComponent
,EditSvnComponent
,GitVcsComponent
,StashVcsComponent
public abstract class AbstractVcsComponent extends Object implements VcsComponent
-
-
Field Summary
Fields Modifier and Type Field Description protected AuiButton
convertToLinkedButton
protected org.openqa.selenium.WebDriver
driver
protected com.atlassian.pageobjects.elements.PageElementFinder
elementFinder
protected com.atlassian.pageobjects.elements.PageElement
globalRepositoryDetails
protected com.atlassian.pageobjects.PageBinder
pageBinder
protected TextElement
repositoryDisplayName
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractVcsComponent()
protected
AbstractVcsComponent(VcsConfigurationComponent vcsConfigurationComponent)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
canConvertToLinked()
BambooSpecsConfigurationTab
configureBambooSpecs()
ConvertToLinkedDialog
convertToLinked()
boolean
isConvertToLinkedButtonEnabled()
boolean
isConvertToLinkedButtonPresent()
boolean
isLinkedRepository()
VcsConfigurationComponent
save()
Deprecated.since 5.13, usesaveUpdate()
VcsConfigurationComponent
saveCreate()
Calling this make sense only in create modeVcsConfigurationComponent
saveUpdate()
Calling this make sense only in edit modevoid
setDisplayName(@NotNull String displayName)
boolean
supportsRss()
AbstractVcsComponent
withAdvancedOptions()
AbstractVcsComponent
withChangeDetectionOptions()
AbstractVcsComponent
withCommitIsolation(boolean enabled)
AbstractVcsComponent
withDefaultRepositoryPermission(VcsRepositoryConfigurationService.RepositoryAccess repositoryPermission)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.atlassian.bamboo.pageobjects.pages.plan.configuration.repository.VcsComponent
getDisplayName
-
-
-
-
Field Detail
-
repositoryDisplayName
protected TextElement repositoryDisplayName
-
convertToLinkedButton
protected AuiButton convertToLinkedButton
-
globalRepositoryDetails
protected com.atlassian.pageobjects.elements.PageElement globalRepositoryDetails
-
pageBinder
@Inject protected com.atlassian.pageobjects.PageBinder pageBinder
-
driver
@Inject protected org.openqa.selenium.WebDriver driver
-
elementFinder
@Inject protected com.atlassian.pageobjects.elements.PageElementFinder elementFinder
-
-
Constructor Detail
-
AbstractVcsComponent
protected AbstractVcsComponent()
-
AbstractVcsComponent
protected AbstractVcsComponent(VcsConfigurationComponent vcsConfigurationComponent)
-
-
Method Detail
-
setDisplayName
public void setDisplayName(@NotNull @NotNull String displayName)
- Specified by:
setDisplayName
in interfaceVcsComponent
-
saveCreate
public VcsConfigurationComponent saveCreate()
Calling this make sense only in create mode
-
saveUpdate
public VcsConfigurationComponent saveUpdate()
Calling this make sense only in edit mode
-
save
@Deprecated public VcsConfigurationComponent save()
Deprecated.since 5.13, usesaveUpdate()
-
canConvertToLinked
public boolean canConvertToLinked()
-
isConvertToLinkedButtonPresent
public boolean isConvertToLinkedButtonPresent()
-
isConvertToLinkedButtonEnabled
public boolean isConvertToLinkedButtonEnabled()
-
convertToLinked
public ConvertToLinkedDialog convertToLinked()
-
isLinkedRepository
public boolean isLinkedRepository()
-
withAdvancedOptions
public AbstractVcsComponent withAdvancedOptions()
-
withDefaultRepositoryPermission
public AbstractVcsComponent withDefaultRepositoryPermission(VcsRepositoryConfigurationService.RepositoryAccess repositoryPermission)
-
withChangeDetectionOptions
public AbstractVcsComponent withChangeDetectionOptions()
-
withCommitIsolation
public AbstractVcsComponent withCommitIsolation(boolean enabled)
-
supportsRss
public boolean supportsRss()
- Returns:
- true if repository supports Repository stored Bamboo Specs
-
configureBambooSpecs
public BambooSpecsConfigurationTab configureBambooSpecs()
-
-