Class GenericTask

  • All Implemented Interfaces:
    Runnable, org.wicketstuff.async.task.IProgressObservableRunnable

    public class GenericTask
    extends Object
    implements org.wicketstuff.async.task.IProgressObservableRunnable
    • Constructor Detail

      • GenericTask

        public GenericTask​(int steps,
                           long waitingTime)
      • GenericTask

        public GenericTask​(int steps,
                           long waitingTime,
                           RuntimeException e)
    • Method Detail

      • getProgress

        public double getProgress()
        Specified by:
        getProgress in interface org.wicketstuff.async.task.IProgressObservableRunnable
      • getProgressMessage

        public String getProgressMessage()
        Specified by:
        getProgressMessage in interface org.wicketstuff.async.task.IProgressObservableRunnable
      • run

        public void run()
        Specified by:
        run in interface Runnable