Class SarifLog.ArtifactLocation

  • Enclosing class:
    SarifLog

    public static class SarifLog.ArtifactLocation
    extends Object
    Specifies the location of an artifact.
    • Method Detail

      • getUri

        public String getUri()
        A string containing a valid relative or absolute 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.
      • getIndex

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

        public SarifLog.ArtifactLocation setUriBaseId​(String uriBaseId)
        A string which indirectly specifies the absolute URI with respect to which a relative URI in the "uri" property is interpreted.
        Returns:
        this.
      • setIndex

        public SarifLog.ArtifactLocation setIndex​(Integer index)
        The index within the run artifacts array of the artifact object associated with the artifact location.
        Returns:
        this.
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object