public final class SimpleReport extends Object implements CheckReport
CheckReport, used for deserialization.| Constructor and Description |
|---|
SimpleReport(String checkName,
Collection<net.adamcin.oakpal.api.Violation> violations) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
static SimpleReport |
fromJson(@NotNull javax.json.JsonObject jsonReport) |
static SimpleReport |
generateReport(@NotNull ErrorListener reporter) |
static SimpleReport |
generateReport(@NotNull net.adamcin.oakpal.api.ProgressCheck reporter) |
String |
getCheckName()
The serialized display name of the package check that created the report.
|
@NotNull Collection<net.adamcin.oakpal.api.Violation> |
getViolations()
The reported violations.
|
int |
hashCode() |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitgetViolations, toJsonpublic SimpleReport(String checkName, Collection<net.adamcin.oakpal.api.Violation> violations)
public String getCheckName()
CheckReportgetCheckName in interface CheckReport@NotNull public @NotNull Collection<net.adamcin.oakpal.api.Violation> getViolations()
CheckReportgetViolations in interface CheckReportpublic static SimpleReport generateReport(@NotNull @NotNull net.adamcin.oakpal.api.ProgressCheck reporter)
public static SimpleReport generateReport(@NotNull @NotNull ErrorListener reporter)
public static SimpleReport fromJson(@NotNull @NotNull javax.json.JsonObject jsonReport)
Copyright © 2017–2020. All rights reserved.