| Modifier and Type | Class and Description |
|---|---|
static class |
ZAProxy.ZAProxyDescriptorImpl
Descriptor for
ZAProxy. |
| Modifier and Type | Field and Description |
|---|---|
static String |
ALL_REPORT_FORMAT |
| Constructor and Description |
|---|
ZAProxy(boolean autoInstall,
String toolUsed,
String zapHome,
int timeoutInSec,
String filenameLoadSession,
String targetURL,
boolean spiderURL,
boolean scanURL,
boolean saveReports,
String chosenFormat,
String filenameReports,
boolean saveSession,
String filenameSaveSession) |
| Modifier and Type | Method and Description |
|---|---|
void |
executeZAP(hudson.model.AbstractBuild<?,?> build,
hudson.model.BuildListener listener)
Execute ZAProxy method following build's setup.
|
boolean |
getAutoInstall() |
String |
getChosenFormat() |
ZAProxy.ZAProxyDescriptorImpl |
getDescriptor() |
String |
getFilenameLoadSession() |
String |
getFilenameReports() |
String |
getFilenameSaveSession() |
boolean |
getSaveReports() |
boolean |
getSaveSession() |
boolean |
getScanURL() |
boolean |
getSpiderURL() |
String |
getTargetURL() |
int |
getTimeoutInSec() |
String |
getToolUsed() |
String |
getZapHome() |
void |
setZapProxyHost(String zapProxyHost) |
void |
setZapProxyPort(int zapProxyPort) |
void |
startZAP(hudson.model.AbstractBuild<?,?> build,
hudson.model.BuildListener listener)
Start ZAProxy using command line.
|
void |
stopZAP(hudson.model.BuildListener listener)
Stop ZAproxy if it has been previously started.
|
String |
toString() |
public static final String ALL_REPORT_FORMAT
@DataBoundConstructor
public ZAProxy(boolean autoInstall,
String toolUsed,
String zapHome,
int timeoutInSec,
String filenameLoadSession,
String targetURL,
boolean spiderURL,
boolean scanURL,
boolean saveReports,
String chosenFormat,
String filenameReports,
boolean saveSession,
String filenameSaveSession)
public ZAProxy.ZAProxyDescriptorImpl getDescriptor()
public boolean getAutoInstall()
public String getToolUsed()
public String getZapHome()
public int getTimeoutInSec()
public String getFilenameLoadSession()
public String getTargetURL()
public boolean getSpiderURL()
public boolean getScanURL()
public boolean getSaveReports()
public String getChosenFormat()
public String getFilenameReports()
public boolean getSaveSession()
public String getFilenameSaveSession()
public void setZapProxyHost(String zapProxyHost)
public void setZapProxyPort(int zapProxyPort)
public void startZAP(hudson.model.AbstractBuild<?,?> build,
hudson.model.BuildListener listener)
throws Exception
build - listener - the listener to display log during the job execution in jenkinsExceptionpublic void executeZAP(hudson.model.AbstractBuild<?,?> build,
hudson.model.BuildListener listener)
throws Exception
build - listener - the listener to display log during the job execution in jenkinsExceptionpublic void stopZAP(hudson.model.BuildListener listener)
listener - the listener to display log during the job execution in jenkinsCopyright © 2004-2015. All Rights Reserved.