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 ScanInfogetDetails()Gets the "details" or "info" entity from the DBjava.lang.StringgetName()Get the name of the entity being summarizedjava.lang.IntegergetOptionalId()Optionally returns an Integer id to be serialized as the first entry in the summary wrapper.ExtraJsongetOther()Get any extra json to be included, or null if there is noneScangetSummary()Gets the "summary" entity from the DB
-
Method Details
-
getName
public java.lang.String getName()Description copied from interface:SummarySerializer.SummaryGet the name of the entity being summarized- Specified by:
getNamein interfaceSummarySerializer.Summary<Scan,ScanInfo>- Returns:
- the name of the entity being summarized
-
getOptionalId
public java.lang.Integer getOptionalId()Description copied from interface:SummarySerializer.SummaryOptionally 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:
getOptionalIdin interfaceSummarySerializer.Summary<Scan,ScanInfo>- Returns:
- an id to be serialized, or null if omitting the id
-
getSummary
Description copied from interface:SummarySerializer.SummaryGets the "summary" entity from the DB- Specified by:
getSummaryin interfaceSummarySerializer.Summary<Scan,ScanInfo>- Returns:
- the summary entity
-
getDetails
Description copied from interface:SummarySerializer.SummaryGets the "details" or "info" entity from the DB- Specified by:
getDetailsin interfaceSummarySerializer.Summary<Scan,ScanInfo>- Returns:
- the details entity
-
getOther
Description copied from interface:SummarySerializer.SummaryGet any extra json to be included, or null if there is none- Specified by:
getOtherin interfaceSummarySerializer.Summary<Scan,ScanInfo>- Returns:
- any ExtraJson to be included
-