hudson.plugins.mercurial
Class MercurialInstallation

java.lang.Object
  extended by hudson.model.AbstractDescribableImpl<ToolInstallation>
      extended by hudson.tools.ToolInstallation
          extended by 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:
Serialized Form

Nested Class Summary
static class MercurialInstallation.DescriptorImpl
           
 
Nested classes/interfaces inherited from class hudson.tools.ToolInstallation
ToolInstallation.ToolConverter
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Field Summary
private  boolean debug
           
private  String downloadForest
           
private  String executable
           
private  boolean useCaches
           
 
Constructor Summary
MercurialInstallation(String name, String home, String executable, String downloadForest, boolean debug, boolean useCaches, List<? extends ToolProperty<?>> properties)
           
 
Method Summary
static MercurialInstallation[] allInstallations()
           
(package private)  String executableWithSubstitution(String home)
           
 MercurialInstallation forEnvironment(EnvVars environment)
           
 MercurialInstallation forNode(Node node, TaskListener log)
           
 boolean getDebug()
           
 String getDownloadForest()
           
 String getExecutable()
           
 boolean isUseCaches()
           
 
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
 

Field Detail

executable

private String executable

downloadForest

private String downloadForest

debug

private boolean debug

useCaches

private boolean useCaches
Constructor Detail

MercurialInstallation

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

getExecutable

public String getExecutable()

executableWithSubstitution

String executableWithSubstitution(String home)

getDownloadForest

public String getDownloadForest()

getDebug

public boolean getDebug()

isUseCaches

public boolean isUseCaches()

allInstallations

public static MercurialInstallation[] allInstallations()

forNode

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

forEnvironment

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


Copyright © 2010. All Rights Reserved.