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>
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/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
ConstructorDescriptionStubInstaller
(String label, String message, String toolHome, boolean failTheBuild, boolean failOnSubstitution) -
Method Summary
Modifier and TypeMethodDescriptionboolean
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
-
Constructor Details
-
StubInstaller
-
-
Method Details
-
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
-