Package tenapull.data.entity.splunk
Class HostVulnerabilityOutput.ScanSummary
java.lang.Object
tenapull.data.entity.splunk.HostVulnerabilityOutput.ScanSummary
- All Implemented Interfaces:
SummarySerializer.Summary<Scan,ScanInfo>
- Enclosing class:
- HostVulnerabilityOutput
public static class HostVulnerabilityOutput.ScanSummary extends java.lang.Object implements SummarySerializer.Summary<Scan,ScanInfo>
-
Method Summary
Modifier and Type Method Description ScanInfo
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 noneScan
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<Scan,ScanInfo>
- 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<Scan,ScanInfo>
- 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<Scan,ScanInfo>
- 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<Scan,ScanInfo>
- 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<Scan,ScanInfo>
- Returns:
- any ExtraJson to be included
-