public class AsyncJob<S> extends Object
Modifier and Type | Class and Description |
---|---|
static class |
AsyncJob.Builder<T extends AsyncJob.Builder<T,S>,S> |
static class |
AsyncJob.ResultCode
Valid job result codes
|
static class |
AsyncJob.Status
Valid async job statuses
|
Modifier | Constructor and Description |
---|---|
protected |
AsyncJob(String accountId,
String cmd,
Date created,
String id,
String instanceId,
String instanceType,
int progress,
S result,
AsyncJob.ResultCode resultCode,
String resultType,
AsyncJob.Status status,
String userId,
AsyncJobError error) |
Modifier and Type | Method and Description |
---|---|
static <T> AsyncJob.Builder<?,T> |
builder() |
boolean |
equals(Object obj) |
String |
getAccountId() |
String |
getCmd() |
Date |
getCreated() |
AsyncJobError |
getError() |
String |
getId() |
String |
getInstanceId() |
String |
getInstanceType() |
int |
getProgress() |
S |
getResult() |
AsyncJob.ResultCode |
getResultCode() |
String |
getResultType() |
AsyncJob.Status |
getStatus() |
String |
getUserId() |
boolean |
hasFailed() |
int |
hashCode() |
boolean |
hasSucceed() |
protected com.google.common.base.Objects.ToStringHelper |
string() |
AsyncJob.Builder |
toBuilder() |
String |
toString() |
@ConstructorProperties(value={"accountid","cmd","created","jobid","jobinstanceid","jobinstancetype","jobprocstatus","jobresult","jobresultcode","jobresulttype","jobstatus","userid","error"}) protected AsyncJob(@Nullable String accountId, @Nullable String cmd, @Nullable Date created, String id, @Nullable String instanceId, @Nullable String instanceType, int progress, @Nullable S result, @Nullable AsyncJob.ResultCode resultCode, @Nullable String resultType, @Nullable AsyncJob.Status status, @Nullable String userId, @Nullable AsyncJobError error)
public static <T> AsyncJob.Builder<?,T> builder()
public AsyncJob.Builder toBuilder()
@Nullable public String getAccountId()
public String getId()
@Nullable public String getInstanceId()
@Nullable public String getInstanceType()
public int getProgress()
@Nullable public AsyncJob.ResultCode getResultCode()
@Nullable public AsyncJob.Status getStatus()
@Nullable public AsyncJobError getError()
public boolean hasFailed()
public boolean hasSucceed()
protected com.google.common.base.Objects.ToStringHelper string()
Copyright © 2009-2013 jclouds. All Rights Reserved.