Class StashedFileParameterValue
- java.lang.Object
-
- hudson.model.ParameterValue
-
- io.jenkins.plugins.file_parameters.AbstractFileParameterValue
-
- io.jenkins.plugins.file_parameters.StashedFileParameterValue
-
- All Implemented Interfaces:
Serializable
public final class StashedFileParameterValue extends AbstractFileParameterValue
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class hudson.model.ParameterValue
name
-
-
Constructor Summary
Constructors Constructor Description StashedFileParameterValue(String name, org.apache.commons.fileupload.FileItem file)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
buildEnvironment(Run<?,?> build, EnvVars env)
protected FilePath
createTempFile(Run<?,?> build, FilePath tempDir, EnvVars env, Launcher launcher, TaskListener listener)
-
Methods inherited from class io.jenkins.plugins.file_parameters.AbstractFileParameterValue
doDownload, getFilename, open
-
Methods inherited from class hudson.model.ParameterValue
buildEnvVars, buildEnvVars, createBuildWrapper, createVariableResolver, equals, getAssignedLabel, getDefinition, getDescription, getFormattedDescription, getName, getShortDescription, getValue, hashCode, isSensitive, setDescription
-
-
-
-
Constructor Detail
-
StashedFileParameterValue
@DataBoundConstructor public StashedFileParameterValue(String name, org.apache.commons.fileupload.FileItem file) throws IOException
- Throws:
IOException
-
-
Method Detail
-
buildEnvironment
public void buildEnvironment(Run<?,?> build, EnvVars env)
- Overrides:
buildEnvironment
in classAbstractFileParameterValue
-
createTempFile
protected FilePath createTempFile(Run<?,?> build, FilePath tempDir, EnvVars env, Launcher launcher, TaskListener listener) throws IOException, InterruptedException
- Overrides:
createTempFile
in classAbstractFileParameterValue
- Throws:
IOException
InterruptedException
-
-