Package org.jenkinsci.plugins.envinject
Class EnvInjectBuildWrapper
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<BuildWrapper>
-
- hudson.tasks.BuildWrapper
-
- org.jenkinsci.plugins.envinject.EnvInjectBuildWrapper
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<BuildWrapper>
,Serializable
public class EnvInjectBuildWrapper extends BuildWrapper implements Serializable
- Author:
- Gregory Boissinot
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
EnvInjectBuildWrapper.DescriptorImpl
-
Nested classes/interfaces inherited from class hudson.tasks.BuildWrapper
BuildWrapper.Environment
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description EnvInjectBuildWrapper()
Deprecated.Use constructor with parameterEnvInjectBuildWrapper(EnvInjectJobPropertyInfo info)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description OutputStream
decorateLogger(AbstractBuild build, OutputStream logger)
EnvInjectJobPropertyInfo
getInfo()
void
setInfo(EnvInjectJobPropertyInfo info)
Deprecated.Use constructor with the parameterBuildWrapper.Environment
setUp(AbstractBuild build, Launcher launcher, BuildListener listener)
-
Methods inherited from class hudson.tasks.BuildWrapper
all, decorateLauncher, getProjectAction, getProjectActions, makeBuildVariables, makeSensitiveBuildVariables, preCheckout, setUp
-
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
-
-
-
Constructor Detail
-
EnvInjectBuildWrapper
@DataBoundConstructor public EnvInjectBuildWrapper(@NonNull EnvInjectJobPropertyInfo info)
-
EnvInjectBuildWrapper
@Deprecated public EnvInjectBuildWrapper()
Deprecated.Use constructor with parameter
-
-
Method Detail
-
setInfo
@Deprecated public void setInfo(@NonNull EnvInjectJobPropertyInfo info)
Deprecated.Use constructor with the parameter
-
getInfo
@NonNull public EnvInjectJobPropertyInfo getInfo()
-
decorateLogger
public OutputStream decorateLogger(AbstractBuild build, OutputStream logger) throws IOException, InterruptedException, Run.RunnerAbortedException
- Overrides:
decorateLogger
in classBuildWrapper
- Throws:
IOException
InterruptedException
Run.RunnerAbortedException
-
setUp
public BuildWrapper.Environment setUp(@NonNull AbstractBuild build, @NonNull Launcher launcher, @NonNull BuildListener listener) throws IOException, InterruptedException
- Overrides:
setUp
in classBuildWrapper
- Throws:
IOException
InterruptedException
-
-