java.lang.Object
se.bjurr.violations.lib.model.generated.sarif.SarifSchema

public class SarifSchema extends Object
Static Analysis Results Format (SARIF) Version 2.1.0 JSON Schema

Static Analysis Results Format (SARIF) Version 2.1.0 JSON Schema: a standard format for the output of static analysis tools.

  • Constructor Details

    • SarifSchema

      public SarifSchema()
  • Method Details

    • get$schema

      public URI get$schema()
      The URI of the JSON schema corresponding to the version.
    • set$schema

      public void set$schema(URI $schema)
      The URI of the JSON schema corresponding to the version.
    • with$schema

      public SarifSchema with$schema(URI $schema)
    • getVersion

      public Object getVersion()
      The SARIF format version of this log file. (Required)
    • setVersion

      public void setVersion(Object version)
      The SARIF format version of this log file. (Required)
    • withVersion

      public SarifSchema withVersion(Object version)
    • getRuns

      public List<Run> getRuns()
      The set of runs contained in this log file. (Required)
    • setRuns

      public void setRuns(List<Run> runs)
      The set of runs contained in this log file. (Required)
    • withRuns

      public SarifSchema withRuns(List<Run> runs)
    • getInlineExternalProperties

      public Set<ExternalProperties> getInlineExternalProperties()
      References to external property files that share data between runs.
    • setInlineExternalProperties

      public void setInlineExternalProperties(Set<ExternalProperties> inlineExternalProperties)
      References to external property files that share data between runs.
    • withInlineExternalProperties

      public SarifSchema withInlineExternalProperties(Set<ExternalProperties> inlineExternalProperties)
    • getProperties

      public PropertyBag getProperties()
      Key/value pairs that provide additional information about the object.
    • setProperties

      public void setProperties(PropertyBag properties)
      Key/value pairs that provide additional information about the object.
    • withProperties

      public SarifSchema withProperties(PropertyBag properties)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object