public class Run extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Run.ColumnKind
Specifies the unit in which the tool measures columns.
|
| Constructor and Description |
|---|
Run() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
List<Address> |
getAddresses()
Addresses associated with this run instance, if any.
|
Set<Artifact> |
getArtifacts()
An array of artifact objects relevant to the run.
|
RunAutomationDetails |
getAutomationDetails()
Information that describes a run's identity and role within an engineering system process.
|
String |
getBaselineGuid()
The 'guid' property of a previous SARIF 'run' that comprises the baseline that was used to compute result 'baselineState' properties for the run.
|
Run.ColumnKind |
getColumnKind()
Specifies the unit in which the tool measures columns.
|
Conversion |
getConversion()
Describes how a converter transformed the output of a static analysis tool from the analysis tool's native output format into the SARIF format.
|
String |
getDefaultEncoding()
Specifies the default encoding for any artifact object that refers to a text file.
|
String |
getDefaultSourceLanguage()
Specifies the default source language for any artifact object that refers to a text file that contains source code.
|
ExternalPropertyFileReferences |
getExternalPropertyFileReferences()
References to external property files that should be inlined with the content of a root log file.
|
Set<Graph> |
getGraphs()
An array of zero or more unique graph objects associated with the run.
|
List<Invocation> |
getInvocations()
Describes the invocation of the analysis tool.
|
String |
getLanguage()
The language of the messages emitted into the log file during this run (expressed as an ISO 639-1 two-letter lowercase culture code) and an optional region (expressed as an ISO 3166-1 two-letter uppercase subculture code associated with a country or region).
|
Set<LogicalLocation> |
getLogicalLocations()
An array of logical locations such as namespaces, types or functions.
|
Set<String> |
getNewlineSequences()
An ordered list of character sequences that were treated as line breaks when computing region information for the run.
|
OriginalUriBaseIds |
getOriginalUriBaseIds()
The artifact location specified by each uriBaseId symbol on the machine where the tool originally ran.
|
Set<ToolComponent> |
getPolicies()
Contains configurations that may potentially override both reportingDescriptor.defaultConfiguration (the tool's default severities) and invocation.configurationOverrides (severities established at run-time from the command line).
|
PropertyBag |
getProperties()
Key/value pairs that provide additional information about the object.
|
Set<String> |
getRedactionTokens()
An array of strings used to replace sensitive information in a redaction-aware property.
|
List<Result> |
getResults()
The set of results contained in an SARIF log.
|
Set<RunAutomationDetails> |
getRunAggregates()
Automation details that describe the aggregate of runs to which this run belongs.
|
SpecialLocations |
getSpecialLocations()
Defines locations of special significance to SARIF consumers.
|
Set<ToolComponent> |
getTaxonomies()
An array of toolComponent objects relevant to a taxonomy in which results are categorized.
|
Set<ThreadFlowLocation> |
getThreadFlowLocations()
An array of threadFlowLocation objects cached at run level.
|
Tool |
getTool()
The analysis tool that was run.
|
Set<ToolComponent> |
getTranslations()
The set of available translations of the localized data provided by the tool.
|
Set<VersionControlDetails> |
getVersionControlProvenance()
Specifies the revision in version control of the artifacts that were scanned.
|
Set<WebRequest> |
getWebRequests()
An array of request objects cached at run level.
|
Set<WebResponse> |
getWebResponses()
An array of response objects cached at run level.
|
int |
hashCode() |
void |
setAddresses(List<Address> addresses)
Addresses associated with this run instance, if any.
|
void |
setArtifacts(Set<Artifact> artifacts)
An array of artifact objects relevant to the run.
|
void |
setAutomationDetails(RunAutomationDetails automationDetails)
Information that describes a run's identity and role within an engineering system process.
|
void |
setBaselineGuid(String baselineGuid)
The 'guid' property of a previous SARIF 'run' that comprises the baseline that was used to compute result 'baselineState' properties for the run.
|
void |
setColumnKind(Run.ColumnKind columnKind)
Specifies the unit in which the tool measures columns.
|
void |
setConversion(Conversion conversion)
Describes how a converter transformed the output of a static analysis tool from the analysis tool's native output format into the SARIF format.
|
void |
setDefaultEncoding(String defaultEncoding)
Specifies the default encoding for any artifact object that refers to a text file.
|
void |
setDefaultSourceLanguage(String defaultSourceLanguage)
Specifies the default source language for any artifact object that refers to a text file that contains source code.
|
void |
setExternalPropertyFileReferences(ExternalPropertyFileReferences externalPropertyFileReferences)
References to external property files that should be inlined with the content of a root log file.
|
void |
setGraphs(Set<Graph> graphs)
An array of zero or more unique graph objects associated with the run.
|
void |
setInvocations(List<Invocation> invocations)
Describes the invocation of the analysis tool.
|
void |
setLanguage(String language)
The language of the messages emitted into the log file during this run (expressed as an ISO 639-1 two-letter lowercase culture code) and an optional region (expressed as an ISO 3166-1 two-letter uppercase subculture code associated with a country or region).
|
void |
setLogicalLocations(Set<LogicalLocation> logicalLocations)
An array of logical locations such as namespaces, types or functions.
|
void |
setNewlineSequences(Set<String> newlineSequences)
An ordered list of character sequences that were treated as line breaks when computing region information for the run.
|
void |
setOriginalUriBaseIds(OriginalUriBaseIds originalUriBaseIds)
The artifact location specified by each uriBaseId symbol on the machine where the tool originally ran.
|
void |
setPolicies(Set<ToolComponent> policies)
Contains configurations that may potentially override both reportingDescriptor.defaultConfiguration (the tool's default severities) and invocation.configurationOverrides (severities established at run-time from the command line).
|
void |
setProperties(PropertyBag properties)
Key/value pairs that provide additional information about the object.
|
void |
setRedactionTokens(Set<String> redactionTokens)
An array of strings used to replace sensitive information in a redaction-aware property.
|
void |
setResults(List<Result> results)
The set of results contained in an SARIF log.
|
void |
setRunAggregates(Set<RunAutomationDetails> runAggregates)
Automation details that describe the aggregate of runs to which this run belongs.
|
void |
setSpecialLocations(SpecialLocations specialLocations)
Defines locations of special significance to SARIF consumers.
|
void |
setTaxonomies(Set<ToolComponent> taxonomies)
An array of toolComponent objects relevant to a taxonomy in which results are categorized.
|
void |
setThreadFlowLocations(Set<ThreadFlowLocation> threadFlowLocations)
An array of threadFlowLocation objects cached at run level.
|
void |
setTool(Tool tool)
The analysis tool that was run.
|
void |
setTranslations(Set<ToolComponent> translations)
The set of available translations of the localized data provided by the tool.
|
void |
setVersionControlProvenance(Set<VersionControlDetails> versionControlProvenance)
Specifies the revision in version control of the artifacts that were scanned.
|
void |
setWebRequests(Set<WebRequest> webRequests)
An array of request objects cached at run level.
|
void |
setWebResponses(Set<WebResponse> webResponses)
An array of response objects cached at run level.
|
String |
toString() |
Run |
withAddresses(List<Address> addresses) |
Run |
withArtifacts(Set<Artifact> artifacts) |
Run |
withAutomationDetails(RunAutomationDetails automationDetails) |
Run |
withBaselineGuid(String baselineGuid) |
Run |
withColumnKind(Run.ColumnKind columnKind) |
Run |
withConversion(Conversion conversion) |
Run |
withDefaultEncoding(String defaultEncoding) |
Run |
withDefaultSourceLanguage(String defaultSourceLanguage) |
Run |
withExternalPropertyFileReferences(ExternalPropertyFileReferences externalPropertyFileReferences) |
Run |
withGraphs(Set<Graph> graphs) |
Run |
withInvocations(List<Invocation> invocations) |
Run |
withLanguage(String language) |
Run |
withLogicalLocations(Set<LogicalLocation> logicalLocations) |
Run |
withNewlineSequences(Set<String> newlineSequences) |
Run |
withOriginalUriBaseIds(OriginalUriBaseIds originalUriBaseIds) |
Run |
withPolicies(Set<ToolComponent> policies) |
Run |
withProperties(PropertyBag properties) |
Run |
withRedactionTokens(Set<String> redactionTokens) |
Run |
withResults(List<Result> results) |
Run |
withRunAggregates(Set<RunAutomationDetails> runAggregates) |
Run |
withSpecialLocations(SpecialLocations specialLocations) |
Run |
withTaxonomies(Set<ToolComponent> taxonomies) |
Run |
withThreadFlowLocations(Set<ThreadFlowLocation> threadFlowLocations) |
Run |
withTool(Tool tool) |
Run |
withTranslations(Set<ToolComponent> translations) |
Run |
withVersionControlProvenance(Set<VersionControlDetails> versionControlProvenance) |
Run |
withWebRequests(Set<WebRequest> webRequests) |
Run |
withWebResponses(Set<WebResponse> webResponses) |
public Tool getTool()
public void setTool(Tool tool)
public List<Invocation> getInvocations()
public void setInvocations(List<Invocation> invocations)
public Run withInvocations(List<Invocation> invocations)
public Conversion getConversion()
public void setConversion(Conversion conversion)
public Run withConversion(Conversion conversion)
public String getLanguage()
public void setLanguage(String language)
public Set<VersionControlDetails> getVersionControlProvenance()
public void setVersionControlProvenance(Set<VersionControlDetails> versionControlProvenance)
public Run withVersionControlProvenance(Set<VersionControlDetails> versionControlProvenance)
public OriginalUriBaseIds getOriginalUriBaseIds()
public void setOriginalUriBaseIds(OriginalUriBaseIds originalUriBaseIds)
public Run withOriginalUriBaseIds(OriginalUriBaseIds originalUriBaseIds)
public void setArtifacts(Set<Artifact> artifacts)
public Set<LogicalLocation> getLogicalLocations()
public void setLogicalLocations(Set<LogicalLocation> logicalLocations)
public Run withLogicalLocations(Set<LogicalLocation> logicalLocations)
public Set<Graph> getGraphs()
public void setGraphs(Set<Graph> graphs)
public List<Result> getResults()
public void setResults(List<Result> results)
public RunAutomationDetails getAutomationDetails()
public void setAutomationDetails(RunAutomationDetails automationDetails)
public Run withAutomationDetails(RunAutomationDetails automationDetails)
public Set<RunAutomationDetails> getRunAggregates()
public void setRunAggregates(Set<RunAutomationDetails> runAggregates)
public Run withRunAggregates(Set<RunAutomationDetails> runAggregates)
public String getBaselineGuid()
public void setBaselineGuid(String baselineGuid)
public Set<String> getRedactionTokens()
public void setRedactionTokens(Set<String> redactionTokens)
public String getDefaultEncoding()
public void setDefaultEncoding(String defaultEncoding)
public String getDefaultSourceLanguage()
public void setDefaultSourceLanguage(String defaultSourceLanguage)
public Set<String> getNewlineSequences()
public void setNewlineSequences(Set<String> newlineSequences)
public Run.ColumnKind getColumnKind()
public void setColumnKind(Run.ColumnKind columnKind)
public Run withColumnKind(Run.ColumnKind columnKind)
public ExternalPropertyFileReferences getExternalPropertyFileReferences()
public void setExternalPropertyFileReferences(ExternalPropertyFileReferences externalPropertyFileReferences)
public Run withExternalPropertyFileReferences(ExternalPropertyFileReferences externalPropertyFileReferences)
public Set<ThreadFlowLocation> getThreadFlowLocations()
public void setThreadFlowLocations(Set<ThreadFlowLocation> threadFlowLocations)
public Run withThreadFlowLocations(Set<ThreadFlowLocation> threadFlowLocations)
public Set<ToolComponent> getTaxonomies()
public void setTaxonomies(Set<ToolComponent> taxonomies)
public Run withTaxonomies(Set<ToolComponent> taxonomies)
public List<Address> getAddresses()
public void setAddresses(List<Address> addresses)
public Set<ToolComponent> getTranslations()
public void setTranslations(Set<ToolComponent> translations)
public Run withTranslations(Set<ToolComponent> translations)
public Set<ToolComponent> getPolicies()
public void setPolicies(Set<ToolComponent> policies)
public Run withPolicies(Set<ToolComponent> policies)
public Set<WebRequest> getWebRequests()
public void setWebRequests(Set<WebRequest> webRequests)
public Run withWebRequests(Set<WebRequest> webRequests)
public Set<WebResponse> getWebResponses()
public void setWebResponses(Set<WebResponse> webResponses)
public Run withWebResponses(Set<WebResponse> webResponses)
public SpecialLocations getSpecialLocations()
public void setSpecialLocations(SpecialLocations specialLocations)
public Run withSpecialLocations(SpecialLocations specialLocations)
public PropertyBag getProperties()
public void setProperties(PropertyBag properties)
public Run withProperties(PropertyBag properties)
Copyright © 2020 Contrast Security. All rights reserved.