public class Task extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Task.Type |
Constructor and Description |
---|
Task() |
Modifier and Type | Method and Description |
---|---|
void |
addProperty(String key,
String value) |
boolean |
equals(Object obj) |
int |
getAttempts()
The number of completed attempts to process this task.
|
Map<String,String> |
getProperties() |
String |
getProperty(String key) |
Task.Type |
getType() |
Integer |
getVisibilityTimeout() |
int |
hashCode() |
void |
incrementAttempts()
Increments the attempts property.
|
String |
removeProperty(String key) |
void |
setType(Task.Type type) |
void |
setVisibilityTimeout(Integer visibilityTimeout) |
String |
toString() |
public static final String KEY_TYPE
public Task.Type getType()
public void setType(Task.Type type)
public Integer getVisibilityTimeout()
public void setVisibilityTimeout(Integer visibilityTimeout)
public int getAttempts()
public void incrementAttempts()
Copyright © 2009–2014 DuraSpace. All rights reserved.