public abstract class AbstractFileParameterValue extends ParameterValue
open(hudson.model.Run<?, ?>) and/or createTempFile(hudson.model.Run<?, ?>, hudson.FilePath, hudson.EnvVars, hudson.Launcher, hudson.model.TaskListener).| Modifier and Type | Field and Description |
|---|---|
String |
filename |
name| Modifier | Constructor and Description |
|---|---|
protected |
AbstractFileParameterValue(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) |
protected InputStream |
open(Run<?,?> build) |
buildEnvVars, buildEnvVars, createBuildWrapper, createVariableResolver, equals, getAssignedLabel, getDefinition, getDescription, getFormattedDescription, getName, getShortDescription, getValue, hashCode, isSensitive, setDescription@CheckForNull public String filename
protected AbstractFileParameterValue(String name)
protected InputStream open(@CheckForNull Run<?,?> build) throws IOException, InterruptedException
IOExceptionInterruptedExceptionprotected FilePath createTempFile(@NonNull Run<?,?> build, @NonNull FilePath tempDir, @NonNull EnvVars env, @NonNull Launcher launcher, @NonNull TaskListener listener) throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic void doDownload(@AncestorInPath
Run<?,?> build,
org.kohsuke.stapler.StaplerResponse rsp)
throws Exception
Exceptionpublic void buildEnvironment(Run<?,?> build, EnvVars env)
buildEnvironment in class ParameterValueCopyright © 2016–2022. All rights reserved.