All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.jiuxian.mossrose.ui.vo.JobVo Maven / Gradle / Ivy

There is a newer version: 1.1.5-RELEASE
Show newest version
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