Class ThreadFlowLocation
java.lang.Object
se.bjurr.violations.lib.model.generated.sarif.ThreadFlowLocation
A location visited by an analysis tool while simulating or monitoring the execution of a program.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumSpecifies the importance of this location in understanding the code flow in which it occurs. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanAn integer representing the temporal order in which execution reached this location.The Coordinated Universal Time (UTC) date and time at which this location was executed.Specifies the importance of this location in understanding the code flow in which it occurs.getIndex()The index within the run threadFlowLocations array.getKinds()A set of distinct strings that categorize the thread flow location.A location within a programming artifact.The name of the module that contains the code that is executing.An integer representing a containment hierarchy within the thread flow.Key/value pairs that provide additional information about the object.getStack()A call stack that is relevant to a result.getState()A dictionary, each of whose keys specifies a variable or expression, the associated value of which represents the variable or expression value.getTaxa()An array of references to rule or taxonomy reporting descriptors that are applicable to the thread flow location.Describes an HTTP request.Describes the response to an HTTP request.inthashCode()voidsetExecutionOrder(Integer executionOrder) An integer representing the temporal order in which execution reached this location.voidsetExecutionTimeUtc(Date executionTimeUtc) The Coordinated Universal Time (UTC) date and time at which this location was executed.voidsetImportance(ThreadFlowLocation.Importance importance) Specifies the importance of this location in understanding the code flow in which it occurs.voidThe index within the run threadFlowLocations array.voidA set of distinct strings that categorize the thread flow location.voidsetLocation(Location location) A location within a programming artifact.voidThe name of the module that contains the code that is executing.voidsetNestingLevel(Integer nestingLevel) An integer representing a containment hierarchy within the thread flow.voidsetProperties(PropertyBag properties) Key/value pairs that provide additional information about the object.voidA call stack that is relevant to a result.voidA dictionary, each of whose keys specifies a variable or expression, the associated value of which represents the variable or expression value.voidAn array of references to rule or taxonomy reporting descriptors that are applicable to the thread flow location.voidsetWebRequest(WebRequest webRequest) Describes an HTTP request.voidsetWebResponse(WebResponse webResponse) Describes the response to an HTTP request.toString()withExecutionOrder(Integer executionOrder) withExecutionTimeUtc(Date executionTimeUtc) withImportance(ThreadFlowLocation.Importance importance) withLocation(Location location) withModule(String module) withNestingLevel(Integer nestingLevel) withProperties(PropertyBag properties) withWebRequest(WebRequest webRequest) withWebResponse(WebResponse webResponse)
-
Constructor Details
-
ThreadFlowLocation
public ThreadFlowLocation()
-
-
Method Details
-
getIndex
The index within the run threadFlowLocations array. -
setIndex
The index within the run threadFlowLocations array. -
withIndex
-
getLocation
A location within a programming artifact. -
setLocation
A location within a programming artifact. -
withLocation
-
getStack
A call stack that is relevant to a result. -
setStack
A call stack that is relevant to a result. -
withStack
-
getKinds
A set of distinct strings that categorize the thread flow location. Well-known kinds include 'acquire', 'release', 'enter', 'exit', 'call', 'return', 'branch', 'implicit', 'false', 'true', 'caution', 'danger', 'unknown', 'unreachable', 'taint', 'function', 'handler', 'lock', 'memory', 'resource', 'scope' and 'value'. -
setKinds
A set of distinct strings that categorize the thread flow location. Well-known kinds include 'acquire', 'release', 'enter', 'exit', 'call', 'return', 'branch', 'implicit', 'false', 'true', 'caution', 'danger', 'unknown', 'unreachable', 'taint', 'function', 'handler', 'lock', 'memory', 'resource', 'scope' and 'value'. -
withKinds
-
getTaxa
An array of references to rule or taxonomy reporting descriptors that are applicable to the thread flow location. -
setTaxa
An array of references to rule or taxonomy reporting descriptors that are applicable to the thread flow location. -
withTaxa
-
getModule
The name of the module that contains the code that is executing. -
setModule
The name of the module that contains the code that is executing. -
withModule
-
getState
A dictionary, each of whose keys specifies a variable or expression, the associated value of which represents the variable or expression value. For an annotation of kind 'continuation', for example, this dictionary might hold the current assumed values of a set of global variables. -
setState
A dictionary, each of whose keys specifies a variable or expression, the associated value of which represents the variable or expression value. For an annotation of kind 'continuation', for example, this dictionary might hold the current assumed values of a set of global variables. -
withState
-
getNestingLevel
An integer representing a containment hierarchy within the thread flow. -
setNestingLevel
An integer representing a containment hierarchy within the thread flow. -
withNestingLevel
-
getExecutionOrder
An integer representing the temporal order in which execution reached this location. -
setExecutionOrder
An integer representing the temporal order in which execution reached this location. -
withExecutionOrder
-
getExecutionTimeUtc
The Coordinated Universal Time (UTC) date and time at which this location was executed. -
setExecutionTimeUtc
The Coordinated Universal Time (UTC) date and time at which this location was executed. -
withExecutionTimeUtc
-
getImportance
Specifies the importance of this location in understanding the code flow in which it occurs. The order from most to least important is "essential", "important", "unimportant". Default: "important". -
setImportance
Specifies the importance of this location in understanding the code flow in which it occurs. The order from most to least important is "essential", "important", "unimportant". Default: "important". -
withImportance
-
getWebRequest
Describes an HTTP request. -
setWebRequest
Describes an HTTP request. -
withWebRequest
-
getWebResponse
Describes the response to an HTTP request. -
setWebResponse
Describes the response to an HTTP request. -
withWebResponse
-
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
-