Class AutoUpdateAPI

    • Method Detail

      • handleApiAction

        public ApiResponse handleApiAction​(java.lang.String name,
                                           net.sf.json.JSONObject params)
                                    throws ApiException
        Description copied from class: ApiImplementor
        Override if implementing one or more actions
        Overrides:
        handleApiAction in class ApiImplementor
        Parameters:
        name - the name of the requested action
        params - the API request parameters
        Returns:
        the API response
        Throws:
        ApiException - if an error occurred while handling the API action endpoint
      • handleApiView

        public ApiResponse handleApiView​(java.lang.String name,
                                         net.sf.json.JSONObject params)
                                  throws ApiException
        Description copied from class: ApiImplementor
        Override if implementing one or more views
        Overrides:
        handleApiView in class ApiImplementor
        Parameters:
        name - the name of the requested view
        params - the API request parameters
        Returns:
        the API response
        Throws:
        ApiException - if an error occurred while handling the API view endpoint
      • getLatestVersionNumber

        public java.lang.String getLatestVersionNumber()
      • isLatestVersion

        public boolean isLatestVersion()
      • downloadLatestRelease

        public boolean downloadLatestRelease()