Class PluginVulnInformation

All Implemented Interfaces:
java.lang.Comparable<PluginVulnInformation>, DbPojo, HashLookupPojo<PluginVulnInformation>

@Entity(name="PluginVulnInformation")
public class PluginVulnInformation
extends HashLookupTemplate<PluginVulnInformation>
Represents a reusable "object lookup", for the vuln_information object included in the plugin attributes returned from the Nessus API at /scans/<scan-id>
  • Field Details

  • Constructor Details

  • Method Details

    • _prepare

      public void _prepare()
      Description copied from interface: DbPojo
      Perform any operations necessary to prepare this pojo for insertion or updating in the database
    • _set

      public void _set​(PluginVulnInformation o)
      Description copied from interface: HashLookupPojo
      Synchronize the values of two matching POJOs which represent the same DB record
      Parameters:
      o - the other pojo representing the same DB record, which the values should be taken from
    • _match

      public boolean _match​(PluginVulnInformation o)
      Description copied from interface: HashLookupPojo
      Determine if this pojo represents the same DB record as another POJO of the same type. Note that this is NOT the same as the equals() method (though it may be in certain cases). Equals may be used to determine if two pojos of the same type contain all of the same values, regardless of whether they represent the same DB record (depending on implementation) while _match determines only if they represent the same DB record even if some of the values may not be equivalent. In many cases the two methods may be the same, but their purpose is different.
      Parameters:
      o - other pojo to match
      Returns:
      true if the two pojos represent the same DB record, false if not
    • getInTheNews

      public java.lang.String getInTheNews()
      Gets in the news.
      Returns:
      the in the news
    • setInTheNews

      public void setInTheNews​(java.lang.String inTheNews)
      Sets in the news.
      Parameters:
      inTheNews - the in the news
    • getVulnPublicationDate

      public java.lang.String getVulnPublicationDate()
      Gets vuln publication date.
      Returns:
      the vuln publication date
    • setVulnPublicationDate

      public void setVulnPublicationDate​(java.lang.String vulnPublicationDate)
      Sets vuln publication date.
      Parameters:
      vulnPublicationDate - the vuln publication date
    • getExploitabilityEase

      public java.lang.String getExploitabilityEase()
      Gets exploitability ease.
      Returns:
      the exploitability ease
    • setExploitabilityEase

      public void setExploitabilityEase​(java.lang.String exploitabilityEase)
      Sets exploitability ease.
      Parameters:
      exploitabilityEase - the exploitability ease
    • getExploitAvailable

      public java.lang.String getExploitAvailable()
      Gets exploit available.
      Returns:
      the exploit available
    • setExploitAvailable

      public void setExploitAvailable​(java.lang.String exploitAvailable)
      Sets exploit available.
      Parameters:
      exploitAvailable - the exploit available
    • getPatchPublicationDate

      public java.lang.String getPatchPublicationDate()
      Gets patch publication date.
      Returns:
      the patch publication date
    • setPatchPublicationDate

      public void setPatchPublicationDate​(java.lang.String patchPublicationDate)
      Sets patch publication date.
      Parameters:
      patchPublicationDate - the patch publication date
    • getCpe

      public Cpe getCpe()
      Gets cpe.
      Returns:
      the cpe
    • setCpe

      public void setCpe​(Cpe cpe)
      Sets cpe.
      Parameters:
      cpe - the cpe