Class CliScanV1Parser
- java.lang.Object
-
- com.synopsys.integration.polaris.common.cli.model.json.parser.CliScanParser<CliScanV1>
-
- com.synopsys.integration.polaris.common.cli.model.json.parser.CliScanV1Parser
-
public class CliScanV1Parser extends CliScanParser<CliScanV1>
-
-
Constructor Summary
Constructors Constructor Description CliScanV1Parser(com.google.gson.Gson gson)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CliCommonResponseModel
fromCliScan(com.google.gson.JsonObject versionlessModel)
com.google.gson.reflect.TypeToken<CliScanV1>
getTypeToken()
-
Methods inherited from class com.synopsys.integration.polaris.common.cli.model.json.parser.CliScanParser
createCommonToolInfo, createResponseModel, fromJson, populateIssueSummary, populateProjectInfo, populateScanInfo
-
-
-
-
Method Detail
-
getTypeToken
public com.google.gson.reflect.TypeToken<CliScanV1> getTypeToken()
- Specified by:
getTypeToken
in classCliScanParser<CliScanV1>
-
fromCliScan
public CliCommonResponseModel fromCliScan(com.google.gson.JsonObject versionlessModel) throws com.synopsys.integration.exception.IntegrationException
- Specified by:
fromCliScan
in classCliScanParser<CliScanV1>
- Throws:
com.synopsys.integration.exception.IntegrationException
-
-