hudson.plugins.sonar
Class SonarRunnerInstallation

java.lang.Object
  extended by hudson.tools.ToolInstallation
      extended by hudson.plugins.sonar.SonarRunnerInstallation
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.tools.ToolInstallation>, hudson.model.EnvironmentSpecific<SonarRunnerInstallation>, hudson.slaves.NodeSpecific<SonarRunnerInstallation>, java.io.Serializable

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

Represents a Sonar runner installation in a system.

See Also:
Serialized Form

Nested Class Summary
static class SonarRunnerInstallation.DescriptorImpl
           
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Constructor Summary
SonarRunnerInstallation(java.lang.String name, java.lang.String home, java.util.List<? extends hudson.tools.ToolProperty<?>> properties)
           
 
Method Summary
 SonarRunnerInstallation forEnvironment(hudson.EnvVars environment)
           
 SonarRunnerInstallation forNode(hudson.model.Node node, hudson.model.TaskListener log)
           
 java.lang.String getExecutable(hudson.Launcher launcher)
          Gets the executable path of this Sonar runner on the given target system.
 java.io.File getHomeDir()
           
 
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

SonarRunnerInstallation

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

getHomeDir

public java.io.File getHomeDir()

getExecutable

public java.lang.String getExecutable(hudson.Launcher launcher)
                               throws java.io.IOException,
                                      java.lang.InterruptedException
Gets the executable path of this Sonar runner on the given target system.

Throws:
java.io.IOException
java.lang.InterruptedException

forEnvironment

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

forNode

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


Copyright © 2007-2012. All Rights Reserved.