public class Task extends Entity
<xs:complexType name="TaskType">TODO: this object and the hierarchy is wrong. it is literally a Task with a Task container. please review class diagram
Modifier and Type | Class and Description |
---|---|
static class |
Task.Builder<B extends Task.Builder<B>> |
static class |
Task.Status |
Modifier and Type | Field and Description |
---|---|
static String |
MEDIA_TYPE |
Modifier | Constructor and Description |
---|---|
protected |
Task() |
protected |
Task(Task.Builder<?> builder) |
Modifier and Type | Method and Description |
---|---|
static Task.Builder<?> |
builder() |
boolean |
equals(Object o) |
Reference |
get()
The organization that started the task.
|
Date |
getEndTime()
The date and time that processing of the task was completed.
|
Error |
getError()
Represents an error information if the task failed.
|
Date |
getExpiryTime()
The date and time at which the task resource will be destroyed and no longer available for retrieval.
|
String |
getOperation()
The display name of the operation that is tracked by this task.
|
String |
getOperationName()
The name of the operation that is tracked by this task.
|
Reference |
getOwner()
Reference to the owner of the task.
|
Object |
getParams()
The parameters with which this task has been run.
|
Integer |
getProgress()
The progress of a long running asynchronous task.
|
Date |
getStartTime()
The date and time the system started executing the task.
|
Task.Status |
getStatus()
The execution status of the task.
|
Reference |
getUser()
The user who started the task.
|
int |
hashCode() |
com.google.common.base.Objects.ToStringHelper |
string() |
Task.Builder<?> |
toBuilder() |
clone, getDescription, getId, getName, getTasks, setDescription, setName
public static final String MEDIA_TYPE
protected Task(Task.Builder<?> builder)
protected Task()
public static Task.Builder<?> builder()
public Task.Builder<?> toBuilder()
public Error getError()
public Reference get()
public Reference getOwner()
public Reference getUser()
public Object getParams()
public Integer getProgress()
public Task.Status getStatus()
public String getOperation()
public String getOperationName()
public Date getStartTime()
public Date getEndTime()
public Date getExpiryTime()
Copyright © 2009-2013 jclouds. All Rights Reserved.