org.hudsonci.maven.plugin.install
Class MavenInstallation

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

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

forEnvironment

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

forNode

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


Copyright © 2004-2011 Hudson. All Rights Reserved.