Package org.zaproxy.clientapi.gen
Class Autoupdate
- java.lang.Object
-
- org.zaproxy.clientapi.gen.deprecated.AutoupdateDeprecated
-
- org.zaproxy.clientapi.gen.Autoupdate
-
public class Autoupdate extends AutoupdateDeprecated
This file was automatically generated.
-
-
Constructor Summary
Constructors Constructor Description Autoupdate(ClientApi api)
-
Method Summary
-
Methods inherited from class org.zaproxy.clientapi.gen.deprecated.AutoupdateDeprecated
downloadLatestRelease, setOptionCheckAddonUpdates, setOptionCheckOnStart, setOptionDownloadNewRelease, setOptionInstallAddonUpdates, setOptionInstallScannerRules, setOptionReportAlphaAddons, setOptionReportBetaAddons, setOptionReportReleaseAddons
-
-
-
-
Constructor Detail
-
Autoupdate
public Autoupdate(ClientApi api)
-
-
Method Detail
-
latestVersionNumber
public ApiResponse latestVersionNumber() throws ClientApiException
Returns the latest version number- Throws:
ClientApiException
-
isLatestVersion
public ApiResponse isLatestVersion() throws ClientApiException
Returns 'true' if ZAP is on the latest version- Throws:
ClientApiException
-
installedAddons
public ApiResponse installedAddons() throws ClientApiException
Return a list of all of the installed add-ons- Throws:
ClientApiException
-
localAddons
public ApiResponse localAddons() throws ClientApiException
Returns a list with all local add-ons, installed or not.- Throws:
ClientApiException
-
newAddons
public ApiResponse newAddons() throws ClientApiException
Return a list of any add-ons that have been added to the Marketplace since the last check for updates- Throws:
ClientApiException
-
updatedAddons
public ApiResponse updatedAddons() throws ClientApiException
Return a list of any add-ons that have been changed in the Marketplace since the last check for updates- Throws:
ClientApiException
-
marketplaceAddons
public ApiResponse marketplaceAddons() throws ClientApiException
Return a list of all of the add-ons on the ZAP Marketplace (this information is read once and then cached)- Throws:
ClientApiException
-
optionAddonDirectories
public ApiResponse optionAddonDirectories() throws ClientApiException
- Throws:
ClientApiException
-
optionDayLastChecked
public ApiResponse optionDayLastChecked() throws ClientApiException
- Throws:
ClientApiException
-
optionDayLastInstallWarned
public ApiResponse optionDayLastInstallWarned() throws ClientApiException
- Throws:
ClientApiException
-
optionDayLastUpdateWarned
public ApiResponse optionDayLastUpdateWarned() throws ClientApiException
- Throws:
ClientApiException
-
optionDownloadDirectory
public ApiResponse optionDownloadDirectory() throws ClientApiException
- Throws:
ClientApiException
-
optionCheckAddonUpdates
public ApiResponse optionCheckAddonUpdates() throws ClientApiException
- Throws:
ClientApiException
-
optionCheckOnStart
public ApiResponse optionCheckOnStart() throws ClientApiException
- Throws:
ClientApiException
-
optionDownloadNewRelease
public ApiResponse optionDownloadNewRelease() throws ClientApiException
- Throws:
ClientApiException
-
optionInstallAddonUpdates
public ApiResponse optionInstallAddonUpdates() throws ClientApiException
- Throws:
ClientApiException
-
optionInstallScannerRules
public ApiResponse optionInstallScannerRules() throws ClientApiException
- Throws:
ClientApiException
-
optionReportAlphaAddons
public ApiResponse optionReportAlphaAddons() throws ClientApiException
- Throws:
ClientApiException
-
optionReportBetaAddons
public ApiResponse optionReportBetaAddons() throws ClientApiException
- Throws:
ClientApiException
-
optionReportReleaseAddons
public ApiResponse optionReportReleaseAddons() throws ClientApiException
- Throws:
ClientApiException
-
downloadLatestRelease
public ApiResponse downloadLatestRelease() throws ClientApiException
Downloads the latest release, if any- Throws:
ClientApiException
-
installAddon
public ApiResponse installAddon(java.lang.String id) throws ClientApiException
Installs or updates the specified add-on, returning when complete (i.e. not asynchronously)- Throws:
ClientApiException
-
installLocalAddon
public ApiResponse installLocalAddon(java.lang.String file) throws ClientApiException
- Throws:
ClientApiException
-
uninstallAddon
public ApiResponse uninstallAddon(java.lang.String id) throws ClientApiException
Uninstalls the specified add-on- Throws:
ClientApiException
-
setOptionCheckAddonUpdates
public ApiResponse setOptionCheckAddonUpdates(boolean bool) throws ClientApiException
- Throws:
ClientApiException
-
setOptionCheckOnStart
public ApiResponse setOptionCheckOnStart(boolean bool) throws ClientApiException
- Throws:
ClientApiException
-
setOptionDownloadNewRelease
public ApiResponse setOptionDownloadNewRelease(boolean bool) throws ClientApiException
- Throws:
ClientApiException
-
setOptionInstallAddonUpdates
public ApiResponse setOptionInstallAddonUpdates(boolean bool) throws ClientApiException
- Throws:
ClientApiException
-
setOptionInstallScannerRules
public ApiResponse setOptionInstallScannerRules(boolean bool) throws ClientApiException
- Throws:
ClientApiException
-
setOptionReportAlphaAddons
public ApiResponse setOptionReportAlphaAddons(boolean bool) throws ClientApiException
- Throws:
ClientApiException
-
setOptionReportBetaAddons
public ApiResponse setOptionReportBetaAddons(boolean bool) throws ClientApiException
- Throws:
ClientApiException
-
setOptionReportReleaseAddons
public ApiResponse setOptionReportReleaseAddons(boolean bool) throws ClientApiException
- Throws:
ClientApiException
-
-