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 SarifLogbuild()SarifLog.SarifLogBuilderruns(List<SarifLog.Run> runs)The set of runs contained in this log file.SarifLog.SarifLogBuilderschema(String schema)The URI of the JSON schema corresponding to the version.StringtoString()SarifLog.SarifLogBuilderversion(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()
-
-