public class ReplicationTask extends Task
Modifier and Type | Class and Description |
---|---|
static class |
ReplicationTask.Status |
Constructor and Description |
---|
ReplicationTask(long id,
String type,
String action,
String description,
TaskId parentTaskId) |
Modifier and Type | Method and Description |
---|---|
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(String phase)
Set the current phase of the task.
|
getAction, getDescription, getId, getParentTaskId, getStartTime, getType, taskInfo
public void setPhase(String phase)
public String getPhase()
public ReplicationTask.Status getStatus()
Task
Copyright © 2009–2016. All rights reserved.