Class ScanHostInfo

All Implemented Interfaces:
NessusResponse.ResponseChild<ScanHostInfo,​ScanHostResponse>, DbPojo

@Entity(name="ScanHostInfo")
public class ScanHostInfo
extends NessusResponse.SingleChildTemplate<ScanHostInfo,​ScanHostResponse>
Represents the "info" object returned by the Nessus API in /scans/<scan-id>/hosts/<host-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
    • getOperatingSystem

      public OperatingSystem getOperatingSystem()
      Gets operating system.
      Returns:
      the operating system
    • setOperatingSystem

      public void setOperatingSystem​(OperatingSystem operatingSystem)
      Sets operating system.
      Parameters:
      operatingSystem - the operating system
    • getHostIp

      public HostIp getHostIp()
      Gets host ip.
      Returns:
      the host ip
    • setHostIp

      public void setHostIp​(HostIp hostIp)
      Sets host ip.
      Parameters:
      hostIp - the host ip
    • getHostFqdn

      public HostFqdn getHostFqdn()
      Gets host fqdn.
      Returns:
      the host fqdn
    • setHostFqdn

      public void setHostFqdn​(HostFqdn hostFqdn)
      Sets host fqdn.
      Parameters:
      hostFqdn - the host fqdn
    • getNetbiosName

      public HostNetbiosName getNetbiosName()
      Gets netbios name.
      Returns:
      the netbios name
    • setNetbiosName

      public void setNetbiosName​(HostNetbiosName hostNetbiosName)
      Sets netbios name.
      Parameters:
      hostNetbiosName - the host netbios name
    • getHostStart

      public java.lang.String getHostStart()
      Gets host start.
      Returns:
      the host start
    • setHostStart

      public void setHostStart​(java.lang.String hostStart)
      Sets host start.
      Parameters:
      hostStart - the host start
    • getHostEnd

      public java.lang.String getHostEnd()
      Gets host end.
      Returns:
      the host end
    • setHostEnd

      public void setHostEnd​(java.lang.String hostEnd)
      Sets host end.
      Parameters:
      hostEnd - the host end