execution of scheduled tasks.
| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private final Method | |
| private final Class |
| Access | Constructor and Description |
|---|---|
| public | ScheduledTaskObservationContext(Object
the target object that is called for task execution target, Method the method that is called for task execution method)Create a new observation context for a task, given the target object and the method to be called. |
| Modifier and Type | Method and Description |
|---|---|
| public Method | |
| public Class | |
| public boolean | |
| public void |
| complete | back to summary |
|---|---|
| private boolean complete | |
| method | back to summary |
|---|---|
| private final Method method | |
| targetClass | back to summary |
|---|---|
| private final Class<?> targetClass | |
| ScheduledTaskObservationContext | back to summary |
|---|---|
| public ScheduledTaskObservationContext(Object target, Method method) Create a new observation context for a task, given the target object and the method to be called. | |
| getMethod | back to summary |
|---|---|
| public Method getMethod() Return the method that is called for task execution. | |
| getTargetClass | back to summary |
|---|---|
| public Class Return the type of the target object. | |
| isComplete | back to summary |
|---|---|
| public boolean isComplete() Return whether the task execution is complete. If an observation has ended and the task is not complete, this means
that an | |
| setComplete | back to summary |
|---|---|
| public void setComplete(boolean complete) Set whether the task execution has completed. | |