public final class StashedFileParameterValue extends ParameterValue
name| Constructor and Description |
|---|
StashedFileParameterValue(String name,
org.apache.commons.fileupload.FileItem file) |
| Modifier and Type | Method and Description |
|---|---|
void |
buildEnvironment(Run<?,?> build,
EnvVars env) |
protected FilePath |
createTempFile(Run<?,?> build,
FilePath tempDir,
EnvVars env,
Launcher launcher,
TaskListener listener) |
void |
doDownload(Run<?,?> build,
org.kohsuke.stapler.StaplerResponse rsp) |
protected InputStream |
open(Run<?,?> build) |
buildEnvVars, buildEnvVars, createBuildWrapper, createVariableResolver, equals, getAssignedLabel, getDefinition, getDescription, getFormattedDescription, getName, getShortDescription, getValue, hashCode, isSensitive, setDescription@DataBoundConstructor public StashedFileParameterValue(String name, org.apache.commons.fileupload.FileItem file) throws IOException
IOExceptionpublic void buildEnvironment(Run<?,?> build, EnvVars env)
buildEnvironment in class ParameterValueprotected FilePath createTempFile(Run<?,?> build, FilePath tempDir, EnvVars env, Launcher launcher, TaskListener listener) throws IOException, InterruptedException
IOExceptionInterruptedExceptionprotected InputStream open(@CheckForNull Run<?,?> build) throws IOException, InterruptedException
IOExceptionInterruptedExceptionCopyright © 2016–2021. All rights reserved.