com.jiuxian.mossrose.ui.vo.JobVo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mossrose-ui Show documentation
Show all versions of mossrose-ui Show documentation
User Interface for Mossrose
package com.jiuxian.mossrose.ui.vo;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.jiuxian.mossrose.JobOperation.JobRuntimeInfo.State;
public class JobVo {
private String id;
private String group;
private String description;
private String cron;
private boolean runInCluster;
private String mainClass;
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date startTime;
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date endTime;
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date nextFireTime;
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date previousFireTime;
private State state;
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public String getGroup() {
return group;
}
public void setGroup(String group) {
this.group = group;
}
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public String getCron() {
return cron;
}
public void setCron(String cron) {
this.cron = cron;
}
public boolean isRunInCluster() {
return runInCluster;
}
public void setRunInCluster(boolean runInCluster) {
this.runInCluster = runInCluster;
}
public String getMainClass() {
return mainClass;
}
public void setMainClass(String mainClass) {
this.mainClass = mainClass;
}
public Date getStartTime() {
return startTime;
}
public void setStartTime(Date startTime) {
this.startTime = startTime;
}
public Date getEndTime() {
return endTime;
}
public void setEndTime(Date endTime) {
this.endTime = endTime;
}
public Date getNextFireTime() {
return nextFireTime;
}
public void setNextFireTime(Date nextFireTime) {
this.nextFireTime = nextFireTime;
}
public Date getPreviousFireTime() {
return previousFireTime;
}
public void setPreviousFireTime(Date previousFireTime) {
this.previousFireTime = previousFireTime;
}
public State getState() {
return state;
}
public void setState(State state) {
this.state = state;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy