|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jclouds.savvis.vpdc.domain.ResourceImpl
org.jclouds.savvis.vpdc.domain.Task
public class Task
The result of a client request cannot be returned immediately, the server creates a task entity and returns its URL to the client. The client can use this URL in a subsequent GET request to obtain the current status of the task.
| Nested Class Summary | |
|---|---|
static class |
Task.Builder
|
static class |
Task.Status
|
| Field Summary |
|---|
| Fields inherited from class org.jclouds.savvis.vpdc.domain.ResourceImpl |
|---|
href, id, name, type |
| Constructor Summary | |
|---|---|
Task(String id,
String name,
String type,
URI href,
Task.Status status,
Date startTime,
Date endTime,
Resource result,
Resource owner,
TaskError error)
|
|
| Method Summary | |
|---|---|
static Task.Builder |
builder()
|
Date |
getEndTime()
date and time when the task completed. |
TaskError |
getError()
error message or related information returned by the task |
Resource |
getOwner()
A link to the object that owns the task. |
Resource |
getResult()
Result is represent outcome of request url. |
Date |
getStartTime()
date and time when the task was started. |
Task.Status |
getStatus()
The current status of the task. |
Task.Builder |
toBuilder()
|
String |
toString()
|
| Methods inherited from class org.jclouds.savvis.vpdc.domain.ResourceImpl |
|---|
compareTo, equals, getHref, getId, getName, getType, hashCode |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Task(String id,
String name,
String type,
URI href,
Task.Status status,
Date startTime,
Date endTime,
Resource result,
Resource owner,
TaskError error)
| Method Detail |
|---|
public static Task.Builder builder()
public Task.Status getStatus()
public Date getStartTime()
@Nullable public Date getEndTime()
@Nullable public Resource getOwner()
@Nullable public Resource getResult()
@Nullable public TaskError getError()
public Task.Builder toBuilder()
toBuilder in class ResourceImplpublic String toString()
toString in class ResourceImpl
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||