Package hudson.plugins.sonar
Class SonarRunnerInstallation
java.lang.Object
hudson.model.AbstractDescribableImpl<ToolInstallation>
hudson.tools.ToolInstallation
hudson.plugins.sonar.SonarRunnerInstallation
- All Implemented Interfaces:
ExtensionPoint
,Describable<ToolInstallation>
,EnvironmentSpecific<SonarRunnerInstallation>
,NodeSpecific<SonarRunnerInstallation>
,Serializable
public class SonarRunnerInstallation
extends ToolInstallation
implements EnvironmentSpecific<SonarRunnerInstallation>, NodeSpecific<SonarRunnerInstallation>
Represents a SonarQube Scanner installation in a system.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.tools.ToolInstallation
ToolInstallation.ToolConverter
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
ConstructorDescriptionSonarRunnerInstallation
(String name, String home, List<? extends ToolProperty<?>> properties) -
Method Summary
Modifier and TypeMethodDescriptionforEnvironment
(EnvVars environment) forNode
(Node node, TaskListener log) getExecutable
(Launcher launcher) Gets the executable path of this SonarQube Scanner on the given target system.Methods inherited from class hudson.tools.ToolInstallation
all, buildEnvVars, getHome, getName, getProperties, readResolve, toString, translate, translate, translateFor, writeReplace
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
Constructor Details
-
SonarRunnerInstallation
@DataBoundConstructor public SonarRunnerInstallation(String name, @CheckForNull String home, List<? extends ToolProperty<?>> properties)
-
-
Method Details
-
getExecutable
Gets the executable path of this SonarQube Scanner on the given target system.- Throws:
IOException
InterruptedException
-
forEnvironment
- Specified by:
forEnvironment
in interfaceEnvironmentSpecific<SonarRunnerInstallation>
-
forNode
public SonarRunnerInstallation forNode(Node node, TaskListener log) throws IOException, InterruptedException - Specified by:
forNode
in interfaceNodeSpecific<SonarRunnerInstallation>
- Throws:
IOException
InterruptedException
-