hudson.plugins.mercurial
Class MercurialInstallation

java.lang.Object
  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>, java.io.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(java.lang.String name, java.lang.String home, java.lang.String executable, java.lang.String downloadForest, boolean debug, boolean useCaches, java.util.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()
           
 java.lang.String getDownloadForest()
           
 java.lang.String getExecutable()
           
 boolean isUseCaches()
           
 
Methods inherited from class hudson.tools.ToolInstallation
all, getDescriptor, getHome, getName, getProperties, translateFor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MercurialInstallation

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

getExecutable

public java.lang.String getExecutable()

getDownloadForest

public java.lang.String getDownloadForest()

getDebug

public boolean getDebug()

isUseCaches

public boolean isUseCaches()

allInstallations

public static MercurialInstallation[] allInstallations()

forNode

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

forEnvironment

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


Copyright © 2010. All Rights Reserved.