Class ScriptDeprecated
- java.lang.Object
-
- org.zaproxy.clientapi.gen.deprecated.ScriptDeprecated
-
- Direct Known Subclasses:
Script
public class ScriptDeprecated extends java.lang.Object
API 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 ApiResponse
disable(java.lang.String apikey, java.lang.String scriptname)
Deprecated.(1.1.0) Use the method without the API key and use one of theClientApi
constructors that allow to set the API key (e.g.ApiResponse
enable(java.lang.String apikey, java.lang.String scriptname)
Deprecated.(1.1.0) Use the method without the API key and use one of theClientApi
constructors that allow to set the API key (e.g.ApiResponse
load(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 descriptionApiResponse
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)
Deprecated.(1.1.0) Use the method without the API key and use one of theClientApi
constructors that allow to set the API key (e.g.ApiResponse
remove(java.lang.String apikey, java.lang.String scriptname)
Deprecated.(1.1.0) Use the method without the API key and use one of theClientApi
constructors that allow to set the API key (e.g.ApiResponse
runStandAloneScript(java.lang.String apikey, java.lang.String scriptname)
Deprecated.(1.1.0) Use the method without the API key and use one of theClientApi
constructors 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 theClientApi
constructors 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 theClientApi
constructors 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 theClientApi
constructors 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 theClientApi
constructors 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 theClientApi
constructors 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
-
-