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

public class Stack extends Object
A call stack that is relevant to a result.
  • Constructor Details

    • Stack

      public Stack()
  • Method Details

    • getMessage

      public Message getMessage()
      Encapsulates a message intended to be read by the end user.
    • setMessage

      public void setMessage(Message message)
      Encapsulates a message intended to be read by the end user.
    • withMessage

      public Stack withMessage(Message message)
    • getFrames

      public List<StackFrame> getFrames()
      An array of stack frames that represents a sequence of calls, rendered in reverse chronological order, that comprise the call stack. (Required)
    • setFrames

      public void setFrames(List<StackFrame> frames)
      An array of stack frames that represents a sequence of calls, rendered in reverse chronological order, that comprise the call stack. (Required)
    • withFrames

      public Stack withFrames(List<StackFrame> frames)
    • 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 Stack 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