public class AsyncJob<T> extends Object
Modifier and Type | Class and Description |
---|---|
static class |
AsyncJob.Builder<T> |
static class |
AsyncJob.ResultCode
Valid job result codes
|
static class |
AsyncJob.Status
Valid async job statuses
|
Constructor and Description |
---|
AsyncJob(long accountId,
String cmd,
Date created,
long id,
long instanceId,
String instanceType,
int progress,
T result,
AsyncJob.ResultCode resultCode,
String resultType,
AsyncJob.Status status,
int userId,
AsyncJobError error) |
Modifier and Type | Method and Description |
---|---|
static <T> AsyncJob.Builder<T> |
builder() |
boolean |
equals(Object obj) |
long |
getAccountId() |
String |
getCmd() |
Date |
getCreated() |
AsyncJobError |
getError() |
long |
getId() |
long |
getInstanceId() |
String |
getInstanceType() |
int |
getProgress() |
T |
getResult() |
AsyncJob.ResultCode |
getResultCode() |
String |
getResultType() |
AsyncJob.Status |
getStatus() |
int |
getUserId() |
boolean |
hasFailed() |
int |
hashCode() |
boolean |
hasSucceed() |
String |
toString() |
public AsyncJob(long accountId, String cmd, Date created, long id, long instanceId, String instanceType, int progress, T result, AsyncJob.ResultCode resultCode, String resultType, AsyncJob.Status status, int userId, AsyncJobError error)
public static <T> AsyncJob.Builder<T> builder()
public long getAccountId()
public String getCmd()
public Date getCreated()
public long getId()
public long getInstanceId()
public String getInstanceType()
public int getProgress()
public T getResult()
public AsyncJob.ResultCode getResultCode()
public String getResultType()
public AsyncJob.Status getStatus()
public int getUserId()
public AsyncJobError getError()
public boolean hasFailed()
public boolean hasSucceed()
Copyright © 2009-2012 jclouds. All Rights Reserved.