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:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class hudson.model.ParameterValue
name -
Constructor Summary
ConstructorsConstructorDescriptionStashedFileParameterValue(String name, org.apache.commons.fileupload2.core.FileItem file) -
Method Summary
Modifier and TypeMethodDescriptionvoidbuildEnvironment(Run<?, ?> build, EnvVars env) protected FilePathcreateTempFile(Run<?, ?> build, FilePath tempDir, EnvVars env, Launcher launcher, TaskListener listener) Methods inherited from class io.jenkins.plugins.file_parameters.AbstractFileParameterValue
doDownload, getFilename, openMethods 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.fileupload2.core.FileItem file) throws IOException - Throws:
IOException
-
-
Method Details
-
buildEnvironment
- Overrides:
buildEnvironmentin classAbstractFileParameterValue
-
createTempFile
protected FilePath createTempFile(Run<?, ?> build, FilePath tempDir, EnvVars env, Launcher launcher, TaskListener listener) throws IOException, InterruptedException- Overrides:
createTempFilein classAbstractFileParameterValue- Throws:
IOExceptionInterruptedException
-