@Immutable public class HgRepositoryConfiguration extends Object
Modifier and Type | Class and Description |
---|---|
class |
HgRepositoryConfiguration.KeyfileAuthenticationDetails |
class |
HgRepositoryConfiguration.SshProxyAuthenticationDetails |
class |
HgRepositoryConfiguration.UsernamePasswordAuthenticationDetails |
Modifier and Type | Method and Description |
---|---|
static HgRepositoryConfiguration |
from(org.apache.commons.configuration.HierarchicalConfiguration hierarchicalConfiguration)
Create Hg configuration object from
HierarchicalConfiguration |
Optional<AuthenticationType> |
getAuthenticationType() |
Duration |
getCommandTimeoutDuration() |
String |
getMavenPath() |
String |
getSubstitutedBranch(CustomVariableContext customVariableContext) |
String |
getSubstitutedUrl(CustomVariableContext customVariableContext) |
boolean |
isDisableRepositoryCache() |
boolean |
isEnableCommitIsolation() |
boolean |
isEnableVerboseLogs() |
boolean |
isShowAdvancedOptions() |
public final String url
public final String branch
public final String authenticationTypeAsString
public final HgRepositoryConfiguration.UsernamePasswordAuthenticationDetails usernamePasswordAuthenticationDetails
public final HgRepositoryConfiguration.SshProxyAuthenticationDetails sshProxyAuthenticationDetails
public final HgRepositoryConfiguration.KeyfileAuthenticationDetails keyfileAuthenticationDetails
public final boolean enableSshCompression
public final boolean showAdvancedOptions
public final boolean enableCommitIsolation
public final long commandTimeout
public final boolean enableVerboseLogs
public final boolean disableRepositoryCache
public final String mavenPath
public String getSubstitutedUrl(@NotNull CustomVariableContext customVariableContext)
public String getSubstitutedBranch(@NotNull CustomVariableContext customVariableContext)
public Optional<AuthenticationType> getAuthenticationType()
public boolean isShowAdvancedOptions()
public boolean isEnableCommitIsolation()
public Duration getCommandTimeoutDuration()
public boolean isEnableVerboseLogs()
public boolean isDisableRepositoryCache()
public String getMavenPath()
public static HgRepositoryConfiguration from(@NotNull org.apache.commons.configuration.HierarchicalConfiguration hierarchicalConfiguration)
HierarchicalConfiguration
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.