com.taotao.boot.job.quartz.entity.QuartzTask Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of taotao-boot-starter-job-quartz Show documentation
Show all versions of taotao-boot-starter-job-quartz Show documentation
taotao-boot-starter-job-quartz
/*
* Copyright (c) 2020-2030, Shuigedeng ([email protected] & https://blog.taotaocloud.top/).
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.taotao.boot.job.quartz.entity;
import com.taotao.boot.job.quartz.enums.QuartzJobCode;
import java.io.Serializable;
import java.time.LocalDateTime;
public class QuartzTask implements Serializable {
private static final long serialVersionUID = 5126530068827085130L;
public static final String JOB_KEY = "JOB_KEY";
/** 定时任务ID */
private Long id;
/** 任务名称 */
private String jobName;
/** 组名称 */
private String groupName;
/** Spring Bean名称 */
private String beanName;
/** cron 表达式 */
private String cronExpression;
/**
* @see QuartzJobCode
*/
private Integer state;
/** 方法名称 */
private String methodName;
/** 参数 */
private String params;
/** 备注 */
private String remark;
/** 创建时间 */
private LocalDateTime createTime;
/** 是否并发 0:禁止 1:允许 */
private Integer concurrent;
public Integer getConcurrent() {
return concurrent;
}
public void setConcurrent(Integer concurrent) {
this.concurrent = concurrent;
}
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public String getBeanName() {
return beanName;
}
public void setBeanName(String beanName) {
this.beanName = beanName;
}
public String getCronExpression() {
return cronExpression;
}
public void setCronExpression(String cronExpression) {
this.cronExpression = cronExpression;
}
public String getJobName() {
return jobName;
}
public void setJobName(String jobName) {
this.jobName = jobName;
}
public String getMethodName() {
return methodName;
}
public void setMethodName(String methodName) {
this.methodName = methodName;
}
public String getParams() {
return params;
}
public void setParams(String params) {
this.params = params;
}
public String getRemark() {
return remark;
}
public void setRemark(String remark) {
this.remark = remark;
}
public LocalDateTime getCreateTime() {
return createTime;
}
public void setCreateTime(LocalDateTime createTime) {
this.createTime = createTime;
}
public Integer getState() {
return state;
}
public void setState(Integer state) {
this.state = state;
}
public String getGroupName() {
return groupName;
}
public void setGroupName(String groupName) {
this.groupName = groupName;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy