Class CronJobTrigger
- java.lang.Object
-
- org.pentaho.platform.api.scheduler2.JobTrigger
-
- org.pentaho.platform.api.scheduler2.CronJobTrigger
-
- All Implemented Interfaces:
Serializable
,IJobTrigger
public class CronJobTrigger extends JobTrigger
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.pentaho.platform.api.scheduler2.JobTrigger
ONCE_NOW
-
-
Constructor Summary
Constructors Modifier Constructor Description CronJobTrigger()
protected
CronJobTrigger(String cronString)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCronString()
Returns the Cron String used by quartz Schedulervoid
setCronString(String crongString)
Sets the cron String used by the quartz schedulerString
toString()
-
Methods inherited from class org.pentaho.platform.api.scheduler2.JobTrigger
getCronDescription, getDuration, getEndTime, getStartTime, getUiPassParam, setCronDescription, setDuration, setEndTime, setStartTime, setUiPassParam
-
-
-
-
Constructor Detail
-
CronJobTrigger
public CronJobTrigger()
-
CronJobTrigger
protected CronJobTrigger(String cronString)
-
-
Method Detail
-
getCronString
public String getCronString()
Description copied from interface:IJobTrigger
Returns the Cron String used by quartz Scheduler- Specified by:
getCronString
in interfaceIJobTrigger
- Overrides:
getCronString
in classJobTrigger
- Returns:
- the cronString
-
setCronString
public void setCronString(String crongString)
Description copied from interface:IJobTrigger
Sets the cron String used by the quartz scheduler- Specified by:
setCronString
in interfaceIJobTrigger
- Overrides:
setCronString
in classJobTrigger
- Parameters:
crongString
- the cronString to set
-
-