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. Expects bin/hg (bin\hg.exe) to exist. XXX should you be able to point to a raw executable?

See Also:
Serialized Form

Nested Class Summary
static class MercurialInstallation.DescriptorImpl
           
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Constructor Summary
MercurialInstallation(java.lang.String name, java.lang.String home, 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)
           
 
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.util.List<? extends hudson.tools.ToolProperty<?>> properties)
Method Detail

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 © 2009. All Rights Reserved.