Interface Identifier
-
- All Superinterfaces:
java.lang.Comparable<Identifier>
,java.io.Serializable
- All Known Implementing Classes:
CpeIdentifier
,GenericIdentifier
,PurlIdentifier
public interface Identifier extends java.lang.Comparable<Identifier>, java.io.Serializable
The Identifier used to label dependencies. Examples of identifiers include Maven Group Artifact Version coordinates or the NVD's Common Platform Enumeration.- Author:
- Jeremy Long
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Confidence
getConfidence()
Get the value of confidence.java.lang.String
getNotes()
Get the value of notes from suppression notes.java.lang.String
getUrl()
Get the value of URL.java.lang.String
getValue()
Get the string representation of the Identifier.void
setConfidence(Confidence confidence)
Set the value of confidence.void
setNotes(java.lang.String notes)
Set the value of notes.void
setUrl(java.lang.String url)
Set the value of URL.
-
-
-
Method Detail
-
getConfidence
Confidence getConfidence()
Get the value of confidence.- Returns:
- the value of confidence
-
setConfidence
void setConfidence(Confidence confidence)
Set the value of confidence.- Parameters:
confidence
- the value of confidence
-
getUrl
java.lang.String getUrl()
Get the value of URL.- Returns:
- the value of URL
-
setUrl
void setUrl(java.lang.String url)
Set the value of URL.- Parameters:
url
- the value of URL
-
getNotes
java.lang.String getNotes()
Get the value of notes from suppression notes.- Returns:
- the value of notes
-
getValue
java.lang.String getValue()
Get the string representation of the Identifier.- Returns:
- the value of notes
-
setNotes
void setNotes(java.lang.String notes)
Set the value of notes.- Parameters:
notes
- new value of notes
-
-