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 Details

    • Run

      public Run()
    • Run

      public Run(gov.nist.secauto.metaschema.core.model.IMetaschemaData data)
  • Method Details

    • getMetaschemaData

      public gov.nist.secauto.metaschema.core.model.IMetaschemaData getMetaschemaData()
      Specified by:
      getMetaschemaData in interface gov.nist.secauto.metaschema.core.model.IBoundObject
    • getTool

      public Tool getTool()
    • setTool

      public void setTool(Tool value)
    • getArtifacts

    • setArtifacts

      public void setArtifacts(List<Artifact> value)
    • addArtifact

      public boolean addArtifact(Artifact item)
      Add a new Artifact item to the underlying collection.
      Parameters:
      item - the item to add
      Returns:
      true
    • removeArtifact

      public boolean removeArtifact(Artifact item)
      Remove the first matching Artifact item from the underlying collection.
      Parameters:
      item - the item to remove
      Returns:
      true if the item was removed or false otherwise
    • getResults

      public List<Result> getResults()
    • setResults

      public void setResults(List<Result> value)
    • addResult

      public boolean addResult(Result item)
      Add a new Result item to the underlying collection.
      Parameters:
      item - the item to add
      Returns:
      true
    • removeResult

      public boolean removeResult(Result item)
      Remove the first matching Result item from the underlying collection.
      Parameters:
      item - the item to remove
      Returns:
      true if the item was removed or false otherwise
    • toString

      public String toString()
      Overrides:
      toString in class Object