Common methods used in tasks.
| Type Params | Return Type | Name and description |
|---|---|---|
|
org.gradle.internal.logging.progress.ProgressLogger |
createProgressLogger() |
|
boolean |
isZapRunning(ZapPluginExtension zapConfig)Check if the ZAP process defined in the extension is listening on the proxy port. |
|
void |
waitForCompletion(org.gradle.internal.logging.progress.ProgressLogger progress, int timeout, groovy.lang.Closure<java.lang.Integer> fetchStatus, groovy.lang.Closure<java.lang.String> progressMessage = null)Wait for a background process in ZAP to complete and report progress to Gradle. |
Check if the ZAP process defined in the extension is listening on the proxy port.
Wait for a background process in ZAP to complete and report progress to Gradle.
progress - Gradle progress loggertimeout - timeout in secondsfetchStatus - closure returning a percent complete, 0-100 with 100 meaning completeprogressMessage - optional closure returning a message to include in the progress logger
(the percent complete is already included)