Interface ContentStopEvent.Builder

  • Method Details

    • exitCode

      ContentStopEvent.Builder exitCode(Integer exitCode)

      The exit code returned by the executed command. An exit code of 0 indicates successful execution, -1 indicates a platform error, and values greater than 0 indicate command-specific errors.

      Parameters:
      exitCode - The exit code returned by the executed command. An exit code of 0 indicates successful execution, -1 indicates a platform error, and values greater than 0 indicate command-specific errors.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The final status of the command execution. Valid values are COMPLETED for successful completion or TIMED_OUT if the command exceeded the specified timeout.

      Parameters:
      status - The final status of the command execution. Valid values are COMPLETED for successful completion or TIMED_OUT if the command exceeded the specified timeout.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The final status of the command execution. Valid values are COMPLETED for successful completion or TIMED_OUT if the command exceeded the specified timeout.

      Parameters:
      status - The final status of the command execution. Valid values are COMPLETED for successful completion or TIMED_OUT if the command exceeded the specified timeout.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: