Class Run
java.lang.Object
se.bjurr.violations.lib.model.generated.sarif.Run
Describes a single run of an analysis tool, and contains the reported output of that run.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumSpecifies the unit in which the tool measures columns. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanAddresses associated with this run instance, if any.An array of artifact objects relevant to the run.Information that describes a run's identity and role within an engineering system process.The 'guid' property of a previous SARIF 'run' that comprises the baseline that was used to compute result 'baselineState' properties for the run.Specifies the unit in which the tool measures columns.Describes how a converter transformed the output of a static analysis tool from the analysis tool's native output format into the SARIF format.Specifies the default encoding for any artifact object that refers to a text file.Specifies the default source language for any artifact object that refers to a text file that contains source code.References to external property files that should be inlined with the content of a root log file.An array of zero or more unique graph objects associated with the run.Describes the invocation of the analysis tool.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).An array of logical locations such as namespaces, types or functions.An ordered list of character sequences that were treated as line breaks when computing region information for the run.The artifact location specified by each uriBaseId symbol on the machine where the tool originally ran.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).Key/value pairs that provide additional information about the object.An array of strings used to replace sensitive information in a redaction-aware property.The set of results contained in an SARIF log.Automation details that describe the aggregate of runs to which this run belongs.Defines locations of special significance to SARIF consumers.An array of toolComponent objects relevant to a taxonomy in which results are categorized.An array of threadFlowLocation objects cached at run level.getTool()The analysis tool that was run.The set of available translations of the localized data provided by the tool.Specifies the revision in version control of the artifacts that were scanned.An array of request objects cached at run level.An array of response objects cached at run level.inthashCode()voidsetAddresses(List<Address> addresses) Addresses associated with this run instance, if any.voidsetArtifacts(Set<Artifact> artifacts) An array of artifact objects relevant to the run.voidsetAutomationDetails(RunAutomationDetails automationDetails) Information that describes a run's identity and role within an engineering system process.voidsetBaselineGuid(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.voidsetColumnKind(Run.ColumnKind columnKind) Specifies the unit in which the tool measures columns.voidsetConversion(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.voidsetDefaultEncoding(String defaultEncoding) Specifies the default encoding for any artifact object that refers to a text file.voidsetDefaultSourceLanguage(String defaultSourceLanguage) Specifies the default source language for any artifact object that refers to a text file that contains source code.voidsetExternalPropertyFileReferences(ExternalPropertyFileReferences externalPropertyFileReferences) References to external property files that should be inlined with the content of a root log file.voidAn array of zero or more unique graph objects associated with the run.voidsetInvocations(List<Invocation> invocations) Describes the invocation of the analysis tool.voidsetLanguage(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).voidsetLogicalLocations(Set<LogicalLocation> logicalLocations) An array of logical locations such as namespaces, types or functions.voidsetNewlineSequences(Set<String> newlineSequences) An ordered list of character sequences that were treated as line breaks when computing region information for the run.voidsetOriginalUriBaseIds(OriginalUriBaseIds originalUriBaseIds) The artifact location specified by each uriBaseId symbol on the machine where the tool originally ran.voidsetPolicies(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).voidsetProperties(PropertyBag properties) Key/value pairs that provide additional information about the object.voidsetRedactionTokens(Set<String> redactionTokens) An array of strings used to replace sensitive information in a redaction-aware property.voidsetResults(List<Result> results) The set of results contained in an SARIF log.voidsetRunAggregates(Set<RunAutomationDetails> runAggregates) Automation details that describe the aggregate of runs to which this run belongs.voidsetSpecialLocations(SpecialLocations specialLocations) Defines locations of special significance to SARIF consumers.voidsetTaxonomies(Set<ToolComponent> taxonomies) An array of toolComponent objects relevant to a taxonomy in which results are categorized.voidsetThreadFlowLocations(Set<ThreadFlowLocation> threadFlowLocations) An array of threadFlowLocation objects cached at run level.voidThe analysis tool that was run.voidsetTranslations(Set<ToolComponent> translations) The set of available translations of the localized data provided by the tool.voidsetVersionControlProvenance(Set<VersionControlDetails> versionControlProvenance) Specifies the revision in version control of the artifacts that were scanned.voidsetWebRequests(Set<WebRequest> webRequests) An array of request objects cached at run level.voidsetWebResponses(Set<WebResponse> webResponses) An array of response objects cached at run level.toString()withAddresses(List<Address> addresses) withArtifacts(Set<Artifact> artifacts) withAutomationDetails(RunAutomationDetails automationDetails) withBaselineGuid(String baselineGuid) withColumnKind(Run.ColumnKind columnKind) withConversion(Conversion conversion) withDefaultEncoding(String defaultEncoding) withDefaultSourceLanguage(String defaultSourceLanguage) withExternalPropertyFileReferences(ExternalPropertyFileReferences externalPropertyFileReferences) withGraphs(Set<Graph> graphs) withInvocations(List<Invocation> invocations) withLanguage(String language) withLogicalLocations(Set<LogicalLocation> logicalLocations) withNewlineSequences(Set<String> newlineSequences) withOriginalUriBaseIds(OriginalUriBaseIds originalUriBaseIds) withPolicies(Set<ToolComponent> policies) withProperties(PropertyBag properties) withRedactionTokens(Set<String> redactionTokens) withResults(List<Result> results) withRunAggregates(Set<RunAutomationDetails> runAggregates) withSpecialLocations(SpecialLocations specialLocations) withTaxonomies(Set<ToolComponent> taxonomies) withThreadFlowLocations(Set<ThreadFlowLocation> threadFlowLocations) withTranslations(Set<ToolComponent> translations) withVersionControlProvenance(Set<VersionControlDetails> versionControlProvenance) withWebRequests(Set<WebRequest> webRequests) withWebResponses(Set<WebResponse> webResponses)
-
Constructor Details
-
Run
public Run()
-
-
Method Details
-
getTool
The analysis tool that was run. (Required) -
setTool
The analysis tool that was run. (Required) -
withTool
-
getInvocations
Describes the invocation of the analysis tool. -
setInvocations
Describes the invocation of the analysis tool. -
withInvocations
-
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. -
setConversion
Describes how a converter transformed the output of a static analysis tool from the analysis tool's native output format into the SARIF format. -
withConversion
-
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). The casing is recommended but not required (in order for this data to conform to RFC5646). -
setLanguage
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). The casing is recommended but not required (in order for this data to conform to RFC5646). -
withLanguage
-
getVersionControlProvenance
Specifies the revision in version control of the artifacts that were scanned. -
setVersionControlProvenance
Specifies the revision in version control of the artifacts that were scanned. -
withVersionControlProvenance
-
getOriginalUriBaseIds
The artifact location specified by each uriBaseId symbol on the machine where the tool originally ran. -
setOriginalUriBaseIds
The artifact location specified by each uriBaseId symbol on the machine where the tool originally ran. -
withOriginalUriBaseIds
-
getArtifacts
An array of artifact objects relevant to the run. -
setArtifacts
An array of artifact objects relevant to the run. -
withArtifacts
-
getLogicalLocations
An array of logical locations such as namespaces, types or functions. -
setLogicalLocations
An array of logical locations such as namespaces, types or functions. -
withLogicalLocations
-
getGraphs
An array of zero or more unique graph objects associated with the run. -
setGraphs
An array of zero or more unique graph objects associated with the run. -
withGraphs
-
getResults
The set of results contained in an SARIF log. The results array can be omitted when a run is solely exporting rules metadata. It must be present (but may be empty) if a log file represents an actual scan. -
setResults
The set of results contained in an SARIF log. The results array can be omitted when a run is solely exporting rules metadata. It must be present (but may be empty) if a log file represents an actual scan. -
withResults
-
getAutomationDetails
Information that describes a run's identity and role within an engineering system process. -
setAutomationDetails
Information that describes a run's identity and role within an engineering system process. -
withAutomationDetails
-
getRunAggregates
Automation details that describe the aggregate of runs to which this run belongs. -
setRunAggregates
Automation details that describe the aggregate of runs to which this run belongs. -
withRunAggregates
-
getBaselineGuid
The 'guid' property of a previous SARIF 'run' that comprises the baseline that was used to compute result 'baselineState' properties for the run. -
setBaselineGuid
The 'guid' property of a previous SARIF 'run' that comprises the baseline that was used to compute result 'baselineState' properties for the run. -
withBaselineGuid
-
getRedactionTokens
An array of strings used to replace sensitive information in a redaction-aware property. -
setRedactionTokens
An array of strings used to replace sensitive information in a redaction-aware property. -
withRedactionTokens
-
getDefaultEncoding
Specifies the default encoding for any artifact object that refers to a text file. -
setDefaultEncoding
Specifies the default encoding for any artifact object that refers to a text file. -
withDefaultEncoding
-
getDefaultSourceLanguage
Specifies the default source language for any artifact object that refers to a text file that contains source code. -
setDefaultSourceLanguage
Specifies the default source language for any artifact object that refers to a text file that contains source code. -
withDefaultSourceLanguage
-
getNewlineSequences
An ordered list of character sequences that were treated as line breaks when computing region information for the run. -
setNewlineSequences
An ordered list of character sequences that were treated as line breaks when computing region information for the run. -
withNewlineSequences
-
getColumnKind
Specifies the unit in which the tool measures columns. -
setColumnKind
Specifies the unit in which the tool measures columns. -
withColumnKind
-
getExternalPropertyFileReferences
References to external property files that should be inlined with the content of a root log file. -
setExternalPropertyFileReferences
public void setExternalPropertyFileReferences(ExternalPropertyFileReferences externalPropertyFileReferences) References to external property files that should be inlined with the content of a root log file. -
withExternalPropertyFileReferences
public Run withExternalPropertyFileReferences(ExternalPropertyFileReferences externalPropertyFileReferences) -
getThreadFlowLocations
An array of threadFlowLocation objects cached at run level. -
setThreadFlowLocations
An array of threadFlowLocation objects cached at run level. -
withThreadFlowLocations
-
getTaxonomies
An array of toolComponent objects relevant to a taxonomy in which results are categorized. -
setTaxonomies
An array of toolComponent objects relevant to a taxonomy in which results are categorized. -
withTaxonomies
-
getAddresses
Addresses associated with this run instance, if any. -
setAddresses
Addresses associated with this run instance, if any. -
withAddresses
-
getTranslations
The set of available translations of the localized data provided by the tool. -
setTranslations
The set of available translations of the localized data provided by the tool. -
withTranslations
-
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). -
setPolicies
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). -
withPolicies
-
getWebRequests
An array of request objects cached at run level. -
setWebRequests
An array of request objects cached at run level. -
withWebRequests
-
getWebResponses
An array of response objects cached at run level. -
setWebResponses
An array of response objects cached at run level. -
withWebResponses
-
getSpecialLocations
Defines locations of special significance to SARIF consumers. -
setSpecialLocations
Defines locations of special significance to SARIF consumers. -
withSpecialLocations
-
getProperties
Key/value pairs that provide additional information about the object. -
setProperties
Key/value pairs that provide additional information about the object. -
withProperties
-
toString
-
hashCode
public int hashCode() -
equals
-