public interface TaskListener
Modifier and Type | Method and Description |
---|---|
void |
notifyStatusUpdate(Task task,
TaskStatus newStatus)
Notifies a listener about a tasks new status
|
void notifyStatusUpdate(Task task, TaskStatus newStatus)
task
- updated tasknewStatus
- one of the following values: TaskStatus.TS_STARTING
,
TaskStatus.TS_RUNNING
, TaskStatus.TS_EXITED_REGULAR
,
TaskStatus.TS_EXITED_FATAL
,
TaskStatus.TS_EXITED_TERMINATED
, or
TaskStatus.TS_START_FAILED
Copyright (c) 2013, Oracle and/or its affiliates. All Rights Reserved. Use of this specification is subject to license terms.