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
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getHref, getName, getType
compareTo
public TaskImpl(URI id, String operation, TaskStatus status, Date startTime, @Nullable Date endTime, @Nullable Date expiryTime, ReferenceType owner, VCloudError error)
public TaskStatus getStatus()
Task
public Date getStartTime()
Task
getStartTime
in interface Task
public ReferenceType getOwner()
Task
public Date getEndTime()
Task
getEndTime
in interface Task
public VCloudError getError()
Task
public String toString()
toString
in class ReferenceTypeImpl
public Date getExpiryTime()
Task
getExpiryTime
in interface Task
public String getOperation()
Task
getOperation
in interface Task
public int hashCode()
hashCode
in class ReferenceTypeImpl
public boolean equals(Object obj)
equals
in class ReferenceTypeImpl
Copyright © 2009-2013 jclouds. All Rights Reserved.