Package org.wicketstuff.async.demo
Class GenericTask
java.lang.Object
org.wicketstuff.async.demo.GenericTask
- All Implemented Interfaces:
Runnable,org.wicketstuff.async.task.IProgressObservableRunnable
public class GenericTask
extends Object
implements org.wicketstuff.async.task.IProgressObservableRunnable
-
Constructor Summary
ConstructorsConstructorDescriptionGenericTask(int steps, long waitingTime) GenericTask(int steps, long waitingTime, RuntimeException e) -
Method Summary
-
Constructor Details
-
GenericTask
public GenericTask(int steps, long waitingTime) -
GenericTask
-
-
Method Details
-
getProgress
public double getProgress()- Specified by:
getProgressin interfaceorg.wicketstuff.async.task.IProgressObservableRunnable
-
getProgressMessage
- Specified by:
getProgressMessagein interfaceorg.wicketstuff.async.task.IProgressObservableRunnable
-
run
public void run()
-