Class ThreadFlow
java.lang.Object
se.bjurr.violations.lib.model.generated.sarif.ThreadFlow
Describes a sequence of code locations that specify a path through a single thread of execution such as an operating system or fiber.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetId()An string that uniquely identifies the threadFlow within the codeFlow in which it occurs.Values of relevant expressions at the start of the thread flow that remain constant.Values of relevant expressions at the start of the thread flow that may change during thread flow execution.A temporally ordered array of 'threadFlowLocation' objects, each of which describes a location visited by the tool while producing the result.Encapsulates a message intended to be read by the end user.Key/value pairs that provide additional information about the object.inthashCode()voidAn string that uniquely identifies the threadFlow within the codeFlow in which it occurs.voidsetImmutableState(ImmutableState immutableState) Values of relevant expressions at the start of the thread flow that remain constant.voidsetInitialState(InitialState initialState) Values of relevant expressions at the start of the thread flow that may change during thread flow execution.voidsetLocations(List<ThreadFlowLocation> locations) A temporally ordered array of 'threadFlowLocation' objects, each of which describes a location visited by the tool while producing the result.voidsetMessage(Message message) Encapsulates a message intended to be read by the end user.voidsetProperties(PropertyBag properties) Key/value pairs that provide additional information about the object.toString()withImmutableState(ImmutableState immutableState) withInitialState(InitialState initialState) withLocations(List<ThreadFlowLocation> locations) withMessage(Message message) withProperties(PropertyBag properties)
-
Constructor Details
-
ThreadFlow
public ThreadFlow()
-
-
Method Details
-
getId
An string that uniquely identifies the threadFlow within the codeFlow in which it occurs. -
setId
An string that uniquely identifies the threadFlow within the codeFlow in which it occurs. -
withId
-
getMessage
Encapsulates a message intended to be read by the end user. -
setMessage
Encapsulates a message intended to be read by the end user. -
withMessage
-
getInitialState
Values of relevant expressions at the start of the thread flow that may change during thread flow execution. -
setInitialState
Values of relevant expressions at the start of the thread flow that may change during thread flow execution. -
withInitialState
-
getImmutableState
Values of relevant expressions at the start of the thread flow that remain constant. -
setImmutableState
Values of relevant expressions at the start of the thread flow that remain constant. -
withImmutableState
-
getLocations
A temporally ordered array of 'threadFlowLocation' objects, each of which describes a location visited by the tool while producing the result. (Required) -
setLocations
A temporally ordered array of 'threadFlowLocation' objects, each of which describes a location visited by the tool while producing the result. (Required) -
withLocations
-
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
-