public class Task extends ResourceImpl
Modifier and Type | Class and Description |
---|---|
static class |
Task.Builder |
static class |
Task.Status |
href, id, name, type
Constructor and Description |
---|
Task(String id,
String name,
String type,
URI href,
Task.Status status,
Date startTime,
Date endTime,
Resource result,
Resource owner,
TaskError error) |
Modifier and Type | Method and Description |
---|---|
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() |
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 ResourceImpl
public String toString()
toString
in class ResourceImpl
Copyright © 2009-2012 jclouds. All Rights Reserved.