Class BridgeDownloadParametersService
- java.lang.Object
-
- io.jenkins.plugins.synopsys.security.scan.service.bridge.BridgeDownloadParametersService
-
public class BridgeDownloadParametersService extends Object
-
-
Constructor Summary
Constructors Constructor Description BridgeDownloadParametersService(FilePath workspace, TaskListener listener)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BridgeDownloadParameters
getBridgeDownloadParams(Map<String,Object> scanParameters, BridgeDownloadParameters bridgeDownloadParameters)
String
getPlatform(String version)
String
getSynopsysBridgeZipFileName()
String
getSynopsysBridgeZipFileName(String version)
boolean
isValidInstallationPath(String installationPath)
boolean
isValidUrl(String url)
boolean
isValidVersion(String version)
boolean
isVersionCompatibleForMacARM(String version)
boolean
performBridgeDownloadParameterValidation(BridgeDownloadParameters bridgeDownloadParameters)
-
-
-
Constructor Detail
-
BridgeDownloadParametersService
public BridgeDownloadParametersService(FilePath workspace, TaskListener listener)
-
-
Method Detail
-
performBridgeDownloadParameterValidation
public boolean performBridgeDownloadParameterValidation(BridgeDownloadParameters bridgeDownloadParameters) throws PluginExceptionHandler
- Throws:
PluginExceptionHandler
-
isValidUrl
public boolean isValidUrl(String url)
-
isValidVersion
public boolean isValidVersion(String version)
-
isValidInstallationPath
public boolean isValidInstallationPath(String installationPath)
-
getBridgeDownloadParams
public BridgeDownloadParameters getBridgeDownloadParams(Map<String,Object> scanParameters, BridgeDownloadParameters bridgeDownloadParameters)
-
getSynopsysBridgeZipFileName
public String getSynopsysBridgeZipFileName()
-
isVersionCompatibleForMacARM
public boolean isVersionCompatibleForMacARM(String version)
-
-