Runnable to be executed as a task, typically at a
scheduled time or interval. See subclass hierarchy for various scheduling approaches.
| Access | Constructor and Description |
|---|---|
| public |
| runnable | back to summary |
|---|---|
| private final Runnable runnable | |
| Task | back to summary |
|---|---|
| public Task(Runnable runnable) Create a new
| |
| getRunnable | back to summary |
|---|---|
| public Runnable getRunnable() Return the underlying task. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |