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 Details

    • TaskProgressionModel

      public TaskProgressionModel(ITaskService taskService)
    • TaskProgressionModel

      public TaskProgressionModel()
  • Method Details

    • 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()