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

com.taobao.api.internal.tmc.MessageStatus Maven / Gradle / Ivy

The newest version!
package com.taobao.api.internal.tmc;

/**
 * 消息服务-消息状态。
 * 
 * @author fengsheng
 * @since 1.0, May 4, 2013
 */
public class MessageStatus {

	private boolean isFail = false; // 是否处理失败
	private String reason; // 处理失败原因

	public boolean isFail() {
		return this.isFail;
	}

	public void fail() {
		this.isFail = true;
	}
	
	public void fail(String msg) {
		this.isFail = true;
		this.reason = msg;
	}

	public String getReason() {
		return this.reason;
	}

	public void setReason(String reason) {
		this.reason = reason;
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy