jenkins.plugins.nodejs.tools
Class NodeJSInstallation

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

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

Author:
fcamblor
See Also:
Serialized Form

Nested Class Summary
static class NodeJSInstallation.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
NodeJSInstallation(String name, String home, List<? extends hudson.tools.ToolProperty<?>> properties)
           
 
Method Summary
 NodeJSInstallation forEnvironment(hudson.EnvVars environment)
           
 NodeJSInstallation forNode(hudson.model.Node node, hudson.model.TaskListener log)
           
 String getExecutable(hudson.Launcher launcher)
           
 String getHome()
           
 
Methods inherited from class hudson.tools.ToolInstallation
all, buildEnvVars, getName, getProperties, readResolve, translate, translate, 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

NodeJSInstallation

@DataBoundConstructor
public NodeJSInstallation(String name,
                                               String home,
                                               List<? extends hudson.tools.ToolProperty<?>> properties)
Method Detail

getHome

public String getHome()
Overrides:
getHome in class hudson.tools.ToolInstallation

forEnvironment

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

forNode

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

getExecutable

public String getExecutable(hudson.Launcher launcher)
                     throws InterruptedException,
                            IOException
Throws:
InterruptedException
IOException


Copyright © 2004-2014. All Rights Reserved.