Class UpdateContext

    • Method Detail

      • init

        public void init()
      • getI18nTitle

        public String getI18nTitle()
      • setUpdateStatus

        public void setUpdateStatus​(EUpdateStatus updateStatus)
      • isUpdateSuccessful

        public boolean isUpdateSuccessful()
      • setUpdateSuccessful

        public void setUpdateSuccessful​(boolean updateSuccessful)
      • getFinishedTasks

        public List<String> getFinishedTasks()
      • setFinishedTasks

        public void setFinishedTasks​(List<String> finishedTasks)
      • addFinishedTask

        public void addFinishedTask​(String task)
      • getCurrentTask

        public String getCurrentTask()
      • setCurrentTask

        public void setCurrentTask​(String currentTask)
      • isUpdateRunning

        public boolean isUpdateRunning()
      • getErrorText

        public String getErrorText()
      • setErrorText

        public void setErrorText​(String errorText)
      • setTotalUpdateCount

        public void setTotalUpdateCount​(int totalUpdateCount)
      • setFinishedUpdateCount

        public void setFinishedUpdateCount​(int finishedUpdateCount)
      • getProgress

        public Integer getProgress()
      • isProgressDeterminate

        public boolean isProgressDeterminate()
      • reset

        public void reset()
      • isUpdatesFound

        public boolean isUpdatesFound()
      • setUpdatesFound

        public void setUpdatesFound​(boolean updatesFound)
      • getPluginUpdateResult

        public PluginsUpdateStepResult getPluginUpdateResult()
        Gets the model with all results from the plugin update step. If the plugin update step is disabled, this will return an empty result.
        Returns:
        Results from the plugin update.
      • setPluginUpdateResult

        public void setPluginUpdateResult​(PluginsUpdateStepResult pluginUpdateResult)
        Sets the model with all results from the plugin update step. If the plugin update step is disabled, pass null or an empty result.
        Parameters:
        pluginUpdateResult - Results from the plugin update.