?? ftask.java
字號:
package com.fang.common.core;
import java.io.Serializable;
public class FTask implements Serializable{
private static final long serialVersionUID = 5433841889990552793L;
//表示命令類型的常量
public static final int cmd_LINUX=0 ;
public static final int cmd_URL=1 ;
private int id; //任務編號
private String taskname; //任務名字
private String [] cmdParam;//執行任務的命令的參數
private long starttime; //任務觸發時機
private long internal;
private int status; //任務狀態
private int cmdType; //任務類型
public FTask(){
}
public FTask(String taskname, String[] cmdParam, long starttime, long internal, int cmdType) {
super();
this.taskname = taskname;
this.cmdParam = cmdParam;
this.starttime = starttime;
this.internal = internal;
this.cmdType = cmdType;
}
public FTask(String taskname, String[] cmdParam, long starttime,int cmdType) {
super();
this.taskname = taskname;
this.cmdParam = cmdParam;
this.starttime = starttime;
this.cmdType = cmdType;
}
public String[] getCmdParam() {
return cmdParam;
}
public void setCmdParam(String[] cmdParam) {
this.cmdParam = cmdParam;
}
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
public long getInternal() {
return internal;
}
public void setInternal(long internal) {
this.internal = internal;
}
public long getStarttime() {
return starttime;
}
public void setStarttime(long starttime) {
this.starttime = starttime;
}
public int getStatus() {
return status;
}
public void setStatus(int status) {
this.status = status;
}
public String getTaskname() {
return taskname;
}
public void setTaskname(String taskname) {
this.taskname = taskname;
}
public int getCmdType() {
return cmdType;
}
public void setCmdType(int cmdType) {
this.cmdType = cmdType;
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -