Class UpdateContext
- java.lang.Object
-
- de.xima.fc.gui.bean.settings.model.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()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Method Detail
-
init
public void init()
-
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()
- Returns:
- the errorText
-
setErrorText
public void setErrorText(String errorText)
- Parameters:
errorText
- the errorText to set
-
reset
public void reset()
-
-