public final class JobSpec
extends java.lang.Object
Constructor and Description |
---|
JobSpec() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCalendarName() |
java.lang.String |
getCronExpression() |
java.lang.String |
getDescription() |
java.lang.String |
getJobGroup() |
java.lang.String |
getJobName() |
ResourceAdapter |
getResourceAdapter() |
java.lang.String |
getTriggerGroup() |
java.lang.String |
getTriggerName() |
boolean |
isDurable() |
boolean |
isRequestsRecovery() |
JobKey |
jobKey() |
void |
setCalendarName(java.lang.String s) |
void |
setCronExpression(java.lang.String s) |
void |
setCronTrigger(java.lang.String s)
An alias for CronExpression
See http://quartz-scheduler.org/api/2.0.0/org/quartz/CronExpression.html
|
void |
setDescription(java.lang.String s) |
void |
setDurable(boolean b) |
void |
setEndTime(java.lang.String endTime) |
void |
setJobGroup(java.lang.String s) |
void |
setJobName(java.lang.String s) |
void |
setRequestsRecovery(boolean b) |
void |
setResourceAdapter(ResourceAdapter resourceAdapter) |
void |
setStartTime(java.lang.String startTime) |
void |
setTimeZone(java.lang.String timeZone) |
void |
setTriggerGroup(java.lang.String s) |
void |
setTriggerName(java.lang.String s) |
TriggerKey |
triggerKey() |
void |
validate() |
public TriggerKey triggerKey()
public java.lang.String getTriggerName()
public void setTriggerName(java.lang.String s)
public java.lang.String getTriggerGroup()
public void setTriggerGroup(java.lang.String s)
public java.lang.String getJobName()
public void setJobName(java.lang.String s)
public void setJobGroup(java.lang.String s)
public java.lang.String getJobGroup()
public java.lang.String getDescription()
public void setDescription(java.lang.String s)
public void setRequestsRecovery(boolean b)
public boolean isRequestsRecovery()
public boolean isDurable()
public void setDurable(boolean b)
public void setCalendarName(java.lang.String s)
public java.lang.String getCalendarName()
public void setCronExpression(java.lang.String s)
public java.lang.String getCronExpression()
public void setCronTrigger(java.lang.String s)
s
- Valid cron expressionpublic void setTimeZone(java.lang.String timeZone)
public void setStartTime(java.lang.String startTime)
public void setEndTime(java.lang.String endTime)
public void validate() throws InvalidPropertyException
InvalidPropertyException
public ResourceAdapter getResourceAdapter()
public void setResourceAdapter(ResourceAdapter resourceAdapter)
public JobKey jobKey()