toggle menu
shake
0.1.0
jvm
switch theme
search in API
com.shakelang.util.sarifmerge
/
com.shakelang.util.sarifmerge
/
SarifLoaderWithSRCRoot
Sarif
Loader
With
SRCRoot
class
SarifLoaderWithSRCRoot
(
val
srcRoot
:
String
?
)
(
source
)
Members
Constructors
Sarif
Loader
With
SRCRoot
Link copied to clipboard
constructor
(
srcRoot
:
String
?
)
Properties
entries
Link copied to clipboard
val
entries
:
MutableList
<
SarifEntry
>
src
Root
Link copied to clipboard
val
srcRoot
:
String
?
tool
Link copied to clipboard
var
tool
:
JsonObject
?
Functions
accepts
Run
Link copied to clipboard
fun
acceptsRun
(
run
:
JsonObject
)
:
Boolean
add
Result
Link copied to clipboard
fun
addResult
(
entry
:
SarifEntry
)
fun
addResult
(
json
:
JsonObject
)
add
Results
Link copied to clipboard
fun
addResults
(
json
:
JsonArray
)
fun
addResults
(
json
:
JsonElement
)
add
Run
Link copied to clipboard
fun
addRun
(
run
:
JsonElement
)
fun
addRun
(
run
:
JsonObject
)
add
Runs
Link copied to clipboard
fun
addRuns
(
runs
:
JsonArray
)
fun
addRuns
(
runs
:
JsonElement
)
to
Runs
Link copied to clipboard
fun
toRuns
(
limitEntriesPerRun
:
Int
=
-1
)
:
List
<
Any
>