Interface ExecCapability.Builder

  • Method Details

    • command

      ExecCapability.Builder command(String command)

      The command to execute.

      Parameters:
      command - The command to execute.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • args

      Arguments passed to the command.

      Parameters:
      args - Arguments passed to the command.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • args

      Arguments passed to the command.

      Parameters:
      args - Arguments passed to the command.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • timeoutInSeconds

      ExecCapability.Builder timeoutInSeconds(Integer timeoutInSeconds)

      Maximum time in seconds the command is allowed to run before being terminated.

      Parameters:
      timeoutInSeconds - Maximum time in seconds the command is allowed to run before being terminated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.