public class TaskDto extends Object
| Modifier and Type | Field and Description |
|---|---|
boolean |
cancelled
Set when task execution is cancelled.
|
boolean |
done
Set when task execution is finished.
|
String |
id
Unique task ID.
|
String |
name
Task name.
|
long |
runningDurationMs
Number of milliseconds since task start.
|
Long |
startTimeMs
Start time or
null. |
Long |
totalWork
Total work units (optional).
|
long |
worked
Number of work units processed.
|
String |
workUnit
Work unit description (optional).
|
| Constructor and Description |
|---|
TaskDto() |
public String id
public String name
public Long totalWork
null.public String workUnit
null.public long worked
public boolean done
public boolean cancelled
public Long startTimeMs
null.
The timestamp (from System.currentTimeMillis()) when the task execution was started. For tasks not
yet started value is null.public long runningDurationMs