org.wicketstuff.progressbar.spring
Class TaskProgressionModel
java.lang.Object
org.apache.wicket.model.AbstractReadOnlyModel<org.wicketstuff.progressbar.Progression>
org.wicketstuff.progressbar.ProgressionModel
org.wicketstuff.progressbar.spring.TaskProgressionModel
- All Implemented Interfaces:
- Serializable, org.apache.wicket.model.IDetachable, org.apache.wicket.model.IModel<org.wicketstuff.progressbar.Progression>, org.apache.wicket.util.io.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:
- Serialized Form
| Methods inherited from class org.wicketstuff.progressbar.ProgressionModel |
getObject |
| Methods inherited from class org.apache.wicket.model.AbstractReadOnlyModel |
detach, setObject, toString |
TaskProgressionModel
public TaskProgressionModel(ITaskService taskService)
TaskProgressionModel
public TaskProgressionModel()
getProgression
protected org.wicketstuff.progressbar.Progression getProgression()
- Specified by:
getProgression in class org.wicketstuff.progressbar.ProgressionModel
getTaskId
public Long getTaskId()
setTaskId
public void setTaskId(Long taskId)
getTaskService
protected ITaskService getTaskService()
Copyright © 2007–2016. All rights reserved.