@Entity
public class SysTask
extends java.lang.Object
implements java.io.Serializable
限定符和类型 | 字段和说明 |
---|---|
private java.lang.String |
cronExpression
cron expression
计划表达式
|
private @Length(max=300) java.lang.String |
description
description
描述
|
private java.lang.String |
filepath
file path
文件路径
|
private java.lang.Integer |
id
id
|
private boolean |
multiNode
multi-node execution
多节点运行
|
private @NotNull @Length(max=50) java.lang.String |
name
name
名称
|
private static long |
serialVersionUID |
private short |
siteId |
private int |
status
status(0:ready,1:running,2:paused,3:error)
状态(0:就绪,1:执行中,2:暂停,3:错误)
|
private java.util.Date |
updateDate
update date
更新日期
|
构造器和说明 |
---|
SysTask() |
SysTask(short siteId,
java.lang.String name,
int status,
boolean multiNode,
java.lang.String cronExpression) |
SysTask(short siteId,
java.lang.String name,
int status,
boolean multiNode,
java.lang.String cronExpression,
java.lang.String description,
java.lang.String filepath,
java.util.Date updateDate) |
限定符和类型 | 方法和说明 |
---|---|
java.lang.String |
getCronExpression() |
java.lang.String |
getDescription() |
java.lang.String |
getFilePath() |
java.lang.Integer |
getId() |
java.lang.String |
getName() |
short |
getSiteId() |
int |
getStatus() |
java.util.Date |
getUpdateDate() |
boolean |
isMultiNode() |
void |
setCronExpression(java.lang.String cronExpression) |
void |
setDescription(java.lang.String description) |
void |
setFilePath(java.lang.String filepath) |
void |
setId(java.lang.Integer id) |
void |
setMultiNode(boolean multiNode) |
void |
setName(java.lang.String name) |
void |
setSiteId(short siteId) |
void |
setStatus(int status) |
void |
setUpdateDate(java.util.Date updateDate) |
private static final long serialVersionUID
private java.lang.Integer id
private short siteId
@NotNull @Length(max=50) private @NotNull @Length(max=50) java.lang.String name
名称
private int status
状态(0:就绪,1:执行中,2:暂停,3:错误)
private boolean multiNode
多节点运行
private java.lang.String cronExpression
计划表达式
@Length(max=300) private @Length(max=300) java.lang.String description
描述
private java.lang.String filepath
文件路径
private java.util.Date updateDate
更新日期
public SysTask()
public SysTask(short siteId, java.lang.String name, int status, boolean multiNode, java.lang.String cronExpression)
public SysTask(short siteId, java.lang.String name, int status, boolean multiNode, java.lang.String cronExpression, java.lang.String description, java.lang.String filepath, java.util.Date updateDate)
public java.lang.Integer getId()
public void setId(java.lang.Integer id)
public short getSiteId()
public void setSiteId(short siteId)
public java.lang.String getName()
public void setName(java.lang.String name)
public int getStatus()
public void setStatus(int status)
public boolean isMultiNode()
public void setMultiNode(boolean multiNode)
public java.lang.String getCronExpression()
public void setCronExpression(java.lang.String cronExpression)
public java.lang.String getDescription()
public void setDescription(java.lang.String description)
public java.lang.String getFilePath()
public void setFilePath(java.lang.String filepath)
public java.util.Date getUpdateDate()
public void setUpdateDate(java.util.Date updateDate)