Package org.schemastore.json.sarif.x210
Class Sarif
java.lang.Object
org.schemastore.json.sarif.x210.Sarif
- All Implemented Interfaces:
gov.nist.secauto.metaschema.core.model.IBoundObject
@MetaschemaAssembly(formalName="Static Analysis Results Interchange Format",
description="A standard format for the output of static analysis tools.",
name="sarif",
moduleClass=SarifModule.class,
rootName="sarif",
remarks="Note, Metaschema does not support an anonymous top-level assembly without a key name in JSON and YAML, which is required for SARIF.")
public class Sarif
extends Object
implements gov.nist.secauto.metaschema.core.model.IBoundObject
A standard format for the output of static analysis tools.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Sarif
public Sarif() -
Sarif
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaData
in interfacegov.nist.secauto.metaschema.core.model.IBoundObject
-
getVersion
-
setVersion
-
getRuns
-
setRuns
-
addRun
Add a newRun
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeRun
Remove the first matchingRun
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
toString
-