java.lang.Object
org.jenkinsci.plugins.DependencyCheck.model.Dependency
All Implemented Interfaces:
Serializable

public class Dependency extends Object implements Serializable
Java Bean class for a Dependency found by DependencyCheck.
Since:
5.0.0
Author:
Steve Springett (steve.springett@owasp.org)
See Also:
  • Constructor Details

    • Dependency

      public Dependency()
  • Method Details

    • getFileName

      public String getFileName()
    • setFileName

      public void setFileName(String fileName)
    • getFilePath

      public String getFilePath()
    • setFilePath

      public void setFilePath(String filePath)
    • getMd5

      public String getMd5()
    • setMd5

      public void setMd5(String md5)
    • getSha1

      public String getSha1()
    • setSha1

      public void setSha1(String sha1)
    • getSha256

      public String getSha256()
    • setSha256

      public void setSha256(String sha256)
    • getDescription

      public String getDescription()
    • setDescription

      public void setDescription(String description)
    • getLicense

      public String getLicense()
    • setLicense

      public void setLicense(String license)
    • getVulnerabilities

      public List<Vulnerability> getVulnerabilities()
    • setVulnerabilities

      public void setVulnerabilities(List<Vulnerability> vulnerabilities)
    • addVulnerability

      public void addVulnerability(Vulnerability vulnerability)
    • getProjectReferences

      public List<String> getProjectReferences()
    • setProjectReferences

      public void setProjectReferences(List<String> projectReferences)
    • addProjectReference

      public void addProjectReference(String projectReference)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object