public class CustomToolInstallWrapper extends BuildWrapper
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
CustomToolInstallWrapper.DescriptorImpl  | 
static class  | 
CustomToolInstallWrapper.SelectedTool
Ceremony needed to satisfy NoStaplerConstructionException:
 "There's no @DataBoundConstructor on any constructor of class java.lang.String" 
 | 
BuildWrapper.EnvironmentExtensionPoint.LegacyInstancesAreScopedToHudson| Modifier and Type | Field and Description | 
|---|---|
static CustomToolInstallWrapper.DescriptorImpl | 
DESCRIPTOR  | 
| Constructor and Description | 
|---|
CustomToolInstallWrapper(CustomToolInstallWrapper.SelectedTool[] selectedTools,
                        MulticonfigWrapperOptions multiconfigOptions,
                        boolean convertHomesToUppercase)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
checkVersions(CustomTool tool,
             BuildListener listener,
             EnvVars buildEnv,
             Node node,
             EnvVars target)
Checks versions and modify build environment if required. 
 | 
void | 
CheckVersions(CustomTool tool,
             BuildListener listener,
             EnvVars buildEnv,
             Node node,
             EnvVars target)
Deprecated. 
 
The method is deprecated. It will be removed in future versions. 
 | 
Launcher | 
decorateLauncher(AbstractBuild build,
                Launcher launcher,
                BuildListener listener)
The heart of the beast. 
 | 
Descriptor<BuildWrapper> | 
getDescriptor()  | 
MulticonfigWrapperOptions | 
getMulticonfigOptions()
Gets multi-configuration job parameters. 
 | 
CustomToolInstallWrapper.SelectedTool[] | 
getSelectedTools()  | 
boolean | 
hasMulticonfigOptions()
Check if build has specific multi-configuration options 
 | 
boolean | 
isConvertHomesToUppercase()  | 
BuildWrapper.Environment | 
setUp(AbstractBuild build,
     Launcher launcher,
     BuildListener listener)  | 
all, decorateLogger, getProjectAction, getProjectActions, makeBuildVariables, makeSensitiveBuildVariables, preCheckout, setUp@Extension public static final CustomToolInstallWrapper.DescriptorImpl DESCRIPTOR
@DataBoundConstructor public CustomToolInstallWrapper(CustomToolInstallWrapper.SelectedTool[] selectedTools, MulticonfigWrapperOptions multiconfigOptions, boolean convertHomesToUppercase)
public boolean isConvertHomesToUppercase()
public BuildWrapper.Environment setUp(AbstractBuild build, Launcher launcher, BuildListener listener) throws IOException, InterruptedException
setUp in class BuildWrapperIOExceptionInterruptedException@Nonnull public CustomToolInstallWrapper.SelectedTool[] getSelectedTools()
public Launcher decorateLauncher(AbstractBuild build, Launcher launcher, BuildListener listener) throws IOException, InterruptedException, Run.RunnerAbortedException
decorateLauncher in class BuildWrapperIOExceptionInterruptedExceptionRun.RunnerAbortedExceptionpublic void CheckVersions(CustomTool tool, BuildListener listener, EnvVars buildEnv, Node node, EnvVars target) throws CustomToolException
CustomToolExceptionpublic void checkVersions(@Nonnull CustomTool tool, @Nonnull BuildListener listener, @Nonnull EnvVars buildEnv, @Nonnull Node node, @Nonnull EnvVars target) throws CustomToolException
tool - Custom Toollistener - Build ListenerbuildEnv - Build Environment (can be modified)node - Target Nodetarget - Build Internal Environment (can be modified)CustomToolExceptionpublic Descriptor<BuildWrapper> getDescriptor()
getDescriptor in interface Describable<BuildWrapper>getDescriptor in class AbstractDescribableImpl<BuildWrapper>public boolean hasMulticonfigOptions()
@Nonnull public MulticonfigWrapperOptions getMulticonfigOptions()
Copyright © 2016–2021. All rights reserved.