org.hudsonci.maven.plugin.install
Class MavenInstallation

java.lang.Object
  extended by hudson.model.AbstractDescribableImpl<ToolInstallation>
      extended by hudson.tools.ToolInstallation
          extended by org.hudsonci.maven.plugin.install.MavenInstallation
All Implemented Interfaces:
ExtensionPoint, Describable<ToolInstallation>, EnvironmentSpecific<MavenInstallation>, NodeSpecific<MavenInstallation>, Serializable
Direct Known Subclasses:
BundledMavenInstallation

public class MavenInstallation
extends ToolInstallation
implements EnvironmentSpecific<MavenInstallation>, NodeSpecific<MavenInstallation>

Maven installation.

Since:
2.1.0
Author:
Jason Dillon
See Also:
Serialized Form

Nested Class Summary
static class MavenInstallation.DescriptorImpl
           
 
Nested classes/interfaces inherited from class hudson.tools.ToolInstallation
ToolInstallation.ToolConverter
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Field Summary
static String DESCRIPTOR_FILE_NAME
           
 
Constructor Summary
MavenInstallation(String name, String home, List<? extends ToolProperty<?>> properties)
           
 
Method Summary
 MavenInstallation forEnvironment(EnvVars env)
           
 MavenInstallation forNode(Node node, TaskListener log)
           
 
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

DESCRIPTOR_FILE_NAME

public static final String DESCRIPTOR_FILE_NAME
See Also:
Constant Field Values
Constructor Detail

MavenInstallation

@DataBoundConstructor
public MavenInstallation(String name,
                                              String home,
                                              List<? extends ToolProperty<?>> properties)
Method Detail

forEnvironment

public MavenInstallation forEnvironment(EnvVars env)
Specified by:
forEnvironment in interface EnvironmentSpecific<MavenInstallation>

forNode

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


Copyright © 2004-2011 Hudson. All Rights Reserved.