Class NugetPackage
- java.lang.Object
-
- org.owasp.dependencycheck.data.nuget.NugetPackageReference
-
- org.owasp.dependencycheck.data.nuget.NugetPackage
-
@ThreadSafe public class NugetPackage extends NugetPackageReference
Represents the contents of a Nuspec manifest.- Author:
- colezlaw
-
-
Constructor Summary
Constructors Constructor Description NugetPackage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String
getAuthors()
Gets the authors.java.lang.String
getDescription()
Gets the description.java.lang.String
getLicenseUrl()
Gets the licenseUrl.java.lang.String
getOwners()
Gets the owners.java.lang.String
getTitle()
Gets the title.int
hashCode()
void
setAuthors(java.lang.String authors)
Sets the authors.void
setDescription(java.lang.String description)
Sets the description.void
setLicenseUrl(java.lang.String licenseUrl)
Sets the licenseUrl.void
setOwners(java.lang.String owners)
Sets the owners.void
setTitle(java.lang.String title)
Sets the title.-
Methods inherited from class org.owasp.dependencycheck.data.nuget.NugetPackageReference
getId, getVersion, setId, setVersion
-
-
-
-
Method Detail
-
setTitle
public void setTitle(java.lang.String title)
Sets the title.- Parameters:
title
- the title
-
getTitle
public java.lang.String getTitle()
Gets the title.- Returns:
- the title
-
setAuthors
public void setAuthors(java.lang.String authors)
Sets the authors.- Parameters:
authors
- the authors
-
getAuthors
public java.lang.String getAuthors()
Gets the authors.- Returns:
- the authors
-
setOwners
public void setOwners(java.lang.String owners)
Sets the owners.- Parameters:
owners
- the owners
-
getOwners
public java.lang.String getOwners()
Gets the owners.- Returns:
- the owners
-
setLicenseUrl
public void setLicenseUrl(java.lang.String licenseUrl)
Sets the licenseUrl.- Parameters:
licenseUrl
- the licenseUrl
-
getLicenseUrl
public java.lang.String getLicenseUrl()
Gets the licenseUrl.- Returns:
- the licenseUrl
-
getDescription
public java.lang.String getDescription()
Gets the description.- Returns:
- the description
-
setDescription
public void setDescription(java.lang.String description)
Sets the description.- Parameters:
description
- the description
-
equals
public boolean equals(java.lang.Object obj)
Description copied from class:NugetPackageReference
- Overrides:
equals
in classNugetPackageReference
-
hashCode
public int hashCode()
Description copied from class:NugetPackageReference
- Overrides:
hashCode
in classNugetPackageReference
-
-