Class Attachment
java.lang.Object
se.bjurr.violations.lib.model.generated.sarif.Attachment
An artifact relevant to a result.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanSpecifies the location of an artifact.Encapsulates a message intended to be read by the end user.Key/value pairs that provide additional information about the object.An array of rectangles specifying areas of interest within the image.An array of regions of interest within the attachment.inthashCode()voidsetArtifactLocation(ArtifactLocation artifactLocation) Specifies the location of an artifact.voidsetDescription(Message description) Encapsulates a message intended to be read by the end user.voidsetProperties(PropertyBag properties) Key/value pairs that provide additional information about the object.voidsetRectangles(Set<Rectangle> rectangles) An array of rectangles specifying areas of interest within the image.voidsetRegions(Set<Region> regions) An array of regions of interest within the attachment.toString()withArtifactLocation(ArtifactLocation artifactLocation) withDescription(Message description) withProperties(PropertyBag properties) withRectangles(Set<Rectangle> rectangles) withRegions(Set<Region> regions)
-
Constructor Details
-
Attachment
public Attachment()
-
-
Method Details
-
getDescription
Encapsulates a message intended to be read by the end user. -
setDescription
Encapsulates a message intended to be read by the end user. -
withDescription
-
getArtifactLocation
Specifies the location of an artifact. (Required) -
setArtifactLocation
Specifies the location of an artifact. (Required) -
withArtifactLocation
-
getRegions
An array of regions of interest within the attachment. -
setRegions
An array of regions of interest within the attachment. -
withRegions
-
getRectangles
An array of rectangles specifying areas of interest within the image. -
setRectangles
An array of rectangles specifying areas of interest within the image. -
withRectangles
-
getProperties
Key/value pairs that provide additional information about the object. -
setProperties
Key/value pairs that provide additional information about the object. -
withProperties
-
toString
-
hashCode
public int hashCode() -
equals
-