public class TaskStatusChangedEventArgs
extends java.lang.Object
TaskStateChanged
event.Constructor and Description |
---|
TaskStatusChangedEventArgs(TaskStatus previousStatus,
TaskStatus newStatus,
Task task,
TaskState taskState)
Initializes a new instance of the
TaskStatusChangedEventArgs class. |
Modifier and Type | Method and Description |
---|---|
TaskStatus |
getNewStatus()
Gets the new task status.
|
TaskStatus |
getPreviousStatus()
Gets the previous task status.
|
TaskState |
getState()
Gets the state of the task.
|
Task |
getTask()
Gets the task that has changed state.
|
public TaskStatusChangedEventArgs(TaskStatus previousStatus, TaskStatus newStatus, Task task, TaskState taskState)
TaskStatusChangedEventArgs
class.previousStatus
- The previous task status.newStatus
- The new task status.task
- The task.taskState
- The task state.public final TaskStatus getPreviousStatus()
public final TaskStatus getNewStatus()
public final Task getTask()
public final TaskState getState()