Class ScriptDeprecated
java.lang.Object
org.zaproxy.clientapi.gen.deprecated.ScriptDeprecated
- Direct Known Subclasses:
Script
API implementation with deprecated methods, (re)moved from generated class.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.load(String scriptname, String scripttype, String scriptengine, String filename, String scriptdescription) Loads a script into ZAP from the given local file, with the given name, type and engine, optionally with a descriptionload(String apikey, String scriptname, String scripttype, String scriptengine, String filename, String scriptdescription) Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.runStandAloneScript(String apikey, String scriptname) Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.
-
Constructor Details
-
ScriptDeprecated
-
-
Method Details
-
enable
Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.ClientApi(String, int, String)).- Throws:
ClientApiException
-
disable
Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.ClientApi(String, int, String)).- Throws:
ClientApiException
-
load
@Deprecated public ApiResponse load(String apikey, String scriptname, String scripttype, String scriptengine, String filename, String scriptdescription) throws ClientApiException Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.ClientApi(String, int, String)).- Throws:
ClientApiException
-
remove
Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.ClientApi(String, int, String)).- Throws:
ClientApiException
-
runStandAloneScript
@Deprecated public ApiResponse runStandAloneScript(String apikey, String scriptname) throws ClientApiException Deprecated.(1.1.0) Use the method without the API key and use one of theClientApiconstructors that allow to set the API key (e.g.ClientApi(String, int, String)).- Throws:
ClientApiException
-
load
public ApiResponse load(String scriptname, String scripttype, String scriptengine, String filename, String scriptdescription) throws ClientApiException Loads a script into ZAP from the given local file, with the given name, type and engine, optionally with a description- Throws:
ClientApiException
-
ClientApiconstructors that allow to set the API key (e.g.