Class Suppression
java.lang.Object
se.bjurr.violations.lib.model.generated.sarif.Suppression
A suppression that is relevant to a result.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumA string that indicates where the suppression is persisted.static enumA string that indicates the state of the suppression. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetGuid()A stable, unique identifer for the suprression in the form of a GUID.A string representing the justification for the suppression.getKind()A string that indicates where the suppression is persisted.A location within a programming artifact.Key/value pairs that provide additional information about the object.getState()A string that indicates the state of the suppression.inthashCode()voidA stable, unique identifer for the suprression in the form of a GUID.voidsetJustification(String justification) A string representing the justification for the suppression.voidsetKind(Suppression.Kind kind) A string that indicates where the suppression is persisted.voidsetLocation(Location location) A location within a programming artifact.voidsetProperties(PropertyBag properties) Key/value pairs that provide additional information about the object.voidsetState(Suppression.State state) A string that indicates the state of the suppression.toString()withJustification(String justification) withKind(Suppression.Kind kind) withLocation(Location location) withProperties(PropertyBag properties) withState(Suppression.State state)
-
Constructor Details
-
Suppression
public Suppression()
-
-
Method Details
-
getGuid
A stable, unique identifer for the suprression in the form of a GUID. -
setGuid
A stable, unique identifer for the suprression in the form of a GUID. -
withGuid
-
getKind
A string that indicates where the suppression is persisted. (Required) -
setKind
A string that indicates where the suppression is persisted. (Required) -
withKind
-
getState
A string that indicates the state of the suppression. -
setState
A string that indicates the state of the suppression. -
withState
-
getJustification
A string representing the justification for the suppression. -
setJustification
A string representing the justification for the suppression. -
withJustification
-
getLocation
A location within a programming artifact. -
setLocation
A location within a programming artifact. -
withLocation
-
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
-