Class ReportOptions


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

      • ReportOptions

        public ReportOptions()
      • ReportOptions

        public ReportOptions​(JsonObject json)
    • Method Detail

      • 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