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

public class CodeFlow extends Object
A set of threadFlows which together describe a pattern of code execution relevant to detecting a result.
  • Constructor Details

    • CodeFlow

      public CodeFlow()
  • 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 CodeFlow withMessage(Message message)
    • getThreadFlows

      public List<ThreadFlow> getThreadFlows()
      An array of one or more unique threadFlow objects, each of which describes the progress of a program through a thread of execution. (Required)
    • setThreadFlows

      public void setThreadFlows(List<ThreadFlow> threadFlows)
      An array of one or more unique threadFlow objects, each of which describes the progress of a program through a thread of execution. (Required)
    • withThreadFlows

      public CodeFlow withThreadFlows(List<ThreadFlow> threadFlows)
    • 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 CodeFlow 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