uw.task.entity.TaskCronerConfig Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of uw-task Show documentation
Show all versions of uw-task Show documentation
uw-task包是一个分布式任务框架,通过uw-task可以快速构建基于docker的分布式任务体系,同时支持基于influx的任务运维监控。
package uw.task.entity;
import java.io.Serializable;
/**
* taskCronerConfig实体类。
*
*
* @author axeon
* @version $Revision: 1.00 $ $Date: 2017-05-03 16:51:06
*/
public class TaskCronerConfig implements Serializable{
private static final long serialVersionUID = 1L;
private long id = -1;
/**
* 任务名称
*/
private String taskName;
/**
* 执行类信息
*/
private String taskClass;
/**
* cron表达式
*/
private String cron;
/**
* 0随意执行,1全局唯一执行
*/
private int runType = -1;
/**
* 运行目标,默认不指定
*/
private String targetHost;
/**
* 创建时间
*/
private java.util.Date createDate;
/**
* 最后修改时间
*/
private java.util.Date modifyDate;
/**
* 状态
*/
private int status = -1;
/**
* @return the id
*/
public long getId() {
return id;
}
/**
* @param id the id to set
*/
public void setId(long id) {
this.id = id;
}
/**
* @return the taskName
*/
public String getTaskName() {
return taskName;
}
/**
* @param taskName the taskName to set
*/
public void setTaskName(String taskName) {
this.taskName = taskName;
}
/**
* @return the taskClass
*/
public String getTaskClass() {
return taskClass;
}
/**
* @param taskClass the taskClass to set
*/
public void setTaskClass(String taskClass) {
this.taskClass = taskClass;
}
/**
* @return the cron
*/
public String getCron() {
return cron;
}
/**
* @param cron the cron to set
*/
public void setCron(String cron) {
this.cron = cron;
}
/**
* @return the runType
*/
public int getRunType() {
return runType;
}
/**
* @param runType the runType to set
*/
public void setRunType(int runType) {
this.runType = runType;
}
/**
* @return the targetHost
*/
public String getTargetHost() {
return targetHost;
}
/**
* @param targetHost the targetHost to set
*/
public void setTargetHost(String targetHost) {
this.targetHost = targetHost;
}
/**
* @return the createDate
*/
public java.util.Date getCreateDate() {
return createDate;
}
/**
* @param createDate the createDate to set
*/
public void setCreateDate(java.util.Date createDate) {
this.createDate = createDate;
}
/**
* @return the modifyDate
*/
public java.util.Date getModifyDate() {
return modifyDate;
}
/**
* @param modifyDate the modifyDate to set
*/
public void setModifyDate(java.util.Date modifyDate) {
this.modifyDate = modifyDate;
}
/**
* @return the status
*/
public int getStatus() {
return status;
}
/**
* @param status the status to set
*/
public void setStatus(int status) {
this.status = status;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy