Package de.xima.fc.mdl.system
Class UpdateContext
- java.lang.Object
-
- de.xima.fc.mdl.system.UpdateContext
-
- All Implemented Interfaces:
Serializable
public class UpdateContext extends Object implements Serializable
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UpdateContext()
Deprecated.UseUpdateContext(String)
isntead.UpdateContext(String i18nTitle)
-
Method Summary
-
-
-
Constructor Detail
-
UpdateContext
public UpdateContext(String i18nTitle)
-
UpdateContext
@Deprecated public UpdateContext()
Deprecated.UseUpdateContext(String)
isntead.
-
-
Method Detail
-
init
public void init()
-
getI18nTitle
public String getI18nTitle()
-
getUpdateStatus
public EUpdateStatus getUpdateStatus()
-
setUpdateStatus
public void setUpdateStatus(EUpdateStatus updateStatus)
-
isUpdateSuccessful
public boolean isUpdateSuccessful()
-
setUpdateSuccessful
public void setUpdateSuccessful(boolean updateSuccessful)
-
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, passnull
or an empty result.- Parameters:
pluginUpdateResult
- Results from the plugin update.
-
getPluginUpdateCheckResults
public List<PluginUpdateCheckResult> getPluginUpdateCheckResults()
-
setPluginUpdateCheckResults
public void setPluginUpdateCheckResults(List<PluginUpdateCheckResult> pluginUpdateCheckResults)
-
-