public class Task
extends java.lang.Object
Runnable to be executed as a task, typically at a
scheduled time or interval. See subclass hierarchy for various scheduling approaches.| Constructor and Description |
|---|
Task(java.lang.Runnable runnable)
Create a new
Task. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Runnable |
getRunnable() |