|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.tidalwave.util.Task<T,E>
public abstract class Task<T,E extends Throwable>
A class which encapsulates a task..
Constructor Summary | |
---|---|
Task()
Creates a new Task . |
|
Task(String name)
Creates a new Task with the given name. |
Method Summary | |
---|---|
abstract T |
run()
The method that must contain the body of the Task . |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Task()
Task
.
public Task(@Nonnull String name)
Task
with the given name.
name
- the nameMethod Detail |
---|
public abstract T run() throws E extends Throwable
Task
.
E extends Throwable
@Nonnull public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |