Class ToolComponentReference

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

public class ToolComponentReference extends Object
Identifies a particular toolComponent object, either the driver or an extension.
  • Constructor Details

    • ToolComponentReference

      public ToolComponentReference()
  • Method Details

    • getName

      public String getName()
      The 'name' property of the referenced toolComponent.
    • setName

      public void setName(String name)
      The 'name' property of the referenced toolComponent.
    • withName

      public ToolComponentReference withName(String name)
    • getIndex

      public Integer getIndex()
      An index into the referenced toolComponent in tool.extensions.
    • setIndex

      public void setIndex(Integer index)
      An index into the referenced toolComponent in tool.extensions.
    • withIndex

      public ToolComponentReference withIndex(Integer index)
    • getGuid

      public String getGuid()
      The 'guid' property of the referenced toolComponent.
    • setGuid

      public void setGuid(String guid)
      The 'guid' property of the referenced toolComponent.
    • withGuid

      public ToolComponentReference withGuid(String guid)
    • 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 ToolComponentReference 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