public class WorkDescriptor extends Object implements Serializable
| Constructor and Description |
|---|
WorkDescriptor(String type) |
| Modifier and Type | Method and Description |
|---|---|
static WorkDescriptor |
create(String type) |
boolean |
equals(Object o) |
String |
getDescription() |
Instant |
getExecutionThreshold() |
Long |
getLong(String key) |
Serializable |
getParameter(String key) |
int |
getRetryCount() |
String |
getString(String key) |
Long |
getTenantId() |
String |
getType() |
String |
getUuid() |
int |
hashCode() |
void |
incrementRetryCount() |
WorkDescriptor |
mustBeExecutedAfter(Instant mustBeExecutedAfter) |
void |
setExecutionThreshold(Instant executionThreshold) |
WorkDescriptor |
setTenantId(Long tenantId) |
String |
toString() |
WorkDescriptor |
withParameter(String key,
Serializable value) |
public WorkDescriptor(String type)
public Long getTenantId()
public WorkDescriptor setTenantId(Long tenantId)
public String getUuid()
public String getType()
public Serializable getParameter(String key)
public static WorkDescriptor create(String type)
public WorkDescriptor withParameter(String key, Serializable value)
public Instant getExecutionThreshold()
public void setExecutionThreshold(Instant executionThreshold)
public WorkDescriptor mustBeExecutedAfter(Instant mustBeExecutedAfter)
public int getRetryCount()
public void incrementRetryCount()
public String getDescription()
Copyright © 2018 Bonitasoft S.A.. All rights reserved.