Interface ISimpleJobTrigger
- All Superinterfaces:
IJobTrigger
A simple way of specifying a schedule on which a job will fire as opposed to
IComplexJobTrigger. The
ISimpleJobTrigger can meet your needs if you are looking for a way to have a job start, execute a set number
of times on a regular interval and then end either after a specified number of runs or at an end date.- Author:
- aphillips
-
Method Summary
Modifier and TypeMethodDescriptionintlongvoidsetRepeatCount(int repeatCount) voidsetRepeatInterval(long repeatIntervalSeconds) Methods inherited from interface org.pentaho.platform.api.scheduler2.IJobTrigger
getCronString, getDuration, getEndTime, getStartAmPm, getStartDay, getStartHour, getStartMin, getStartMonth, getStartTime, getStartYear, getTimeZone, getUiPassParam, setCronString, setDuration, setEndTime, setStartAmPm, setStartDay, setStartHour, setStartMin, setStartMonth, setStartTime, setStartYear, setTimeZone, setUiPassParam
-
Method Details
-
getRepeatCount
int getRepeatCount() -
setRepeatCount
void setRepeatCount(int repeatCount) -
getRepeatInterval
long getRepeatInterval() -
setRepeatInterval
void setRepeatInterval(long repeatIntervalSeconds)
-