Class StashedFileParameterValue
java.lang.Object
hudson.model.ParameterValue
io.jenkins.plugins.file_parameters.AbstractFileParameterValue
io.jenkins.plugins.file_parameters.StashedFileParameterValue
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
Fields inherited from class hudson.model.ParameterValue
name
-
Constructor Summary
ConstructorDescriptionStashedFileParameterValue
(String name, org.apache.commons.fileupload.FileItem file) -
Method Summary
Modifier and TypeMethodDescriptionvoid
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 Details
-
StashedFileParameterValue
@DataBoundConstructor public StashedFileParameterValue(String name, org.apache.commons.fileupload.FileItem file) throws IOException - Throws:
IOException
-
-
Method Details
-
buildEnvironment
- 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
-