public class AsyncTask extends Object
| Constructor and Description |
|---|
AsyncTask() |
AsyncTask(String id,
String taskNodeId,
String instanceId,
String definitionId,
Long createdDate,
Long dueDate,
Long retries,
Long maxRetries,
Long version) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
long |
getCreatedDate() |
Identifier |
getDefinitionId() |
long |
getDueDate() |
Option<AsyncTaskErrorDetails> |
getErrorDetails() |
Option<Identifier> |
getId() |
Identifier |
getInstanceId() |
long |
getMaxRetries() |
long |
getRetries() |
Identifier |
getTaskNodeId() |
Long |
getVersion() |
int |
hashCode() |
AsyncTask |
incrementRetries() |
AsyncTask |
incrementVersion() |
String |
toString() |
AsyncTask |
withCreatedDate(long createdDate) |
AsyncTask |
withDefinitionId(Identifier definitionId) |
AsyncTask |
withDueDate(long delay) |
AsyncTask |
withErrorDetails(AsyncTaskErrorDetails errorDetails) |
AsyncTask |
withId(Identifier id) |
AsyncTask |
withInstanceId(Identifier instanceId) |
AsyncTask |
withMaxRetries(long maxRetries) |
AsyncTask |
withTaskNodeId(Identifier taskNodeId) |
AsyncTask |
withVersion(long version) |
public Identifier getTaskNodeId()
public AsyncTask withTaskNodeId(Identifier taskNodeId)
public Identifier getInstanceId()
public AsyncTask withInstanceId(Identifier instanceId)
public Identifier getDefinitionId()
public AsyncTask withDefinitionId(Identifier definitionId)
public long getDueDate()
public AsyncTask withDueDate(long delay)
public long getRetries()
public AsyncTask incrementRetries()
public long getMaxRetries()
public AsyncTask withMaxRetries(long maxRetries)
public Long getVersion()
public AsyncTask incrementVersion()
public AsyncTask withVersion(long version)
public long getCreatedDate()
public AsyncTask withCreatedDate(long createdDate)
public Option<AsyncTaskErrorDetails> getErrorDetails()
public AsyncTask withErrorDetails(AsyncTaskErrorDetails errorDetails)
public Option<Identifier> getId()
public AsyncTask withId(Identifier id)
Copyright © 2014. All rights reserved.