Class SarifLog
- java.lang.Object
-
- net.sourceforge.pmd.renderers.internal.sarif.SarifLog
-
public class SarifLog extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSarifLog.ArtifactLocationSpecifies the location of an artifact.static classSarifLog.AssociatedRuleA associated rule to the toolConfigurationNotification.static classSarifLog.ComponentA component, such as a plug-in or the driver, of the analysis tool that was run.static classSarifLog.ExceptionA exception information object, for the tool runtime errors.static classSarifLog.InvocationAn invocation component to specify tool invocation details/errors.static classSarifLog.LocationA location within a programming artifact.static classSarifLog.MessageEncapsulates a message intended to be read by the end user.static classSarifLog.MultiformatMessageA message string or message format string rendered in multiple formats.static classSarifLog.PhysicalLocationA physical location relevant to a result.static classSarifLog.PropertyBagKey/value pairs that provide additional information about the object.static classSarifLog.RegionA region within an artifact where a result was detected.static classSarifLog.ReportingDescriptorMetadata that describes a specific report produced by the tool, as part of the analysis it provides or its runtime reporting.static classSarifLog.ResultA result produced by an analysis tool.static classSarifLog.RunDescribes a single run of an analysis tool, and contains the reported output of that run.static classSarifLog.SarifLogBuilderstatic classSarifLog.ToolThe analysis tool that was run.static classSarifLog.ToolConfigurationNotificationAn invocation property to specify tool configuration errors.static classSarifLog.ToolExecutionNotificationAn invocation property to specify tool runtime errors.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SarifLog.SarifLogBuilderbuilder()protected booleancanEqual(Object other)booleanequals(Object o)List<SarifLog.Run>getRuns()The set of runs contained in this log file.StringgetSchema()The URI of the JSON schema corresponding to the version.StringgetVersion()The SARIF format version of this log file.inthashCode()SarifLogsetRuns(List<SarifLog.Run> runs)The set of runs contained in this log file.SarifLogsetSchema(String schema)The URI of the JSON schema corresponding to the version.SarifLogsetVersion(String version)The SARIF format version of this log file.StringtoString()
-
-
-
Method Detail
-
builder
public static SarifLog.SarifLogBuilder builder()
-
getSchema
public String getSchema()
The URI of the JSON schema corresponding to the version.
-
getVersion
public String getVersion()
The SARIF format version of this log file.
-
getRuns
public List<SarifLog.Run> getRuns()
The set of runs contained in this log file.
-
setSchema
public SarifLog setSchema(String schema)
The URI of the JSON schema corresponding to the version.- Returns:
this.
-
setVersion
public SarifLog setVersion(String version)
The SARIF format version of this log file.- Returns:
this.
-
setRuns
public SarifLog setRuns(List<SarifLog.Run> runs)
The set of runs contained in this log file.- Returns:
this.
-
canEqual
protected boolean canEqual(Object other)
-
-