Package hudson

Class Launcher.ProcStarter

java.lang.Object
hudson.Launcher.ProcStarter
Enclosing class:
Launcher

public final class Launcher.ProcStarter extends Object
Builder pattern for configuring a process to launch.
Since:
1.311
  • Field Details

    • commands

      protected List<String> commands
    • masks

      @CheckForNull protected boolean[] masks
    • pwd

      @CheckForNull protected FilePath pwd
    • stdout

      @CheckForNull protected OutputStream stdout
    • stderr

      @CheckForNull protected OutputStream stderr
    • stdin

      @CheckForNull protected InputStream stdin
    • envs

      @CheckForNull protected String[] envs
    • envVarsFilterableBuilder

      @CheckForNull @Restricted(org.kohsuke.accmod.restrictions.Beta.class) protected EnvVarsFilterableBuilder envVarsFilterableBuilder
      Represent the build step, either from legacy build process or from pipeline one
    • reverseStdin

      protected boolean reverseStdin
      True to reverse the I/O direction. For example, if reverseStdout==true, then we expose InputStream from Proc and expect the client to read from it, whereas normally we take OutputStream via stdout(OutputStream) and feed stdout into that output.
      Since:
      1.399
    • reverseStdout

      protected boolean reverseStdout
      True to reverse the I/O direction. For example, if reverseStdout==true, then we expose InputStream from Proc and expect the client to read from it, whereas normally we take OutputStream via stdout(OutputStream) and feed stdout into that output.
      Since:
      1.399
    • reverseStderr

      protected boolean reverseStderr
      True to reverse the I/O direction. For example, if reverseStdout==true, then we expose InputStream from Proc and expect the client to read from it, whereas normally we take OutputStream via stdout(OutputStream) and feed stdout into that output.
      Since:
      1.399
  • Constructor Details

    • ProcStarter

      public ProcStarter()
  • Method Details