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 TypeMethodDescriptionint
long
void
setRepeatCount
(int repeatCount) void
setRepeatInterval
(long repeatIntervalSeconds) Methods inherited from interface org.pentaho.platform.api.scheduler2.IJobTrigger
getCronString, getDuration, getEndTime, getStartTime, getUiPassParam, setCronString, setDuration, setEndTime, setStartTime, setUiPassParam
-
Method Details
-
getRepeatCount
int getRepeatCount() -
setRepeatCount
void setRepeatCount(int repeatCount) -
getRepeatInterval
long getRepeatInterval() -
setRepeatInterval
void setRepeatInterval(long repeatIntervalSeconds)
-