Class CpePlus

java.lang.Object
org.owasp.dependencycheck.data.update.cpe.CpePlus

@ThreadSafe public class CpePlus extends Object
A simple wrapper object that allows one to carry the ecosystem along with the CPE.
Author:
Jeremy Long
  • Constructor Details

    • CpePlus

      public CpePlus(us.springett.parsers.cpe.Cpe cpe, String ecosystem)
      Construct a new CPE plus object.
      Parameters:
      cpe - the CPE
      ecosystem - the ecosystem
  • Method Details

    • getEcosystem

      public String getEcosystem()
      Get the value of ecosystem.
      Returns:
      the value of ecosystem
    • setEcosystem

      public void setEcosystem(String ecosystem)
      Set the value of ecosystem.
      Parameters:
      ecosystem - new value of ecosystem
    • getCpe

      public us.springett.parsers.cpe.Cpe getCpe()
      Get the value of CPE.
      Returns:
      the value of CPE
    • setCpe

      public void setCpe(us.springett.parsers.cpe.Cpe cpe)
      Set the value of CPE.
      Parameters:
      cpe - new value of CPE