@Symbol(value="base64File") public final class Base64FileParameterValue extends ParameterValue
name| Constructor and Description |
|---|
Base64FileParameterValue(String name) |
| 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) |
Object |
getValue() |
protected InputStream |
open(Run<?,?> build) |
void |
setBase64(String base64) |
void |
setFile(org.apache.commons.fileupload.FileItem file) |
buildEnvVars, buildEnvVars, createBuildWrapper, createVariableResolver, equals, getAssignedLabel, getDefinition, getDescription, getFormattedDescription, getName, getShortDescription, hashCode, isSensitive, setDescription@DataBoundConstructor public Base64FileParameterValue(String name) throws IOException
IOException@DataBoundSetter
public void setFile(org.apache.commons.fileupload.FileItem file)
throws IOException
IOException@DataBoundSetter public void setBase64(String base64) throws IOException
IOExceptionpublic void buildEnvironment(Run<?,?> build, EnvVars env)
buildEnvironment in class ParameterValuepublic Object getValue()
getValue in class ParameterValueprotected InputStream open(Run<?,?> build) throws IOException
IOExceptionprotected FilePath createTempFile(@NonNull Run<?,?> build, @NonNull FilePath tempDir, @NonNull EnvVars env, @NonNull Launcher launcher, @NonNull TaskListener listener) throws IOException, InterruptedException
IOExceptionInterruptedExceptionCopyright © 2016–2021. All rights reserved.