java.lang.Object
se.bjurr.violations.lib.model.generated.sarif.Suppression

public class Suppression extends Object
A suppression that is relevant to a result.
  • Constructor Details

    • Suppression

      public Suppression()
  • Method Details

    • getGuid

      public String getGuid()
      A stable, unique identifer for the suprression in the form of a GUID.
    • setGuid

      public void setGuid(String guid)
      A stable, unique identifer for the suprression in the form of a GUID.
    • withGuid

      public Suppression withGuid(String guid)
    • getKind

      public Suppression.Kind getKind()
      A string that indicates where the suppression is persisted. (Required)
    • setKind

      public void setKind(Suppression.Kind kind)
      A string that indicates where the suppression is persisted. (Required)
    • withKind

      public Suppression withKind(Suppression.Kind kind)
    • getState

      public Suppression.State getState()
      A string that indicates the state of the suppression.
    • setState

      public void setState(Suppression.State state)
      A string that indicates the state of the suppression.
    • withState

      public Suppression withState(Suppression.State state)
    • getJustification

      public String getJustification()
      A string representing the justification for the suppression.
    • setJustification

      public void setJustification(String justification)
      A string representing the justification for the suppression.
    • withJustification

      public Suppression withJustification(String justification)
    • getLocation

      public Location getLocation()
      A location within a programming artifact.
    • setLocation

      public void setLocation(Location location)
      A location within a programming artifact.
    • withLocation

      public Suppression withLocation(Location location)
    • getProperties

      public PropertyBag getProperties()
      Key/value pairs that provide additional information about the object.
    • setProperties

      public void setProperties(PropertyBag properties)
      Key/value pairs that provide additional information about the object.
    • withProperties

      public Suppression withProperties(PropertyBag properties)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object