Package com.vaadin.appsec.backend.model
Class AppSecData.VulnerabilityAssessment
java.lang.Object
com.vaadin.appsec.backend.model.AppSecData.VulnerabilityAssessment
- Enclosing class:
- AppSecData
Data object to store the analysis status of a single vulnerability.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets the developer analysis.getId()Gets the vulnerability ID.Gets the status.Gets the timestamp of the most recent analysis update.inthashCode()voidsetDeveloperAnalysis(String developerAnalysis) Sets the developer analysis.voidSets the vulnerability ID.voidSets the status.voidsetUpdated(Instant updated) Sets the timestamp of the most recent analysis update.
-
Constructor Details
-
VulnerabilityAssessment
public VulnerabilityAssessment()
-
-
Method Details
-
getId
Gets the vulnerability ID.- Returns:
- the vulnerability ID
-
setId
Sets the vulnerability ID.- Parameters:
id- the vulnerability ID
-
getUpdated
Gets the timestamp of the most recent analysis update.- Returns:
- the timestamp
-
setUpdated
Sets the timestamp of the most recent analysis update.- Parameters:
updated- the timestamp
-
getDeveloperAnalysis
Gets the developer analysis.- Returns:
- the developer analysis
-
setDeveloperAnalysis
Sets the developer analysis.- Parameters:
developerAnalysis- the developer analysis
-
getStatus
Gets the status.- Returns:
- the status
-
setStatus
Sets the status.- Parameters:
status- the status
-
hashCode
public int hashCode() -
equals
-