public class TaskImpl extends ReferenceTypeImpl implements Task
| Constructor and Description |
|---|
TaskImpl(URI id,
String operation,
TaskStatus status,
Date startTime,
Date endTime,
Date expiryTime,
ReferenceType owner,
VCloudError error) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Date |
getEndTime()
date and time when the task completed.
|
VCloudError |
getError()
error message or related information returned by the task
|
Date |
getExpiryTime()
date and time at which the task expires.
|
String |
getOperation()
The current status of the task.
|
ReferenceType |
getOwner()
A link to the object that owns the task.
|
Date |
getStartTime()
date and time when the task was started.
|
TaskStatus |
getStatus()
The current status of the task.
|
int |
hashCode() |
String |
toString() |
compareTo, getHref, getName, getType, stringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetHref, getName, getTypecompareTopublic TaskImpl(URI id, String operation, TaskStatus status, Date startTime, @Nullable Date endTime, @Nullable Date expiryTime, ReferenceType owner, VCloudError error)
public TaskStatus getStatus()
Taskpublic Date getStartTime()
TaskgetStartTime in interface Taskpublic ReferenceType getOwner()
Taskpublic Date getEndTime()
TaskgetEndTime in interface Taskpublic VCloudError getError()
Taskpublic String toString()
toString in class ReferenceTypeImplpublic Date getExpiryTime()
TaskgetExpiryTime in interface Taskpublic String getOperation()
TaskgetOperation in interface Taskpublic int hashCode()
hashCode in class ReferenceTypeImplpublic boolean equals(Object obj)
equals in class ReferenceTypeImplCopyright © 2009-2013 jclouds. All Rights Reserved.