public class ScheduledJob extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ScheduledJob.State
This enum tracks the state of a job.
|
static class |
ScheduledJob.Type
This enum controls the type of a job.
|
| Constructor and Description |
|---|
ScheduledJob() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
getArguments() |
java.time.Instant |
getCreated() |
java.time.Instant |
getDue() |
Integer |
getJobId() |
String |
getLockedBy() |
java.time.Instant |
getLockExpires() |
Integer |
getPriority() |
int |
getRetryCount() |
ScheduledJob.State |
getState() |
ScheduledJob.Type |
getType() |
void |
setArguments(Map<String,String> arguments) |
void |
setCreated(java.time.Instant created) |
void |
setDue(java.time.Instant due) |
void |
setJobId(Integer jobId) |
void |
setLockedBy(String lockedBy) |
void |
setLockExpires(java.time.Instant lockExpires) |
void |
setPriority(Integer priority) |
void |
setRetryCount(int retryCount) |
void |
setState(ScheduledJob.State state) |
void |
setType(ScheduledJob.Type type) |
String |
toString() |
public Integer getJobId()
public void setJobId(Integer jobId)
public Integer getPriority()
public void setPriority(Integer priority)
public java.time.Instant getCreated()
public void setCreated(java.time.Instant created)
public java.time.Instant getDue()
public void setDue(java.time.Instant due)
public ScheduledJob.State getState()
public void setState(ScheduledJob.State state)
public String getLockedBy()
public void setLockedBy(String lockedBy)
public java.time.Instant getLockExpires()
public void setLockExpires(java.time.Instant lockExpires)
public ScheduledJob.Type getType()
public void setType(ScheduledJob.Type type)
public int getRetryCount()
public void setRetryCount(int retryCount)
Copyright © 2019. All rights reserved.