Class GitVcsComponent
- java.lang.Object
-
- com.atlassian.bamboo.pageobjects.pages.plan.configuration.repository.AbstractVcsComponent
-
- com.atlassian.bamboo.pageobjects.pages.plan.configuration.repository.git.GitVcsComponent
-
- All Implemented Interfaces:
VcsComponent
public class GitVcsComponent extends AbstractVcsComponent
-
-
Field Summary
-
Fields inherited from class com.atlassian.bamboo.pageobjects.pages.plan.configuration.repository.AbstractVcsComponent
convertToLinkedButton, driver, elementFinder, globalRepositoryDetails, pageBinder, repositoryDisplayName
-
-
Constructor Summary
Constructors Constructor Description GitVcsComponent()
GitVcsComponent(VcsConfigurationComponent vcsConfigurationComponent)
-
Method Summary
-
Methods inherited from class com.atlassian.bamboo.pageobjects.pages.plan.configuration.repository.AbstractVcsComponent
canConvertToLinked, configureBambooSpecs, convertToLinked, isConvertToLinkedButtonEnabled, isConvertToLinkedButtonPresent, isLinkedRepository, save, saveCreate, saveUpdate, setDisplayName, supportsRss, withAdvancedOptions, withChangeDetectionOptions, withCommitIsolation, withDefaultRepositoryPermission
-
-
-
-
Constructor Detail
-
GitVcsComponent
public GitVcsComponent()
-
GitVcsComponent
public GitVcsComponent(VcsConfigurationComponent vcsConfigurationComponent)
-
-
Method Detail
-
getDisplayName
public String getDisplayName()
Description copied from interface:VcsComponent
text use in repository selection (option field or link text)
-
withRepositoryUrl
public GitVcsComponent withRepositoryUrl(String repositoryUrl)
-
getRepositoryUrl
public String getRepositoryUrl()
-
withAuthenticationType
public GitVcsComponent withAuthenticationType(String authenticationType)
-
getAuthenticationType
public String getAuthenticationType()
-
withSshCredentialsSource
public GitVcsComponent withSshCredentialsSource(String source)
-
getSshCredentialsSource
public String getSshCredentialsSource()
-
withPasswordCredentialsSource
public GitVcsComponent withPasswordCredentialsSource(String source)
-
getPasswordCredentialsSource
public String getPasswordCredentialsSource()
-
withUsername
public GitVcsComponent withUsername(String username)
-
getUsername
public String getUsername()
-
withPassword
public GitVcsComponent withPassword(String password)
-
withSshSharedCredential
public GitVcsComponent withSshSharedCredential(long sharedCredentialId)
-
getSshSharedCredentialId
public long getSshSharedCredentialId()
-
withSshSharedCredential
public GitVcsComponent withSshSharedCredential(String sharedCredentialName)
-
getSshSharedCredentialName
public String getSshSharedCredentialName()
-
withPasswordSharedCredential
public GitVcsComponent withPasswordSharedCredential(long sharedCredentialId)
-
getPasswordSharedCredentialId
public long getPasswordSharedCredentialId()
-
withPasswordSharedCredential
public GitVcsComponent withPasswordSharedCredential(String sharedCredentialName)
-
getPasswordSharedCredentialName
public String getPasswordSharedCredentialName()
-
getNoPasswordSharedCredentialsInfoBox
public NoSharedCredentialsInfoBox getNoPasswordSharedCredentialsInfoBox()
-
getNoSshSharedCredentialsInfoBox
public NoSharedCredentialsInfoBox getNoSshSharedCredentialsInfoBox()
-
populateDetails
public GitVcsComponent populateDetails(TestBuildDetails plan) throws Exception
- Throws:
Exception
-
populateDetails
public GitVcsComponent populateDetails(com.atlassian.bamboo.specs.model.repository.git.GitRepositoryProperties repository) throws Exception
- Throws:
Exception
-
-