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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addFinishedTask(String task)
String
getCurrentTask()
String
getErrorText()
List<String>
getFinishedTasks()
String
getI18nTitle()
Integer
getProgress()
EUpdateStatus
getUpdateStatus()
void
init()
boolean
isProgressDeterminate()
boolean
isUpdateRunning()
boolean
isUpdateSuccessful()
void
reset()
void
setCurrentTask(String currentTask)
void
setErrorText(String errorText)
void
setFinishedTasks(List<String> finishedTasks)
void
setFinishedUpdateCount(int finishedUpdateCount)
void
setTotalUpdateCount(int totalUpdateCount)
void
setUpdateStatus(EUpdateStatus updateStatus)
void
setUpdateSuccessful(boolean updateSuccessful)
-
-
-
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()
-
-