Class TaskProgressionModel
java.lang.Object
org.wicketstuff.progressbar.ProgressionModel
org.wicketstuff.progressbar.spring.TaskProgressionModel
- All Implemented Interfaces:
Serializable,IDetachable,IModel<org.wicketstuff.progressbar.Progression>,IClusterable
public class TaskProgressionModel
extends org.wicketstuff.progressbar.ProgressionModel
Use this as a model for a ProgressBar, if tasks are submitted to the task service. The current
progress is fetched from the task service.
After scheduling a task, set the taskId.
- Author:
- Christopher Hlubek (hlubek)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.wicketstuff.progressbar.Progressionprotected ITaskServicevoidMethods inherited from class org.wicketstuff.progressbar.ProgressionModel
getObject
-
Constructor Details
-
TaskProgressionModel
-
TaskProgressionModel
public TaskProgressionModel()
-
-
Method Details
-
getProgression
protected org.wicketstuff.progressbar.Progression getProgression()- Specified by:
getProgressionin classorg.wicketstuff.progressbar.ProgressionModel
-
getTaskId
-
setTaskId
-
getTaskService
-