public class UpdateContext extends Object implements Serializable
Constructor and Description |
---|
UpdateContext() |
Modifier and Type | Method and Description |
---|---|
void |
addFinishedTask(String task) |
String |
getCurrentTask() |
String |
getErrorText() |
List<String> |
getFinishedTasks() |
EUpdateStatus |
getUpdateStatus() |
void |
init() |
boolean |
isUpdateRunning() |
boolean |
isUpdateSuccessful() |
void |
reset() |
void |
setCurrentTask(String currentTask) |
void |
setErrorText(String errorText) |
void |
setFinishedTasks(List<String> finishedTasks) |
void |
setUpdateStatus(EUpdateStatus updateStatus) |
void |
setUpdateSuccessful(boolean updateSuccessful) |
@PostConstruct public void init()
public EUpdateStatus getUpdateStatus()
public void setUpdateStatus(EUpdateStatus updateStatus)
public boolean isUpdateSuccessful()
public void setUpdateSuccessful(boolean updateSuccessful)
public void addFinishedTask(String task)
public String getCurrentTask()
public void setCurrentTask(String currentTask)
public boolean isUpdateRunning()
public String getErrorText()
public void setErrorText(String errorText)
errorText
- the errorText to setpublic void reset()
Copyright © 2020 XIMA MEDIA GmbH. All rights reserved.