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>, java.io.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  java.lang.String downloadForest
           
private  java.lang.String executable
           
private  boolean useCaches
           
 
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 ToolProperty<?>> properties)
           
 
Method Summary
static MercurialInstallation[] allInstallations()
           
(package private)  java.lang.String executableWithSubstitution(java.lang.String home)
           
 MercurialInstallation forEnvironment(EnvVars environment)
           
 MercurialInstallation forNode(Node node, TaskListener log)
           
 boolean getDebug()
           
 java.lang.String getDownloadForest()
           
 java.lang.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 java.lang.String executable

downloadForest

private java.lang.String downloadForest

debug

private boolean debug

useCaches

private boolean useCaches
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 ToolProperty<?>> properties)
Method Detail

getExecutable

public java.lang.String getExecutable()

executableWithSubstitution

java.lang.String executableWithSubstitution(java.lang.String home)

getDownloadForest

public java.lang.String getDownloadForest()

getDebug

public boolean getDebug()

isUseCaches

public boolean isUseCaches()

allInstallations

public static MercurialInstallation[] allInstallations()

forNode

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

forEnvironment

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


Copyright © 2010. All Rights Reserved.