![JAR search and dependency download from the Maven repository](/logo.png)
com.fenglinga.tinyspring.scheduling.CronTask Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tinyspring Show documentation
Show all versions of tinyspring Show documentation
A simple and flexible web service framework based on Mina
package com.fenglinga.tinyspring.scheduling;
public class CronTask extends TriggerTask {
private final String expression;
public CronTask(Runnable runnable, String expression) {
this(runnable, new CronTrigger(expression));
}
public CronTask(Runnable runnable, CronTrigger cronTrigger) {
super(runnable, cronTrigger);
this.expression = cronTrigger.getExpression();
}
public String getExpression() {
return this.expression;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy