public abstract class Task<T,E extends Throwable> extends Object
Constructor and Description |
---|
Task()
Creates a new
Task . |
Task(String name)
Creates a new
Task with the given name. |
Modifier and Type | Method and Description |
---|---|
abstract T |
run()
The method that must contain the body of the
Task . |
String |
toString() |
Copyright © 2009–2016 Tidalwave s.a.s. (http://tidalwave.it). All rights reserved.