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 booleanequals(java.lang.Object obj)java.lang.StringgetAuthors()Gets the authors.java.lang.StringgetDescription()Gets the description.java.lang.StringgetLicenseUrl()Gets the licenseUrl.java.lang.StringgetOwners()Gets the owners.java.lang.StringgetTitle()Gets the title.inthashCode()voidsetAuthors(java.lang.String authors)Sets the authors.voidsetDescription(java.lang.String description)Sets the description.voidsetLicenseUrl(java.lang.String licenseUrl)Sets the licenseUrl.voidsetOwners(java.lang.String owners)Sets the owners.voidsetTitle(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:
equalsin classNugetPackageReference
-
hashCode
public int hashCode()
Description copied from class:NugetPackageReference- Overrides:
hashCodein classNugetPackageReference
-
-