com.jquicker.timer.TimerTrigger Maven / Gradle / Ivy
package com.jquicker.timer;
public class TimerTrigger {
private String cronExpression; // Cron表达式
private Long delay; // 延迟时间
private Long period; // 执行周期
private Long firstTime; // 第一次执行时间
private Long prevTime; // 上一次执行时间
private Long nextTime; // 下一次执行时间
private Long lastTime; // 最后一次执行时间
private boolean isPeriodic = false; // 是否周期性的
public String getCronExpression() {
return cronExpression;
}
public void setCronExpression(String cronExpression) {
this.cronExpression = cronExpression;
}
public Long getDelay() {
return delay;
}
public void setDelay(Long delay) {
this.delay = delay;
}
public boolean isPeriodic() {
return isPeriodic;
}
public void setPeriodic(boolean isPeriodic) {
this.isPeriodic = isPeriodic;
}
public Long getPeriod() {
return period;
}
public void setPeriod(Long period) {
this.period = period;
}
public Long getFirstTime() {
return firstTime;
}
public void setFirstTime(Long firstTime) {
this.firstTime = firstTime;
}
public Long getPrevTime() {
return prevTime;
}
public void setPrevTime(Long prevTime) {
this.prevTime = prevTime;
}
public Long getNextTime() {
return nextTime;
}
public void setNextTime(Long nextTime) {
this.nextTime = nextTime;
}
public Long getLastTime() {
return lastTime;
}
public void setLastTime(Long lastTime) {
this.lastTime = lastTime;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy