Class BridgeDownload
- java.lang.Object
-
- io.jenkins.plugins.synopsys.security.scan.bridge.BridgeDownload
-
public class BridgeDownload extends Object
-
-
Constructor Summary
Constructors Constructor Description BridgeDownload(FilePath workspace, TaskListener listener, EnvVars envVars)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
checkIfBridgeUrlExists(String bridgeDownloadUrl)
FilePath
downloadSynopsysBridge(String bridgeDownloadUrl, String bridgeInstallationPath)
int
getHttpStatusCode(String url)
boolean
terminateRetry(int statusCode)
-
-
-
Constructor Detail
-
BridgeDownload
public BridgeDownload(FilePath workspace, TaskListener listener, EnvVars envVars)
-
-
Method Detail
-
downloadSynopsysBridge
public FilePath downloadSynopsysBridge(String bridgeDownloadUrl, String bridgeInstallationPath) throws PluginExceptionHandler
- Throws:
PluginExceptionHandler
-
getHttpStatusCode
public int getHttpStatusCode(String url)
-
terminateRetry
public boolean terminateRetry(int statusCode)
-
checkIfBridgeUrlExists
public boolean checkIfBridgeUrlExists(String bridgeDownloadUrl)
-
-