public class Invocation extends Object
| Constructor and Description |
|---|
Invocation() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
String |
getAccount()
The account under which the invocation occurred.
|
List<String> |
getArguments()
An array of strings, containing in order the command line arguments passed to the tool from the operating system.
|
String |
getCommandLine()
The command line used to invoke the tool.
|
Date |
getEndTimeUtc()
The Coordinated Universal Time (UTC) date and time at which the invocation ended.
|
EnvironmentVariables |
getEnvironmentVariables()
The environment variables associated with the analysis tool process, expressed as key/value pairs.
|
ArtifactLocation |
getExecutableLocation()
Specifies the location of an artifact.
|
Boolean |
getExecutionSuccessful()
Specifies whether the tool's execution completed successfully.
|
Integer |
getExitCode()
The process exit code.
|
String |
getExitCodeDescription()
The reason for the process exit.
|
String |
getExitSignalName()
The name of the signal that caused the process to exit.
|
Integer |
getExitSignalNumber()
The numeric value of the signal that caused the process to exit.
|
String |
getMachine()
The machine on which the invocation occurred.
|
Set<ConfigurationOverride> |
getNotificationConfigurationOverrides()
An array of configurationOverride objects that describe notifications related runtime overrides.
|
Integer |
getProcessId()
The id of the process in which the invocation occurred.
|
String |
getProcessStartFailureMessage()
The reason given by the operating system that the process failed to start.
|
PropertyBag |
getProperties()
Key/value pairs that provide additional information about the object.
|
Set<ArtifactLocation> |
getResponseFiles()
The locations of any response files specified on the tool's command line.
|
Set<ConfigurationOverride> |
getRuleConfigurationOverrides()
An array of configurationOverride objects that describe rules related runtime overrides.
|
Date |
getStartTimeUtc()
The Coordinated Universal Time (UTC) date and time at which the invocation started.
|
ArtifactLocation |
getStderr()
Specifies the location of an artifact.
|
ArtifactLocation |
getStdin()
Specifies the location of an artifact.
|
ArtifactLocation |
getStdout()
Specifies the location of an artifact.
|
ArtifactLocation |
getStdoutStderr()
Specifies the location of an artifact.
|
List<Notification> |
getToolConfigurationNotifications()
A list of conditions detected by the tool that are relevant to the tool's configuration.
|
List<Notification> |
getToolExecutionNotifications()
A list of runtime conditions detected by the tool during the analysis.
|
ArtifactLocation |
getWorkingDirectory()
Specifies the location of an artifact.
|
int |
hashCode() |
void |
setAccount(String account)
The account under which the invocation occurred.
|
void |
setArguments(List<String> arguments)
An array of strings, containing in order the command line arguments passed to the tool from the operating system.
|
void |
setCommandLine(String commandLine)
The command line used to invoke the tool.
|
void |
setEndTimeUtc(Date endTimeUtc)
The Coordinated Universal Time (UTC) date and time at which the invocation ended.
|
void |
setEnvironmentVariables(EnvironmentVariables environmentVariables)
The environment variables associated with the analysis tool process, expressed as key/value pairs.
|
void |
setExecutableLocation(ArtifactLocation executableLocation)
Specifies the location of an artifact.
|
void |
setExecutionSuccessful(Boolean executionSuccessful)
Specifies whether the tool's execution completed successfully.
|
void |
setExitCode(Integer exitCode)
The process exit code.
|
void |
setExitCodeDescription(String exitCodeDescription)
The reason for the process exit.
|
void |
setExitSignalName(String exitSignalName)
The name of the signal that caused the process to exit.
|
void |
setExitSignalNumber(Integer exitSignalNumber)
The numeric value of the signal that caused the process to exit.
|
void |
setMachine(String machine)
The machine on which the invocation occurred.
|
void |
setNotificationConfigurationOverrides(Set<ConfigurationOverride> notificationConfigurationOverrides)
An array of configurationOverride objects that describe notifications related runtime overrides.
|
void |
setProcessId(Integer processId)
The id of the process in which the invocation occurred.
|
void |
setProcessStartFailureMessage(String processStartFailureMessage)
The reason given by the operating system that the process failed to start.
|
void |
setProperties(PropertyBag properties)
Key/value pairs that provide additional information about the object.
|
void |
setResponseFiles(Set<ArtifactLocation> responseFiles)
The locations of any response files specified on the tool's command line.
|
void |
setRuleConfigurationOverrides(Set<ConfigurationOverride> ruleConfigurationOverrides)
An array of configurationOverride objects that describe rules related runtime overrides.
|
void |
setStartTimeUtc(Date startTimeUtc)
The Coordinated Universal Time (UTC) date and time at which the invocation started.
|
void |
setStderr(ArtifactLocation stderr)
Specifies the location of an artifact.
|
void |
setStdin(ArtifactLocation stdin)
Specifies the location of an artifact.
|
void |
setStdout(ArtifactLocation stdout)
Specifies the location of an artifact.
|
void |
setStdoutStderr(ArtifactLocation stdoutStderr)
Specifies the location of an artifact.
|
void |
setToolConfigurationNotifications(List<Notification> toolConfigurationNotifications)
A list of conditions detected by the tool that are relevant to the tool's configuration.
|
void |
setToolExecutionNotifications(List<Notification> toolExecutionNotifications)
A list of runtime conditions detected by the tool during the analysis.
|
void |
setWorkingDirectory(ArtifactLocation workingDirectory)
Specifies the location of an artifact.
|
String |
toString() |
Invocation |
withAccount(String account) |
Invocation |
withArguments(List<String> arguments) |
Invocation |
withCommandLine(String commandLine) |
Invocation |
withEndTimeUtc(Date endTimeUtc) |
Invocation |
withEnvironmentVariables(EnvironmentVariables environmentVariables) |
Invocation |
withExecutableLocation(ArtifactLocation executableLocation) |
Invocation |
withExecutionSuccessful(Boolean executionSuccessful) |
Invocation |
withExitCode(Integer exitCode) |
Invocation |
withExitCodeDescription(String exitCodeDescription) |
Invocation |
withExitSignalName(String exitSignalName) |
Invocation |
withExitSignalNumber(Integer exitSignalNumber) |
Invocation |
withMachine(String machine) |
Invocation |
withNotificationConfigurationOverrides(Set<ConfigurationOverride> notificationConfigurationOverrides) |
Invocation |
withProcessId(Integer processId) |
Invocation |
withProcessStartFailureMessage(String processStartFailureMessage) |
Invocation |
withProperties(PropertyBag properties) |
Invocation |
withResponseFiles(Set<ArtifactLocation> responseFiles) |
Invocation |
withRuleConfigurationOverrides(Set<ConfigurationOverride> ruleConfigurationOverrides) |
Invocation |
withStartTimeUtc(Date startTimeUtc) |
Invocation |
withStderr(ArtifactLocation stderr) |
Invocation |
withStdin(ArtifactLocation stdin) |
Invocation |
withStdout(ArtifactLocation stdout) |
Invocation |
withStdoutStderr(ArtifactLocation stdoutStderr) |
Invocation |
withToolConfigurationNotifications(List<Notification> toolConfigurationNotifications) |
Invocation |
withToolExecutionNotifications(List<Notification> toolExecutionNotifications) |
Invocation |
withWorkingDirectory(ArtifactLocation workingDirectory) |
public String getCommandLine()
public void setCommandLine(String commandLine)
public Invocation withCommandLine(String commandLine)
public List<String> getArguments()
public void setArguments(List<String> arguments)
public Invocation withArguments(List<String> arguments)
public Set<ArtifactLocation> getResponseFiles()
public void setResponseFiles(Set<ArtifactLocation> responseFiles)
public Invocation withResponseFiles(Set<ArtifactLocation> responseFiles)
public Date getStartTimeUtc()
public void setStartTimeUtc(Date startTimeUtc)
public Invocation withStartTimeUtc(Date startTimeUtc)
public Date getEndTimeUtc()
public void setEndTimeUtc(Date endTimeUtc)
public Invocation withEndTimeUtc(Date endTimeUtc)
public Integer getExitCode()
public void setExitCode(Integer exitCode)
public Invocation withExitCode(Integer exitCode)
public Set<ConfigurationOverride> getRuleConfigurationOverrides()
public void setRuleConfigurationOverrides(Set<ConfigurationOverride> ruleConfigurationOverrides)
public Invocation withRuleConfigurationOverrides(Set<ConfigurationOverride> ruleConfigurationOverrides)
public Set<ConfigurationOverride> getNotificationConfigurationOverrides()
public void setNotificationConfigurationOverrides(Set<ConfigurationOverride> notificationConfigurationOverrides)
public Invocation withNotificationConfigurationOverrides(Set<ConfigurationOverride> notificationConfigurationOverrides)
public List<Notification> getToolExecutionNotifications()
public void setToolExecutionNotifications(List<Notification> toolExecutionNotifications)
public Invocation withToolExecutionNotifications(List<Notification> toolExecutionNotifications)
public List<Notification> getToolConfigurationNotifications()
public void setToolConfigurationNotifications(List<Notification> toolConfigurationNotifications)
public Invocation withToolConfigurationNotifications(List<Notification> toolConfigurationNotifications)
public String getExitCodeDescription()
public void setExitCodeDescription(String exitCodeDescription)
public Invocation withExitCodeDescription(String exitCodeDescription)
public String getExitSignalName()
public void setExitSignalName(String exitSignalName)
public Invocation withExitSignalName(String exitSignalName)
public Integer getExitSignalNumber()
public void setExitSignalNumber(Integer exitSignalNumber)
public Invocation withExitSignalNumber(Integer exitSignalNumber)
public String getProcessStartFailureMessage()
public void setProcessStartFailureMessage(String processStartFailureMessage)
public Invocation withProcessStartFailureMessage(String processStartFailureMessage)
public Boolean getExecutionSuccessful()
public void setExecutionSuccessful(Boolean executionSuccessful)
public Invocation withExecutionSuccessful(Boolean executionSuccessful)
public String getMachine()
public void setMachine(String machine)
public Invocation withMachine(String machine)
public String getAccount()
public void setAccount(String account)
public Invocation withAccount(String account)
public Integer getProcessId()
public void setProcessId(Integer processId)
public Invocation withProcessId(Integer processId)
public ArtifactLocation getExecutableLocation()
public void setExecutableLocation(ArtifactLocation executableLocation)
public Invocation withExecutableLocation(ArtifactLocation executableLocation)
public ArtifactLocation getWorkingDirectory()
public void setWorkingDirectory(ArtifactLocation workingDirectory)
public Invocation withWorkingDirectory(ArtifactLocation workingDirectory)
public EnvironmentVariables getEnvironmentVariables()
public void setEnvironmentVariables(EnvironmentVariables environmentVariables)
public Invocation withEnvironmentVariables(EnvironmentVariables environmentVariables)
public ArtifactLocation getStdin()
public void setStdin(ArtifactLocation stdin)
public Invocation withStdin(ArtifactLocation stdin)
public ArtifactLocation getStdout()
public void setStdout(ArtifactLocation stdout)
public Invocation withStdout(ArtifactLocation stdout)
public ArtifactLocation getStderr()
public void setStderr(ArtifactLocation stderr)
public Invocation withStderr(ArtifactLocation stderr)
public ArtifactLocation getStdoutStderr()
public void setStdoutStderr(ArtifactLocation stdoutStderr)
public Invocation withStdoutStderr(ArtifactLocation stdoutStderr)
public PropertyBag getProperties()
public void setProperties(PropertyBag properties)
public Invocation withProperties(PropertyBag properties)
Copyright © 2020 Contrast Security. All rights reserved.