@Extension public static class ZAProxy.ZAProxyDescriptorImpl extends hudson.model.Descriptor<ZAProxy>
ZAProxy. Used as a singleton.
The class is marked as public so that it can be accessed from views.
See src/main/resources/fr/novia/zaproxyplugin/ZAProxy/*.jelly for the actual HTML fragment for the configuration screen.
| Constructor and Description |
|---|
ZAProxy.ZAProxyDescriptorImpl()
In order to load the persisted global configuration, you have to
call load() in the constructor.
|
| Modifier and Type | Method and Description |
|---|---|
hudson.util.FormValidation |
doCheckFilenameReports(String filenameReports)
Performs on-the-fly validation of the form field 'filenameReports'.
|
hudson.util.FormValidation |
doCheckFilenameSaveSession(String filenameLoadSession,
String filenameSaveSession)
Performs on-the-fly validation of the form field 'filenameSaveSession'.
|
hudson.util.ListBoxModel |
doFillChosenFormatItems()
List model to choose the alert report format
|
hudson.util.ListBoxModel |
doFillToolUsedItems()
List model to choose the tool used (normally, it should be the ZAProxy tool)
|
String |
getDisplayName() |
List<String> |
getFormatList() |
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, find, find, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMappublic ZAProxy.ZAProxyDescriptorImpl()
public String getDisplayName()
getDisplayName in class hudson.model.Descriptor<ZAProxy>public hudson.util.FormValidation doCheckFilenameReports(@QueryParameter(value="filenameReports")
String filenameReports)
throws IOException,
javax.servlet.ServletException
filenameReports - This parameter receives the value that the user has typed.
Note that returning FormValidation.error(String) does not
prevent the form from being saved. It just means that a message
will be displayed to the user.
IOExceptionjavax.servlet.ServletExceptionpublic hudson.util.FormValidation doCheckFilenameSaveSession(@QueryParameter(value="filenameLoadSession")
String filenameLoadSession,
@QueryParameter(value="filenameSaveSession")
String filenameSaveSession)
throws IOException,
javax.servlet.ServletException
If the user wants to save session whereas a session is already loaded, the relative path to the saved session must be different from the relative path to the loaded session.
filenameLoadSession - Parameter to compare with filenameSaveSession.filenameSaveSession - This parameter receives the value that the user has typed.
Note that returning FormValidation.error(String) does not
prevent the form from being saved. It just means that a message
will be displayed to the user.
IOExceptionjavax.servlet.ServletExceptionpublic hudson.util.ListBoxModel doFillChosenFormatItems()
ListBoxModelpublic hudson.util.ListBoxModel doFillToolUsedItems()
ListBoxModelCopyright © 2004-2015. All Rights Reserved.