public interface IJobTrigger
Modifier and Type | Method and Description |
---|---|
String |
getCronString()
Returns the Cron String used by quartz Scheduler
|
long |
getDuration() |
Date |
getEndTime()
Returns the trigger end time.
|
Date |
getStartTime()
Returns the trigger start time.
|
String |
getUiPassParam() |
void |
setCronString(String cronString)
Sets the cron String used by the quartz scheduler
|
void |
setDuration(long duration) |
void |
setEndTime(Date endTime)
Sets the trigger end time.
|
void |
setStartTime(Date startTime)
Sets the trigger start time.
|
void |
setUiPassParam(String uiPassParam)
The value of this field comes from the UI and is persisted in quartz but not used by quartz or the server.
|
Date getStartTime()
void setStartTime(Date startTime)
startTime
- when to start the trigger. If null the trigger starts immediately.Date getEndTime()
void setEndTime(Date endTime)
endTime
- when to end the trigger. If null the trigger runs indefinitelyString getUiPassParam()
void setUiPassParam(String uiPassParam)
uiPassParam
- A User Interface provided stringString getCronString()
void setCronString(String cronString)
cronString
- the cronString to setlong getDuration()
void setDuration(long duration)
duration
- Sets the length of time in milliseconds that this trigger should be in effect.