public class DefaultTaskStartedInfo extends Object implements TaskStartedInfo
TaskStartedInfo
.TaskStartedInfo.TaskKind
Modifier and Type | Field and Description |
---|---|
private TaskStartedInfo.TaskKind |
kind |
private String |
message |
private int |
size |
Constructor and Description |
---|
DefaultTaskStartedInfo(TaskStartedInfo.TaskKind kind,
String message,
int size) |
Modifier and Type | Method and Description |
---|---|
TaskStartedInfo.TaskKind |
getKind()
allows to query about the nature of task
|
String |
getMessage()
returns a message with a description of the task, example: "Processing Strategy"
|
int |
getSize()
returns measure for the total size of the task.
|
String |
toString() |
private final TaskStartedInfo.TaskKind kind
private final String message
private final int size
public DefaultTaskStartedInfo(TaskStartedInfo.TaskKind kind, String message, int size)
public TaskStartedInfo.TaskKind getKind()
getKind
in interface TaskStartedInfo
public String getMessage()
getMessage
in interface TaskStartedInfo
public int getSize()
getSize
in interface TaskStartedInfo