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 Details

    • NugetPackage

      public NugetPackage()
  • Method Details

    • setTitle

      public void setTitle(String title)
      Sets the title.
      Parameters:
      title - the title
    • getTitle

      public String getTitle()
      Gets the title.
      Returns:
      the title
    • setAuthors

      public void setAuthors(String authors)
      Sets the authors.
      Parameters:
      authors - the authors
    • getAuthors

      public String getAuthors()
      Gets the authors.
      Returns:
      the authors
    • setOwners

      public void setOwners(String owners)
      Sets the owners.
      Parameters:
      owners - the owners
    • getOwners

      public String getOwners()
      Gets the owners.
      Returns:
      the owners
    • setLicenseUrl

      public void setLicenseUrl(String licenseUrl)
      Sets the licenseUrl.
      Parameters:
      licenseUrl - the licenseUrl
    • getLicenseUrl

      public String getLicenseUrl()
      Gets the licenseUrl.
      Returns:
      the licenseUrl
    • getDescription

      public String getDescription()
      Gets the description.
      Returns:
      the description
    • setDescription

      public void setDescription(String description)
      Sets the description.
      Parameters:
      description - the description
    • equals

      public boolean equals(Object obj)
      Description copied from class: NugetPackageReference
      Overrides:
      equals in class NugetPackageReference
    • hashCode

      public int hashCode()
      Description copied from class: NugetPackageReference
      Overrides:
      hashCode in class NugetPackageReference