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

public class Conversion extends Object
Describes how a converter transformed the output of a static analysis tool from the analysis tool's native output format into the SARIF format.
  • Constructor Details

    • Conversion

      public Conversion()
  • Method Details

    • getTool

      public Tool getTool()
      The analysis tool that was run. (Required)
    • setTool

      public void setTool(Tool tool)
      The analysis tool that was run. (Required)
    • withTool

      public Conversion withTool(Tool tool)
    • getInvocation

      public Invocation getInvocation()
      The runtime environment of the analysis tool run.
    • setInvocation

      public void setInvocation(Invocation invocation)
      The runtime environment of the analysis tool run.
    • withInvocation

      public Conversion withInvocation(Invocation invocation)
    • getAnalysisToolLogFiles

      public Set<ArtifactLocation> getAnalysisToolLogFiles()
      The locations of the analysis tool's per-run log files.
    • setAnalysisToolLogFiles

      public void setAnalysisToolLogFiles(Set<ArtifactLocation> analysisToolLogFiles)
      The locations of the analysis tool's per-run log files.
    • withAnalysisToolLogFiles

      public Conversion withAnalysisToolLogFiles(Set<ArtifactLocation> analysisToolLogFiles)
    • 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 Conversion 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