Class ArtifactLocation

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

public class ArtifactLocation extends Object
Specifies the location of an artifact.
  • Constructor Details

    • ArtifactLocation

      public ArtifactLocation()
  • Method Details

    • getUri

      public String getUri()
      A string containing a valid relative or absolute URI.
    • setUri

      public void setUri(String uri)
      A string containing a valid relative or absolute URI.
    • withUri

      public ArtifactLocation withUri(String uri)
    • getUriBaseId

      public String getUriBaseId()
      A string which indirectly specifies the absolute URI with respect to which a relative URI in the "uri" property is interpreted.
    • setUriBaseId

      public void setUriBaseId(String uriBaseId)
      A string which indirectly specifies the absolute URI with respect to which a relative URI in the "uri" property is interpreted.
    • withUriBaseId

      public ArtifactLocation withUriBaseId(String uriBaseId)
    • getIndex

      public Integer getIndex()
      The index within the run artifacts array of the artifact object associated with the artifact location.
    • setIndex

      public void setIndex(Integer index)
      The index within the run artifacts array of the artifact object associated with the artifact location.
    • withIndex

      public ArtifactLocation withIndex(Integer index)
    • getDescription

      public Message getDescription()
      Encapsulates a message intended to be read by the end user.
    • setDescription

      public void setDescription(Message description)
      Encapsulates a message intended to be read by the end user.
    • withDescription

      public ArtifactLocation withDescription(Message description)
    • 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 ArtifactLocation 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