Class SarifLog.SarifLogBuilder
- java.lang.Object
-
- net.sourceforge.pmd.renderers.internal.sarif.SarifLog.SarifLogBuilder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SarifLog
build()
SarifLog.SarifLogBuilder
runs(List<SarifLog.Run> runs)
The set of runs contained in this log file.SarifLog.SarifLogBuilder
schema(String schema)
The URI of the JSON schema corresponding to the version.String
toString()
SarifLog.SarifLogBuilder
version(String version)
The SARIF format version of this log file.
-
-
-
Method Detail
-
schema
public SarifLog.SarifLogBuilder schema(String schema)
The URI of the JSON schema corresponding to the version.- Returns:
this
.
-
version
public SarifLog.SarifLogBuilder version(String version)
The SARIF format version of this log file.- Returns:
this
.
-
runs
public SarifLog.SarifLogBuilder runs(List<SarifLog.Run> runs)
The set of runs contained in this log file.- Returns:
this
.
-
build
public SarifLog build()
-
-