Class Invocation
java.lang.Object
se.bjurr.violations.lib.model.generated.sarif.Invocation
The runtime environment of the analysis tool run.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanThe account that ran the analysis tool.An array of strings, containing in order the command line arguments passed to the tool from the operating system.The command line used to invoke the tool.The Coordinated Universal Time (UTC) date and time at which the run ended.The environment variables associated with the analysis tool process, expressed as key/value pairs.Specifies the location of an artifact.Specifies whether the tool's execution completed successfully.The process exit code.The reason for the process exit.The name of the signal that caused the process to exit.The numeric value of the signal that caused the process to exit.The machine that hosted the analysis tool run.An array of configurationOverride objects that describe notifications related runtime overrides.The process id for the analysis tool run.The reason given by the operating system that the process failed to start.Key/value pairs that provide additional information about the object.The locations of any response files specified on the tool's command line.An array of configurationOverride objects that describe rules related runtime overrides.The Coordinated Universal Time (UTC) date and time at which the run started.Specifies the location of an artifact.getStdin()Specifies the location of an artifact.Specifies the location of an artifact.Specifies the location of an artifact.A list of conditions detected by the tool that are relevant to the tool's configuration.A list of runtime conditions detected by the tool during the analysis.Specifies the location of an artifact.inthashCode()voidsetAccount(String account) The account that ran the analysis tool.voidsetArguments(List<String> arguments) An array of strings, containing in order the command line arguments passed to the tool from the operating system.voidsetCommandLine(String commandLine) The command line used to invoke the tool.voidsetEndTimeUtc(Date endTimeUtc) The Coordinated Universal Time (UTC) date and time at which the run ended.voidsetEnvironmentVariables(EnvironmentVariables environmentVariables) The environment variables associated with the analysis tool process, expressed as key/value pairs.voidsetExecutableLocation(ArtifactLocation executableLocation) Specifies the location of an artifact.voidsetExecutionSuccessful(Boolean executionSuccessful) Specifies whether the tool's execution completed successfully.voidsetExitCode(Integer exitCode) The process exit code.voidsetExitCodeDescription(String exitCodeDescription) The reason for the process exit.voidsetExitSignalName(String exitSignalName) The name of the signal that caused the process to exit.voidsetExitSignalNumber(Integer exitSignalNumber) The numeric value of the signal that caused the process to exit.voidsetMachine(String machine) The machine that hosted the analysis tool run.voidsetNotificationConfigurationOverrides(Set<ConfigurationOverride> notificationConfigurationOverrides) An array of configurationOverride objects that describe notifications related runtime overrides.voidsetProcessId(Integer processId) The process id for the analysis tool run.voidsetProcessStartFailureMessage(String processStartFailureMessage) The reason given by the operating system that the process failed to start.voidsetProperties(PropertyBag properties) Key/value pairs that provide additional information about the object.voidsetResponseFiles(Set<ArtifactLocation> responseFiles) The locations of any response files specified on the tool's command line.voidsetRuleConfigurationOverrides(Set<ConfigurationOverride> ruleConfigurationOverrides) An array of configurationOverride objects that describe rules related runtime overrides.voidsetStartTimeUtc(Date startTimeUtc) The Coordinated Universal Time (UTC) date and time at which the run started.voidsetStderr(ArtifactLocation stderr) Specifies the location of an artifact.voidsetStdin(ArtifactLocation stdin) Specifies the location of an artifact.voidsetStdout(ArtifactLocation stdout) Specifies the location of an artifact.voidsetStdoutStderr(ArtifactLocation stdoutStderr) Specifies the location of an artifact.voidsetToolConfigurationNotifications(List<Notification> toolConfigurationNotifications) A list of conditions detected by the tool that are relevant to the tool's configuration.voidsetToolExecutionNotifications(List<Notification> toolExecutionNotifications) A list of runtime conditions detected by the tool during the analysis.voidsetWorkingDirectory(ArtifactLocation workingDirectory) Specifies the location of an artifact.toString()withAccount(String account) withArguments(List<String> arguments) withCommandLine(String commandLine) withEndTimeUtc(Date endTimeUtc) withEnvironmentVariables(EnvironmentVariables environmentVariables) withExecutableLocation(ArtifactLocation executableLocation) withExecutionSuccessful(Boolean executionSuccessful) withExitCode(Integer exitCode) withExitCodeDescription(String exitCodeDescription) withExitSignalName(String exitSignalName) withExitSignalNumber(Integer exitSignalNumber) withMachine(String machine) withNotificationConfigurationOverrides(Set<ConfigurationOverride> notificationConfigurationOverrides) withProcessId(Integer processId) withProcessStartFailureMessage(String processStartFailureMessage) withProperties(PropertyBag properties) withResponseFiles(Set<ArtifactLocation> responseFiles) withRuleConfigurationOverrides(Set<ConfigurationOverride> ruleConfigurationOverrides) withStartTimeUtc(Date startTimeUtc) withStderr(ArtifactLocation stderr) withStdin(ArtifactLocation stdin) withStdout(ArtifactLocation stdout) withStdoutStderr(ArtifactLocation stdoutStderr) withToolConfigurationNotifications(List<Notification> toolConfigurationNotifications) withToolExecutionNotifications(List<Notification> toolExecutionNotifications) withWorkingDirectory(ArtifactLocation workingDirectory)
-
Constructor Details
-
Invocation
public Invocation()
-
-
Method Details
-
getCommandLine
The command line used to invoke the tool. -
setCommandLine
The command line used to invoke the tool. -
withCommandLine
-
getArguments
An array of strings, containing in order the command line arguments passed to the tool from the operating system. -
setArguments
An array of strings, containing in order the command line arguments passed to the tool from the operating system. -
withArguments
-
getResponseFiles
The locations of any response files specified on the tool's command line. -
setResponseFiles
The locations of any response files specified on the tool's command line. -
withResponseFiles
-
getStartTimeUtc
The Coordinated Universal Time (UTC) date and time at which the run started. See "Date/time properties" in the SARIF spec for the required format. -
setStartTimeUtc
The Coordinated Universal Time (UTC) date and time at which the run started. See "Date/time properties" in the SARIF spec for the required format. -
withStartTimeUtc
-
getEndTimeUtc
The Coordinated Universal Time (UTC) date and time at which the run ended. See "Date/time properties" in the SARIF spec for the required format. -
setEndTimeUtc
The Coordinated Universal Time (UTC) date and time at which the run ended. See "Date/time properties" in the SARIF spec for the required format. -
withEndTimeUtc
-
getExitCode
The process exit code. -
setExitCode
The process exit code. -
withExitCode
-
getRuleConfigurationOverrides
An array of configurationOverride objects that describe rules related runtime overrides. -
setRuleConfigurationOverrides
An array of configurationOverride objects that describe rules related runtime overrides. -
withRuleConfigurationOverrides
public Invocation withRuleConfigurationOverrides(Set<ConfigurationOverride> ruleConfigurationOverrides) -
getNotificationConfigurationOverrides
An array of configurationOverride objects that describe notifications related runtime overrides. -
setNotificationConfigurationOverrides
public void setNotificationConfigurationOverrides(Set<ConfigurationOverride> notificationConfigurationOverrides) An array of configurationOverride objects that describe notifications related runtime overrides. -
withNotificationConfigurationOverrides
public Invocation withNotificationConfigurationOverrides(Set<ConfigurationOverride> notificationConfigurationOverrides) -
getToolExecutionNotifications
A list of runtime conditions detected by the tool during the analysis. -
setToolExecutionNotifications
A list of runtime conditions detected by the tool during the analysis. -
withToolExecutionNotifications
-
getToolConfigurationNotifications
A list of conditions detected by the tool that are relevant to the tool's configuration. -
setToolConfigurationNotifications
A list of conditions detected by the tool that are relevant to the tool's configuration. -
withToolConfigurationNotifications
public Invocation withToolConfigurationNotifications(List<Notification> toolConfigurationNotifications) -
getExitCodeDescription
The reason for the process exit. -
setExitCodeDescription
The reason for the process exit. -
withExitCodeDescription
-
getExitSignalName
The name of the signal that caused the process to exit. -
setExitSignalName
The name of the signal that caused the process to exit. -
withExitSignalName
-
getExitSignalNumber
The numeric value of the signal that caused the process to exit. -
setExitSignalNumber
The numeric value of the signal that caused the process to exit. -
withExitSignalNumber
-
getProcessStartFailureMessage
The reason given by the operating system that the process failed to start. -
setProcessStartFailureMessage
The reason given by the operating system that the process failed to start. -
withProcessStartFailureMessage
-
getExecutionSuccessful
Specifies whether the tool's execution completed successfully. (Required) -
setExecutionSuccessful
Specifies whether the tool's execution completed successfully. (Required) -
withExecutionSuccessful
-
getMachine
The machine that hosted the analysis tool run. -
setMachine
The machine that hosted the analysis tool run. -
withMachine
-
getAccount
The account that ran the analysis tool. -
setAccount
The account that ran the analysis tool. -
withAccount
-
getProcessId
The process id for the analysis tool run. -
setProcessId
The process id for the analysis tool run. -
withProcessId
-
getExecutableLocation
Specifies the location of an artifact. -
setExecutableLocation
Specifies the location of an artifact. -
withExecutableLocation
-
getWorkingDirectory
Specifies the location of an artifact. -
setWorkingDirectory
Specifies the location of an artifact. -
withWorkingDirectory
-
getEnvironmentVariables
The environment variables associated with the analysis tool process, expressed as key/value pairs. -
setEnvironmentVariables
The environment variables associated with the analysis tool process, expressed as key/value pairs. -
withEnvironmentVariables
-
getStdin
Specifies the location of an artifact. -
setStdin
Specifies the location of an artifact. -
withStdin
-
getStdout
Specifies the location of an artifact. -
setStdout
Specifies the location of an artifact. -
withStdout
-
getStderr
Specifies the location of an artifact. -
setStderr
Specifies the location of an artifact. -
withStderr
-
getStdoutStderr
Specifies the location of an artifact. -
setStdoutStderr
Specifies the location of an artifact. -
withStdoutStderr
-
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
-