Package hudson.plugins.mercurial
Class MercurialInstallation
java.lang.Object
hudson.model.AbstractDescribableImpl<ToolInstallation>
hudson.tools.ToolInstallation
hudson.plugins.mercurial.MercurialInstallation
- All Implemented Interfaces:
ExtensionPoint
,Describable<ToolInstallation>
,EnvironmentSpecific<MercurialInstallation>
,NodeSpecific<MercurialInstallation>
,Serializable
public class MercurialInstallation
extends ToolInstallation
implements NodeSpecific<MercurialInstallation>, EnvironmentSpecific<MercurialInstallation>
Installation of Mercurial.
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class hudson.tools.ToolInstallation
ToolInstallation.ToolConverter
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
ConstructorsConstructorDescriptionMercurialInstallation
(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, boolean useSharing, 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) -
Method Summary
Modifier and TypeMethodDescriptionstatic MercurialInstallation[]
forEnvironment
(EnvVars environment) forNode
(Node node, TaskListener log) boolean
getDebug()
boolean
boolean
Methods inherited from class hudson.tools.ToolInstallation
all, buildEnvVars, getHome, getName, getProperties, readResolve, toString, translate, translate, translateFor, writeReplace
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
Constructor Details
-
MercurialInstallation
@Deprecated public MercurialInstallation(String name, String home, String executable, boolean debug, boolean useCaches, boolean useSharing, @CheckForNull List<? extends ToolProperty<?>> properties) Deprecated.for backwards compatibility -
MercurialInstallation
@Deprecated public MercurialInstallation(String name, String home, String executable, boolean debug, boolean useCaches, boolean useSharing, String config, @CheckForNull List<? extends ToolProperty<?>> properties) Deprecated.for backwards compatibility -
MercurialInstallation
-
-
Method Details
-
getExecutable
-
getDebug
public boolean getDebug() -
isUseCaches
public boolean isUseCaches() -
getMasterCacheRoot
-
isUseSharing
public boolean isUseSharing() -
getConfig
-
allInstallations
-
forNode
public MercurialInstallation forNode(Node node, TaskListener log) throws IOException, InterruptedException - Specified by:
forNode
in interfaceNodeSpecific<MercurialInstallation>
- Throws:
IOException
InterruptedException
-
forEnvironment
- Specified by:
forEnvironment
in interfaceEnvironmentSpecific<MercurialInstallation>
-