Code example for CronTrigger

Methods: getExpression

0
	 * @param runnable the underlying task to execute 
	 * @param cronTrigger the cron trigger defining when the task should be executed 
	 */ 
	public CronTask(Runnable runnable, CronTrigger cronTrigger) {
		super(runnable, cronTrigger);
		this.expression = cronTrigger.getExpression();
	} 
 
 
	public String getExpression() {
		return this.expression;
	} 
 
}