|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jclouds.vcloud.director.v1_5.domain.Resource
org.jclouds.vcloud.director.v1_5.domain.Entity
org.jclouds.vcloud.director.v1_5.domain.Task
public class Task
Represents an asynchronous or long-running task in the vCloud environment.
<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
| Nested Class Summary | |
|---|---|
static class |
Task.Builder<B extends Task.Builder<B>>
|
static class |
Task.Status
|
| Field Summary | |
|---|---|
static String |
MEDIA_TYPE
|
| Fields inherited from class org.jclouds.vcloud.director.v1_5.domain.Resource |
|---|
logger |
| Constructor Summary | |
|---|---|
protected |
Task()
|
protected |
Task(Task.Builder<?> builder)
|
| Method Summary | |
|---|---|
static Task.Builder<?> |
builder()
|
boolean |
equals(Object o)
|
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 |
getOrg()
The organization that started the 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()
|
| Methods inherited from class org.jclouds.vcloud.director.v1_5.domain.Entity |
|---|
clone, getDescription, getId, getName, getTasks, setDescription, setName |
| Methods inherited from class org.jclouds.vcloud.director.v1_5.domain.Resource |
|---|
getHref, getLinks, getType, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String MEDIA_TYPE
| Constructor Detail |
|---|
protected Task(Task.Builder<?> builder)
protected Task()
| Method Detail |
|---|
public static Task.Builder<?> builder()
public Task.Builder<?> toBuilder()
toBuilder in class Entitypublic Error getError()
public Reference getOrg()
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()
public boolean equals(Object o)
equals in class Entitypublic int hashCode()
hashCode in class Entitypublic com.google.common.base.Objects.ToStringHelper string()
string in class Entity
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||