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

public class Tool extends Object
The analysis tool that was run.
  • Constructor Details

    • Tool

      public Tool()
  • Method Details

    • getDriver

      public ToolComponent getDriver()
      A component, such as a plug-in or the driver, of the analysis tool that was run. (Required)
    • setDriver

      public void setDriver(ToolComponent driver)
      A component, such as a plug-in or the driver, of the analysis tool that was run. (Required)
    • withDriver

      public Tool withDriver(ToolComponent driver)
    • getExtensions

      public Set<ToolComponent> getExtensions()
      Tool extensions that contributed to or reconfigured the analysis tool that was run.
    • setExtensions

      public void setExtensions(Set<ToolComponent> extensions)
      Tool extensions that contributed to or reconfigured the analysis tool that was run.
    • withExtensions

      public Tool withExtensions(Set<ToolComponent> extensions)
    • 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 Tool 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