Class ScriptDeprecated
- java.lang.Object
-
- org.zaproxy.clientapi.gen.deprecated.ScriptDeprecated
-
- Direct Known Subclasses:
Script
public class ScriptDeprecated extends java.lang.ObjectAPI implementation with deprecated methods, (re)moved from generated class.
-
-
Constructor Summary
Constructors Constructor Description ScriptDeprecated(ClientApi api)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ApiResponsedisable(java.lang.String apikey, java.lang.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.ApiResponseenable(java.lang.String apikey, java.lang.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.ApiResponseload(java.lang.String scriptname, java.lang.String scripttype, java.lang.String scriptengine, java.lang.String filename, java.lang.String scriptdescription)Loads a script into ZAP from the given local file, with the given name, type and engine, optionally with a descriptionApiResponseload(java.lang.String apikey, java.lang.String scriptname, java.lang.String scripttype, java.lang.String scriptengine, java.lang.String filename, java.lang.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.ApiResponseremove(java.lang.String apikey, java.lang.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.ApiResponserunStandAloneScript(java.lang.String apikey, java.lang.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 Detail
-
ScriptDeprecated
public ScriptDeprecated(ClientApi api)
-
-
Method Detail
-
enable
@Deprecated public ApiResponse enable(java.lang.String apikey, java.lang.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
-
disable
@Deprecated public ApiResponse disable(java.lang.String apikey, java.lang.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
@Deprecated public ApiResponse load(java.lang.String apikey, java.lang.String scriptname, java.lang.String scripttype, java.lang.String scriptengine, java.lang.String filename, java.lang.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 public ApiResponse remove(java.lang.String apikey, java.lang.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
-
runStandAloneScript
@Deprecated public ApiResponse runStandAloneScript(java.lang.String apikey, java.lang.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(java.lang.String scriptname, java.lang.String scripttype, java.lang.String scriptengine, java.lang.String filename, java.lang.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
-
-