Package org.apache.commons.exec

# Class DaemonExecutor.Builder

java.lang.Object
org.apache.commons.exec.DefaultExecutor.Builder<DaemonExecutor.Builder>
org.apache.commons.exec.DaemonExecutor.Builder

All Implemented Interfaces:
  `Supplier<DefaultExecutor>`

Enclosing class:
  `DaemonExecutor`

public static class DaemonExecutor.Builder extends DefaultExecutor.Builder<DaemonExecutor.Builder>
Constructs a new builder.

Since:
  1.4.0

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Builder()`
  Constructs a new instance.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `DefaultExecutor`
  `get()`
  Creates a new configured DaemonExecutor.

  ### Methods inherited from class org.apache.commons.exec.DefaultExecutor.Builder

  `setExecuteStreamHandler, setThreadFactory, setWorkingDirectory, setWorkingDirectory`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### Builder

    public Builder()
    Constructs a new instance.

- ## Method Details

  - ### get

    public DefaultExecutor get()
    Creates a new configured DaemonExecutor.
    Specified by:
      `get` in interface `Supplier<DefaultExecutor>`
    Overrides:
      `get` in class `DefaultExecutor.Builder<DaemonExecutor.Builder>`
    Returns:
      a new configured DaemonExecutor.