hudson.plugins.mercurial
Class MercurialInstallation

java.lang.Object
  extended by hudson.model.AbstractDescribableImpl<hudson.tools.ToolInstallation>
      extended by hudson.tools.ToolInstallation
          extended by hudson.plugins.mercurial.MercurialInstallation
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.tools.ToolInstallation>, hudson.model.EnvironmentSpecific<MercurialInstallation>, hudson.slaves.NodeSpecific<MercurialInstallation>, Serializable

public class MercurialInstallation
extends hudson.tools.ToolInstallation
implements hudson.slaves.NodeSpecific<MercurialInstallation>, hudson.model.EnvironmentSpecific<MercurialInstallation>

Installation of Mercurial.

See Also:
Serialized Form

Nested Class Summary
static class MercurialInstallation.DescriptorImpl
           
 
Nested classes/interfaces inherited from class hudson.tools.ToolInstallation
hudson.tools.ToolInstallation.ToolConverter
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Constructor Summary
MercurialInstallation(String name, String home, String executable, boolean debug, boolean useCaches, boolean useSharing, List<? extends hudson.tools.ToolProperty<?>> properties)
           
 
Method Summary
static MercurialInstallation[] allInstallations()
           
 MercurialInstallation forEnvironment(hudson.EnvVars environment)
           
 MercurialInstallation forNode(hudson.model.Node node, hudson.model.TaskListener log)
           
 boolean getDebug()
           
 String getExecutable()
           
 boolean isUseCaches()
           
 boolean isUseSharing()
           
 
Methods inherited from class hudson.tools.ToolInstallation
all, getHome, getName, getProperties, translateFor
 
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MercurialInstallation

@DataBoundConstructor
public MercurialInstallation(String name,
                                                  String home,
                                                  String executable,
                                                  boolean debug,
                                                  boolean useCaches,
                                                  boolean useSharing,
                                                  List<? extends hudson.tools.ToolProperty<?>> properties)
Method Detail

getExecutable

public String getExecutable()

getDebug

public boolean getDebug()

isUseCaches

public boolean isUseCaches()

isUseSharing

public boolean isUseSharing()

allInstallations

public static MercurialInstallation[] allInstallations()

forNode

public MercurialInstallation forNode(hudson.model.Node node,
                                     hudson.model.TaskListener log)
                              throws IOException,
                                     InterruptedException
Specified by:
forNode in interface hudson.slaves.NodeSpecific<MercurialInstallation>
Throws:
IOException
InterruptedException

forEnvironment

public MercurialInstallation forEnvironment(hudson.EnvVars environment)
Specified by:
forEnvironment in interface hudson.model.EnvironmentSpecific<MercurialInstallation>


Copyright © 2004-2011. All Rights Reserved.