Class ReportOptions

java.lang.Object
io.vertx.ext.unit.report.ReportOptions

public class ReportOptions extends Object
Configures a reporter consisting in a name to, an address at and an optional format.
Author:
Julien Viet
  • Field Details

  • Constructor Details

    • ReportOptions

      public ReportOptions()
    • ReportOptions

      public ReportOptions(ReportOptions other)
    • ReportOptions

      public ReportOptions(JsonObject json)
  • Method Details

    • getTo

      public String getTo()
      Returns:
      the current reporter name
    • setTo

      public ReportOptions setTo(String to)
      Set the current reporter name.
      Parameters:
      to - the new reporter name
      Returns:
      a reference to this, so the API can be used fluently
    • getFormat

      public String getFormat()
      Returns:
      the current reporter format
    • setFormat

      public ReportOptions setFormat(String format)
      Set the current reporter format.
      Parameters:
      format - the format
      Returns:
      a reference to this, so the API can be used fluently a
    • toJson

      public JsonObject toJson()