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

public class ThreadFlow extends Object
Describes a sequence of code locations that specify a path through a single thread of execution such as an operating system or fiber.
  • Constructor Details

    • ThreadFlow

      public ThreadFlow()
  • Method Details

    • getId

      public String getId()
      An string that uniquely identifies the threadFlow within the codeFlow in which it occurs.
    • setId

      public void setId(String id)
      An string that uniquely identifies the threadFlow within the codeFlow in which it occurs.
    • withId

      public ThreadFlow withId(String id)
    • 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 ThreadFlow withMessage(Message message)
    • getInitialState

      public InitialState getInitialState()
      Values of relevant expressions at the start of the thread flow that may change during thread flow execution.
    • setInitialState

      public void setInitialState(InitialState initialState)
      Values of relevant expressions at the start of the thread flow that may change during thread flow execution.
    • withInitialState

      public ThreadFlow withInitialState(InitialState initialState)
    • getImmutableState

      public ImmutableState getImmutableState()
      Values of relevant expressions at the start of the thread flow that remain constant.
    • setImmutableState

      public void setImmutableState(ImmutableState immutableState)
      Values of relevant expressions at the start of the thread flow that remain constant.
    • withImmutableState

      public ThreadFlow withImmutableState(ImmutableState immutableState)
    • getLocations

      public List<ThreadFlowLocation> getLocations()
      A temporally ordered array of 'threadFlowLocation' objects, each of which describes a location visited by the tool while producing the result. (Required)
    • setLocations

      public void setLocations(List<ThreadFlowLocation> locations)
      A temporally ordered array of 'threadFlowLocation' objects, each of which describes a location visited by the tool while producing the result. (Required)
    • withLocations

      public ThreadFlow withLocations(List<ThreadFlowLocation> locations)
    • 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 ThreadFlow 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