content: package com.xxl.job.admin.core.model;
  
  import java.util.Date;
  
  /**
   * xxl-job log, used to track trigger process
   * @author xuxueli  2015-12-19 23:19:09
   */
  public class XxlJobLog {
  	
  	private int id;
  	
  	// job info
  	private int jobGroup;
  	private int jobId;
  
  	// glueType
  	private String glueType;
  
  	// execute info
  	private String executorAddress;
  	private String executorHandler;
  	private String executorParam;
  	
  	// trigger info
  	private Date triggerTime;
  	private int triggerCode;
  	private String triggerMsg;
  	
  	// handle info
  	private Date handleTime;
  	private int handleCode;
  	private String handleMsg;
  
  	public int getId() {
  		return id;
  	}
  
  	public void setId(int id) {
  		this.id = id;
  	}
  
  	public int getJobGroup() {
  		return jobGroup;
  	}
  
  	public void setJobGroup(int jobGroup) {
  		this.jobGroup = jobGroup;
  	}
  
  	public int getJobId() {
  		return jobId;
  	}
  
  	public void setJobId(int jobId) {
  		this.jobId = jobId;
  	}
  
  	public String getGlueType() {
  		return glueType;
  	}
  
  	public void setGlueType(String glueType) {
  		this.glueType = glueType;
  	}
  
  	public String getExecutorAddress() {
  		return executorAddress;
  	}
  
  	public void setExecutorAddress(String executorAddress) {
  		this.executorAddress = executorAddress;
  	}
  
  	public String getExecutorHandler() {
  		return executorHandler;
  	}
  
  	public void setExecutorHandler(String executorHandler) {
  		this.executorHandler = executorHandler;
  	}
  
  	public String getExecutorParam() {
  		return executorParam;
  	}
  
  	public void setExecutorParam(String executorParam) {
  		this.executorParam = executorParam;
  	}
  
  	public Date getTriggerTime() {
  		return triggerTime;
  	}
  
  	public void setTriggerTime(Date triggerTime) {
  		this.triggerTime = triggerTime;
  	}
  
  	public int getTriggerCode() {
  		return triggerCode;
  	}
  
  	public void setTriggerCode(int triggerCode) {
  		this.triggerCode = triggerCode;
  	}
  
  	public String getTriggerMsg() {
  		return triggerMsg;
  	}
  
  	public void setTriggerMsg(String triggerMsg) {
  		// plugin
  		if (triggerMsg!=null && triggerMsg.length()>2000) {
  			triggerMsg = triggerMsg.substring(0, 2000);
  		}
  		this.triggerMsg = triggerMsg;
  	}
  
  	public Date getHandleTime() {
  		return handleTime;
  	}
  
  	public void setHandleTime(Date handleTime) {
  		this.handleTime = handleTime;
  	}
  
  	public int getHandleCode() {
  		return handleCode;
  	}
  
  	public void setHandleCode(int handleCode) {
  		this.handleCode = handleCode;
  	}
  
  	public String getHandleMsg() {
  		return handleMsg;
  	}
  
  	public void setHandleMsg(String handleMsg) {
  		// plugin
  		if (handleMsg!=null && handleMsg.length()>2000) {
  			handleMsg = handleMsg.substring(0, 2000);
  		}
  		this.handleMsg = handleMsg;
  	}
  }
  