public class ReplicationTask extends Task
Modifier and Type | Class and Description |
---|---|
static class |
ReplicationTask.Status |
Constructor and Description |
---|
ReplicationTask(long id,
java.lang.String type,
java.lang.String action,
java.lang.String description,
TaskId parentTaskId) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getPhase()
Get the current phase of the task.
|
ReplicationTask.Status |
getStatus()
Build a status for this task or null if this task doesn't have status.
|
void |
setPhase(java.lang.String phase)
Set the current phase of the task.
|
getAction, getDescription, getId, getParentTaskId, getStartTime, getType, result, result, taskInfo, taskInfo
public ReplicationTask(long id, java.lang.String type, java.lang.String action, java.lang.String description, TaskId parentTaskId)
public void setPhase(java.lang.String phase)
public java.lang.String getPhase()
public ReplicationTask.Status getStatus()
Task