@Entity public class ScheduledJobImpl extends Object implements ScheduledJob
Modifier and Type | Field and Description |
---|---|
protected String |
cron |
protected Map<String,ScheduledJobDetail> |
details |
protected Boolean |
enabled |
protected Boolean |
executed |
protected Long |
id |
protected String |
name |
protected Date |
targetDate |
protected String |
type |
protected Date |
updated |
Constructor and Description |
---|
ScheduledJobImpl() |
Modifier and Type | Method and Description |
---|---|
String |
getCron()
A cron expression used to drive the schedule for the job execution.
|
Map<String,ScheduledJobDetail> |
getDetails()
Collection of detailed information for the job
|
Boolean |
getEnabled()
Whether the job is available for execution.
|
Boolean |
getExecuted()
Whether or not the job has been executed
|
Long |
getId() |
String |
getName()
The recognizable name for the job
|
Date |
getTargetDate()
The date on which a single use job should execute
|
String |
getType()
An arbitrary string representing the identity of this job
|
Date |
getUpdated()
The date on which the status of the job changed.
|
void |
setCron(String cron) |
void |
setDetails(Map<String,ScheduledJobDetail> details) |
void |
setEnabled(Boolean enabled) |
void |
setExecuted(Boolean executed) |
void |
setId(Long id) |
void |
setName(String name) |
void |
setTargetDate(Date targetDate) |
void |
setType(String type) |
void |
setUpdated(Date updated) |
String |
toString() |
protected Long id
protected String type
protected String name
protected Boolean enabled
protected Boolean executed
protected Date updated
protected Date targetDate
protected Map<String,ScheduledJobDetail> details
protected String cron
public Long getId()
getId
in interface ScheduledJob
public void setId(Long id)
setId
in interface ScheduledJob
public String getType()
ScheduledJob
getType
in interface ScheduledJob
public void setType(String type)
setType
in interface ScheduledJob
public Boolean getEnabled()
ScheduledJob
getEnabled
in interface ScheduledJob
public void setEnabled(Boolean enabled)
setEnabled
in interface ScheduledJob
public Date getUpdated()
ScheduledJob
getUpdated
in interface ScheduledJob
public void setUpdated(Date updated)
setUpdated
in interface ScheduledJob
public String getCron()
ScheduledJob
getCron
in interface ScheduledJob
public void setCron(String cron)
setCron
in interface ScheduledJob
public Map<String,ScheduledJobDetail> getDetails()
ScheduledJob
getDetails
in interface ScheduledJob
public void setDetails(Map<String,ScheduledJobDetail> details)
setDetails
in interface ScheduledJob
public String getName()
ScheduledJob
getName
in interface ScheduledJob
public void setName(String name)
setName
in interface ScheduledJob
public Date getTargetDate()
ScheduledJob
getTargetDate
in interface ScheduledJob
public void setTargetDate(Date targetDate)
setTargetDate
in interface ScheduledJob
public Boolean getExecuted()
ScheduledJob
getExecuted
in interface ScheduledJob
public void setExecuted(Boolean executed)
setExecuted
in interface ScheduledJob
Copyright © 2019. All rights reserved.