Class FileParameterWrapper
java.lang.Object
hudson.model.AbstractDescribableImpl<BuildWrapper>
hudson.tasks.BuildWrapper
jenkins.tasks.SimpleBuildWrapper
io.jenkins.plugins.file_parameters.FileParameterWrapper
- All Implemented Interfaces:
ExtensionPoint
,Describable<BuildWrapper>
Saves a file parameter to a temporary local file.
-
Nested Class Summary
Nested classes/interfaces inherited from class jenkins.tasks.SimpleBuildWrapper
SimpleBuildWrapper.Context, SimpleBuildWrapper.Disposer
Nested classes/interfaces inherited from class hudson.tasks.BuildWrapper
BuildWrapper.Environment
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
void
setAllowNoFile
(boolean allowNoFile) void
setUp
(SimpleBuildWrapper.Context context, Run<?, ?> build, FilePath workspace, Launcher launcher, TaskListener listener, EnvVars initialEnvironment) Methods inherited from class jenkins.tasks.SimpleBuildWrapper
createContext, createLoggerDecorator, decorateLauncher, decorateLogger, getProjectActions, makeBuildVariables, makeSensitiveBuildVariables, preCheckout, requiresWorkspace, runPreCheckout, setUp, setUp
Methods inherited from class hudson.tasks.BuildWrapper
all, getProjectAction, setUp
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
Field Details
-
name
-
-
Constructor Details
-
FileParameterWrapper
-
-
Method Details
-
isAllowNoFile
public boolean isAllowNoFile() -
setAllowNoFile
@DataBoundSetter public void setAllowNoFile(boolean allowNoFile) -
setUp
public void setUp(SimpleBuildWrapper.Context context, Run<?, ?> build, FilePath workspace, Launcher launcher, TaskListener listener, EnvVars initialEnvironment) throws IOException, InterruptedException- Overrides:
setUp
in classSimpleBuildWrapper
- Throws:
IOException
InterruptedException
-