public class AsyncTask extends DomainWrapper<com.abiquo.server.core.task.TaskDto>
context, target
Modifier | Constructor and Description |
---|---|
protected |
AsyncTask(RestContext<AbiquoApi,AbiquoAsyncApi> context,
com.abiquo.server.core.task.TaskDto target)
Constructor to be used only by the builder.
|
Modifier and Type | Method and Description |
---|---|
List<AsyncJob> |
getJobs()
Get the individual jobs that compose the current task.
|
String |
getOwnerId() |
com.abiquo.server.core.task.enums.TaskState |
getState() |
String |
getTaskId() |
long |
getTimestamp() |
com.abiquo.server.core.task.enums.TaskType |
getType() |
String |
getUserId() |
void |
refresh()
Refresh the state of the task.
|
String |
toString() |
getParentId, getTask, getTasks, getURI, join, unwrap, unwrap, updateLink, wrap, wrap
protected AsyncTask(RestContext<AbiquoApi,AbiquoAsyncApi> context, com.abiquo.server.core.task.TaskDto target)
public void refresh()
public String getOwnerId()
public com.abiquo.server.core.task.enums.TaskState getState()
public String getTaskId()
public long getTimestamp()
public com.abiquo.server.core.task.enums.TaskType getType()
public String getUserId()
Copyright © 2009-2013 jclouds. All Rights Reserved.