public class ReportOptions extends Object
to, an address at and an optional format.| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_FORMAT
The
simple format is the default format value. |
static String |
DEFAULT_TO
The
console is the default to value. |
| Constructor and Description |
|---|
ReportOptions() |
ReportOptions(JsonObject json) |
ReportOptions(ReportOptions other) |
| Modifier and Type | Method and Description |
|---|---|
String |
getFormat() |
String |
getTo() |
ReportOptions |
setFormat(String format)
Set the current reporter format.
|
ReportOptions |
setTo(String to)
Set the current reporter name.
|
JsonObject |
toJson() |
public static final String DEFAULT_TO
console is the default to value.public static final String DEFAULT_FORMAT
simple format is the default format value.public ReportOptions()
public ReportOptions(ReportOptions other)
public ReportOptions(JsonObject json)
public String getTo()
public ReportOptions setTo(String to)
to - the new reporter namepublic String getFormat()
public ReportOptions setFormat(String format)
format - the formatpublic JsonObject toJson()
Copyright © 2015. All rights reserved.