Package org.axonframework.updates.api
Class DetectedVulnerability
java.lang.Object
org.axonframework.updates.api.DetectedVulnerability
Represents a vulnerability in an AxonIQ Artifact in use. This object contains information about the artifact's group
ID, artifact ID, severity of the vulnerability, the recommended fix version, and a description of the vulnerability.
- Since:
- 4.12.0
- Author:
- Mitchell Herrijgers
-
Constructor Summary
ConstructorsConstructorDescriptionDetectedVulnerability(String groupId, String artifactId, DetectedVulnerabilitySeverity severity, String fixVersion, String description) Constructs aDetectedVulnerabilitywith the givengroupId,artifactId,severity,fixVersion, anddescription. -
Method Summary
Modifier and TypeMethodDescriptionReturns the artifact identifier of this detected vulnerability.Returns the description of this detected vulnerability.booleanReturns the fix version of this detected vulnerability.groupId()Returns the group identifier of this detected vulnerability.inthashCode()severity()Returns the severity of this detected vulnerability.toString()
-
Constructor Details
-
DetectedVulnerability
public DetectedVulnerability(String groupId, String artifactId, DetectedVulnerabilitySeverity severity, String fixVersion, String description) Constructs aDetectedVulnerabilitywith the givengroupId,artifactId,severity,fixVersion, anddescription.- Parameters:
groupId- The group ID of the artifact.artifactId- The artifact ID of the artifact.severity- The severity of the vulnerability, represented by theDetectedVulnerabilitySeverityenum.fixVersion- The recommended version to fix the vulnerability.description- A description of the vulnerability, providing details about its nature and impact.
-
-
Method Details
-
groupId
Returns the group identifier of this detected vulnerability.- Returns:
- The group identifier of this detected vulnerability.
-
artifactId
Returns the artifact identifier of this detected vulnerability.- Returns:
- The artifact identifier of this detected vulnerability.
-
severity
Returns the severity of this detected vulnerability.- Returns:
- The severity of this detected vulnerability.
-
fixVersion
Returns the fix version of this detected vulnerability.- Returns:
- The fix version of this detected vulnerability.
-
description
Returns the description of this detected vulnerability.- Returns:
- The description of this detected vulnerability.
-
equals
-
hashCode
public int hashCode() -
toString
-