Class Replacement
java.lang.Object
se.bjurr.violations.lib.model.generated.sarif.Replacement
The replacement of a single region of an artifact.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanA region within an artifact where a result was detected.Represents the contents of an artifact.Key/value pairs that provide additional information about the object.inthashCode()voidsetDeletedRegion(Region deletedRegion) A region within an artifact where a result was detected.voidsetInsertedContent(ArtifactContent insertedContent) Represents the contents of an artifact.voidsetProperties(PropertyBag properties) Key/value pairs that provide additional information about the object.toString()withDeletedRegion(Region deletedRegion) withInsertedContent(ArtifactContent insertedContent) withProperties(PropertyBag properties)
-
Constructor Details
-
Replacement
public Replacement()
-
-
Method Details
-
getDeletedRegion
A region within an artifact where a result was detected. (Required) -
setDeletedRegion
A region within an artifact where a result was detected. (Required) -
withDeletedRegion
-
getInsertedContent
Represents the contents of an artifact. -
setInsertedContent
Represents the contents of an artifact. -
withInsertedContent
-
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
-