public class SdsConverter
extends java.lang.Object
Constructor and Description |
---|
SdsConverter() |
Modifier and Type | Method and Description |
---|---|
static Threat |
toThreat(ThreatInfo threatInfo)
Converts a
ThreatInfo into a Threat . |
static java.util.List<Threat> |
toThreatList(CloudScanResponse cloudResponse)
Converts a list of
CloudScanResponse into a list of Threat . |
static java.util.List<Threat> |
toThreatList(ThreatInfo[] threatInfos)
Converts a list of
ThreatInfo into a list of Threat . |
public static Threat toThreat(ThreatInfo threatInfo)
ThreatInfo
into a Threat
.threatInfo
- The ThreatInfo
to be converted.Threat
.public static java.util.List<Threat> toThreatList(ThreatInfo[] threatInfos)
ThreatInfo
into a list of Threat
.threatInfos
- The list of ThreatInfo
to be converted.Threat
.public static java.util.List<Threat> toThreatList(CloudScanResponse cloudResponse)
CloudScanResponse
into a list of Threat
.cloudResponse
- The list of CloudScanResponse
to be converted.Threat