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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanaddArtifact(Artifact item) Add a newArtifactitem to the underlying collection.booleanAdd a newResultitem to the underlying collection.gov.nist.secauto.metaschema.core.model.IMetaschemaDatagetTool()booleanremoveArtifact(Artifact item) Remove the first matchingArtifactitem from the underlying collection.booleanremoveResult(Result item) Remove the first matchingResultitem from the underlying collection.voidsetArtifacts(List<Artifact> value) voidsetResults(List<Result> value) voidtoString()
-
Constructor Details
-
Run
public Run() -
Run
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaDatain interfacegov.nist.secauto.metaschema.core.model.IBoundObject
-
getTool
-
setTool
-
getArtifacts
-
setArtifacts
-
addArtifact
Add a newArtifactitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeArtifact
Remove the first matchingArtifactitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getResults
-
setResults
-
addResult
Add a newResultitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeResult
Remove the first matchingResultitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
toString
-