public class TaskState extends AbstractState
Constructor and Description |
---|
TaskState(int taskId,
java.lang.String state,
java.lang.String workerId,
java.lang.String trace)
Provides an instance of
TaskState . |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
int |
taskId()
Provides the ID of the task.
|
state, traceMessage, workerId
public TaskState(int taskId, java.lang.String state, java.lang.String workerId, java.lang.String trace)
TaskState
.taskId
- the id associated with the connector taskstate
- the status of the task, may not be null
or emptyworkerId
- id of the worker the task is associated with, may not be null
or emptytrace
- error message if that task had failed or errored out, may be null
or empty