Interface NessusResponse<RES extends NessusResponse<RES>>

Type Parameters:
RES - the Response type implementing NessusResponse
All Superinterfaces:
DbPojo
All Known Implementing Classes:
IndexResponse, NessusResponseGenerateTimestamp, NessusResponseWithTimestamp, ScanHostResponse, ScanResponse

@MappedSuperclass
public interface NessusResponse<RES extends NessusResponse<RES>>
extends DbPojo
Interface representing a response from the Nessus API, with some utility abstract classes that can be implemented by nested objects within a response, in order to link those objects to the parent response entity
  • Method Details

    • getUrlPath

      java.lang.String getUrlPath()
      Gets url path for the Nessus API
      Returns:
      the url path
    • getTimestamp

      java.sql.Timestamp getTimestamp()
      Gets timestamp. This may be the one provided by the Nessus API, or one generated by this application, depending on the nature of the Nessus API response
      Returns:
      the timestamp
    • setTimestamp

      void setTimestamp​(java.sql.Timestamp timestamp)
      Sets the Timestamp
      Parameters:
      timestamp - the timestamp