Class StubInstaller
- java.lang.Object
-
- hudson.tools.ToolInstaller
-
- com.synopsys.arc.jenkinsci.plugins.extratoolinstallers.installers.AbstractExtraToolInstaller
-
- com.synopsys.arc.jenkinsci.plugins.extratoolinstallers.installers.StubInstaller
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<ToolInstaller>
public class StubInstaller extends AbstractExtraToolInstaller
Stub installer, which doesn't perform installation. Can be used in order to notify users about unsupported platform (and optionally fail the build)- Since:
- 0.2
- Author:
- Oleg Nenashev
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
StubInstaller.DescriptorImpl
-
Nested classes/interfaces inherited from class hudson.tools.ToolInstaller
ToolInstaller.ToolInstallerEntry, ToolInstaller.ToolInstallerList
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Field Summary
-
Fields inherited from class hudson.tools.ToolInstaller
tool
-
-
Constructor Summary
Constructors Constructor Description StubInstaller(String label, String message, String toolHome, boolean failTheBuild, boolean failOnSubstitution)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getMessage()
boolean
isFailTheBuild()
FilePath
performInstallation(ToolInstallation tool, Node node, TaskListener log)
-
Methods inherited from class com.synopsys.arc.jenkinsci.plugins.extratoolinstallers.installers.AbstractExtraToolInstaller
getToolHome, isFailOnSubstitution, substituteNodeVariablesValidated
-
Methods inherited from class hudson.tools.ToolInstaller
appliesTo, getDescriptor, getLabel, preferredLocation, setTool
-
-
-
-
Method Detail
-
getMessage
public String getMessage()
-
isFailTheBuild
public boolean isFailTheBuild()
-
performInstallation
public FilePath performInstallation(ToolInstallation tool, Node node, TaskListener log) throws IOException, InterruptedException
- Specified by:
performInstallation
in classToolInstaller
- Throws:
IOException
InterruptedException
-
-