public class ReportingOptions extends Object
reporters is an array of reporter configurations| Constructor and Description | 
|---|
ReportingOptions()
Create a new empty options, with the default address out and no reporters. 
 | 
ReportingOptions(JsonObject json)
Create a new options from the specified json. 
 | 
ReportingOptions(ReportingOptions other)
Copy constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
ReportingOptions | 
addReporter(ReportOptions reportOptions)
Add a reporter to the current list. 
 | 
List<ReportOptions> | 
getReporters()  | 
ReportingOptions | 
setReporters(List<ReportOptions> reporters)
Replace the current list of reporters with a new one. 
 | 
JsonObject | 
toJson()  | 
public ReportingOptions()
public ReportingOptions(ReportingOptions other)
other - the options to copypublic ReportingOptions(JsonObject json)
json - the json to create frompublic List<ReportOptions> getReporters()
public ReportingOptions addReporter(ReportOptions reportOptions)
reportOptions - the options of the reporter to usepublic ReportingOptions setReporters(List<ReportOptions> reporters)
reporters - the new reporterspublic JsonObject toJson()
Copyright © 2020 Eclipse. All rights reserved.