Class Fix
java.lang.Object
se.bjurr.violations.lib.model.generated.sarif.Fix
A proposed fix for the problem represented by a result object. A fix specifies a set of artifacts to modify. For each artifact, it specifies a set of bytes to remove, and provides a set of new bytes to replace them.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanOne or more artifact changes that comprise a fix for a result.Encapsulates a message intended to be read by the end user.Key/value pairs that provide additional information about the object.inthashCode()voidsetArtifactChanges(Set<ArtifactChange> artifactChanges) One or more artifact changes that comprise a fix for a result.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.toString()withArtifactChanges(Set<ArtifactChange> artifactChanges) withDescription(Message description) withProperties(PropertyBag properties)
-
Constructor Details
-
Fix
public Fix()
-
-
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
-
getArtifactChanges
One or more artifact changes that comprise a fix for a result. (Required) -
setArtifactChanges
One or more artifact changes that comprise a fix for a result. (Required) -
withArtifactChanges
-
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
-