public class HgVcsComponent extends AbstractVcsComponent
Modifier and Type | Class and Description |
---|---|
static class |
HgVcsComponent.KeyFileAuthComponent |
static class |
HgVcsComponent.SshProxyAuthComponent |
static class |
HgVcsComponent.UsernamePasswordAuthComponent |
Modifier and Type | Field and Description |
---|---|
com.atlassian.pageobjects.elements.SelectElement |
authenticationField |
TextElement |
branchField |
com.atlassian.pageobjects.elements.CheckboxElement |
enableSshCompressionCheckbox |
HgVcsComponent.KeyFileAuthComponent |
keyFileAuth |
com.atlassian.pageobjects.elements.PageElement |
sharedCredentialsDeletedMessageBox |
HgVcsComponent.SshProxyAuthComponent |
sshProxyAuth |
TextElement |
urlField |
HgVcsComponent.UsernamePasswordAuthComponent |
usernamePasswordAuth |
convertToLinkedButton, globalRepositoryDetails, pageBinder, repositoryDisplayName
Constructor and Description |
---|
HgVcsComponent(VcsConfigurationComponent vcsConfigurationComponent) |
Modifier and Type | Method and Description |
---|---|
String |
getDisplayName()
text use in repository selection (option field or link text)
|
void |
init() |
HgVcsComponent |
withAuthentication(com.atlassian.pageobjects.elements.Option authentication) |
HgVcsComponent |
withKeyfileCredentials(File sshPrivateKey) |
HgVcsComponent |
withSshProxyCustomCredentials(File sshPrivateKey,
String passphrase) |
HgVcsComponent |
withSshProxySharedCredentials(com.atlassian.pageobjects.elements.Option sharedCredentials) |
HgVcsComponent |
withUrl(String url) |
HgVcsComponent |
withUsernamePassword(String username,
String password) |
HgVcsComponent |
withUsernamePasswordSharedCredentials(com.atlassian.pageobjects.elements.Option sharedCredentials) |
canConvertToLinked, convertToLinked, isLinkedRepository, save, saveCreate, saveUpdate, setDisplayName, withAdvancedOptions, withChangeDetectionOptions, withCommitIsolation
public TextElement urlField
public TextElement branchField
public com.atlassian.pageobjects.elements.SelectElement authenticationField
public com.atlassian.pageobjects.elements.PageElement sharedCredentialsDeletedMessageBox
public HgVcsComponent.UsernamePasswordAuthComponent usernamePasswordAuth
public HgVcsComponent.SshProxyAuthComponent sshProxyAuth
public HgVcsComponent.KeyFileAuthComponent keyFileAuth
public com.atlassian.pageobjects.elements.CheckboxElement enableSshCompressionCheckbox
public HgVcsComponent(VcsConfigurationComponent vcsConfigurationComponent)
public void init()
@NotNull public String getDisplayName()
VcsComponent
public HgVcsComponent withUrl(String url)
public HgVcsComponent withAuthentication(com.atlassian.pageobjects.elements.Option authentication)
public HgVcsComponent withUsernamePassword(String username, String password)
public HgVcsComponent withUsernamePasswordSharedCredentials(com.atlassian.pageobjects.elements.Option sharedCredentials)
public HgVcsComponent withSshProxySharedCredentials(com.atlassian.pageobjects.elements.Option sharedCredentials)
public HgVcsComponent withSshProxyCustomCredentials(File sshPrivateKey, String passphrase)
public HgVcsComponent withKeyfileCredentials(File sshPrivateKey)
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.