Package org.schemastore.json.sarif.x210
Class Run
java.lang.Object
org.schemastore.json.sarif.x210.Run
- All Implemented Interfaces:
gov.nist.secauto.metaschema.core.model.IBoundObject
@MetaschemaAssembly(formalName="Run",
description="Describes a single run of an analysis tool, and contains the reported output of that run.",
name="run",
moduleClass=SarifModule.class)
public class Run
extends Object
implements gov.nist.secauto.metaschema.core.model.IBoundObject
Describes a single run of an analysis tool, and contains the reported output of that run.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
addArtifact
(Artifact item) Add a newArtifact
item to the underlying collection.boolean
Add a newResult
item to the underlying collection.gov.nist.secauto.metaschema.core.model.IMetaschemaData
getTool()
boolean
removeArtifact
(Artifact item) Remove the first matchingArtifact
item from the underlying collection.boolean
removeResult
(Result item) Remove the first matchingResult
item from the underlying collection.void
setArtifacts
(List<Artifact> value) void
setResults
(List<Result> value) void
toString()
-
Constructor Details
-
Run
public Run() -
Run
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaData
in interfacegov.nist.secauto.metaschema.core.model.IBoundObject
-
getTool
-
setTool
-
getArtifacts
-
setArtifacts
-
addArtifact
Add a newArtifact
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeArtifact
Remove the first matchingArtifact
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
getResults
-
setResults
-
addResult
Add a newResult
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeResult
Remove the first matchingResult
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
toString
-