PushEvent.java 1.22 KB
package com.yoho.error.event;

/**
 * 推送事件
 * 
 * @author hugufei
 *
 */
public class PushEvent extends CommonEvent {

	private static final long serialVersionUID = 5805800371910913724L;

	private String project;// 项目名称
	private String type;// 事件类型
	private String taskId;// 任务id
	private String content;// 上报的内容
	private String paramStr;// 具体参数

	public PushEvent(String name, String project, String type, String taskId, String content, String paramStr) {
		super(name);
		this.project = project;
		this.type = type;
		this.taskId = taskId;
		this.content = content;
		this.paramStr = paramStr;
	}

	public void setProject(String project) {
		this.project = project;
	}

	public void setType(String type) {
		this.type = type;
	}

	public void setTaskId(String taskId) {
		this.taskId = taskId;
	}

	public void setParamStr(String paramStr) {
		this.paramStr = paramStr;
	}

	public String getProject() {
		return project;
	}

	public String getType() {
		return type;
	}

	public String getTaskId() {
		return taskId;
	}

	public String getParamStr() {
		return paramStr;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

}