Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Package |
build() |
Package.Builder |
copy(Package model) |
Package.Builder |
cveFixVersion(String cveFixVersion)
Package version in which the CVE was fixed
|
Package.Builder |
locations(List<String> locations)
Disk locations where package was found
|
Package.Builder |
name(String name)
Name of the package
|
Package.Builder |
type(Package.Type type)
Package type
|
Package.Builder |
version(String version)
Package version
|
public Package.Builder name(String name)
Name of the package
name
- the value to setpublic Package.Builder version(String version)
Package version
version
- the value to setpublic Package.Builder cveFixVersion(String cveFixVersion)
Package version in which the CVE was fixed
cveFixVersion
- the value to setpublic Package.Builder type(Package.Type type)
Package type
type
- the value to setpublic Package.Builder locations(List<String> locations)
Disk locations where package was found
locations
- the value to setpublic Package build()
public Package.Builder copy(Package model)
Copyright © 2016–2024. All rights reserved.