Package tenapull.data.entity.splunk
Class HostVulnerabilityOutput.ScanHostSummary
java.lang.Object
tenapull.data.entity.splunk.HostVulnerabilityOutput.ScanHostSummary
- All Implemented Interfaces:
SummarySerializer.Summary<ScanHostInfo,ScanHost>
- Enclosing class:
- HostVulnerabilityOutput
public static class HostVulnerabilityOutput.ScanHostSummary extends java.lang.Object implements SummarySerializer.Summary<ScanHostInfo,ScanHost>
-
Method Summary
Modifier and Type Method Description ScanHost
getDetails()
Gets the "details" or "info" entity from the DBjava.lang.String
getName()
Get the name of the entity being summarizedjava.lang.Integer
getOptionalId()
Optionally returns an Integer id to be serialized as the first entry in the summary wrapper.ExtraJson
getOther()
Get any extra json to be included, or null if there is noneScanHostInfo
getSummary()
Gets the "summary" entity from the DB
-
Method Details
-
getName
public java.lang.String getName()Description copied from interface:SummarySerializer.Summary
Get the name of the entity being summarized- Specified by:
getName
in interfaceSummarySerializer.Summary<ScanHostInfo,ScanHost>
- Returns:
- the name of the entity being summarized
-
getOptionalId
public java.lang.Integer getOptionalId()Description copied from interface:SummarySerializer.Summary
Optionally returns an Integer id to be serialized as the first entry in the summary wrapper. If null is returned, the id field is omitted- Specified by:
getOptionalId
in interfaceSummarySerializer.Summary<ScanHostInfo,ScanHost>
- Returns:
- an id to be serialized, or null if omitting the id
-
getSummary
Description copied from interface:SummarySerializer.Summary
Gets the "summary" entity from the DB- Specified by:
getSummary
in interfaceSummarySerializer.Summary<ScanHostInfo,ScanHost>
- Returns:
- the summary entity
-
getDetails
Description copied from interface:SummarySerializer.Summary
Gets the "details" or "info" entity from the DB- Specified by:
getDetails
in interfaceSummarySerializer.Summary<ScanHostInfo,ScanHost>
- Returns:
- the details entity
-
getOther
Description copied from interface:SummarySerializer.Summary
Get any extra json to be included, or null if there is none- Specified by:
getOther
in interfaceSummarySerializer.Summary<ScanHostInfo,ScanHost>
- Returns:
- any ExtraJson to be included
-