public class MercurialInstallation extends ToolInstallation implements NodeSpecific<MercurialInstallation>, EnvironmentSpecific<MercurialInstallation>
Modifier and Type | Class and Description |
---|---|
static class |
MercurialInstallation.DescriptorImpl |
ToolInstallation.ToolConverter
ExtensionPoint.LegacyInstancesAreScopedToHudson
Constructor and Description |
---|
MercurialInstallation(String name,
String home,
String executable,
boolean debug,
boolean useCaches,
boolean useSharing,
List<? extends ToolProperty<?>> properties)
Deprecated.
|
MercurialInstallation(String name,
String home,
String executable,
boolean debug,
boolean useCaches,
boolean useSharing,
String config,
List<? extends ToolProperty<?>> properties)
Deprecated.
|
MercurialInstallation(String name,
String home,
String executable,
boolean debug,
boolean useCaches,
String masterCacheRoot,
boolean useSharing,
String config,
List<? extends ToolProperty<?>> properties) |
Modifier and Type | Method and Description |
---|---|
static MercurialInstallation[] |
allInstallations() |
MercurialInstallation |
forEnvironment(EnvVars environment) |
MercurialInstallation |
forNode(Node node,
TaskListener log) |
String |
getConfig() |
boolean |
getDebug() |
String |
getExecutable() |
String |
getMasterCacheRoot() |
boolean |
isUseCaches() |
boolean |
isUseSharing() |
all, buildEnvVars, getHome, getName, getProperties, readResolve, toString, translate, translate, translateFor, writeReplace
getDescriptor
@Deprecated public MercurialInstallation(String name, String home, String executable, boolean debug, boolean useCaches, boolean useSharing, @CheckForNull List<? extends ToolProperty<?>> properties)
@Deprecated public MercurialInstallation(String name, String home, String executable, boolean debug, boolean useCaches, boolean useSharing, String config, @CheckForNull List<? extends ToolProperty<?>> properties)
public String getExecutable()
public boolean getDebug()
public boolean isUseCaches()
public String getMasterCacheRoot()
public boolean isUseSharing()
@CheckForNull public String getConfig()
@NonNull public static MercurialInstallation[] allInstallations()
public MercurialInstallation forNode(Node node, TaskListener log) throws IOException, InterruptedException
forNode
in interface NodeSpecific<MercurialInstallation>
IOException
InterruptedException
public MercurialInstallation forEnvironment(EnvVars environment)
forEnvironment
in interface EnvironmentSpecific<MercurialInstallation>
Copyright © 2016–2022. All rights reserved.