/* 
 * Copyright 2012-2017 Pine of copyright Chen Xin Nien
 * 
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 *      http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 * 
 * -----------------------------------------------------------------------
 * 
 * author: 	Chen Xin Nien
 * contact: chen.xin.nien@gmail.com
 * 
 */
package com.netsteadfast.pine.base.model;

public class BaseMessageContent implements java.io.Serializable {
	private static final long serialVersionUID = -6055740296464533708L;
	
	private String eventId;
	private String deviceId;
	private String name;
	private String scriptType;
	private String value;
	private String message;
	
	public String getEventId() {
		return eventId;
	}
	
	public void setEventId(String eventId) {
		this.eventId = eventId;
	}
	
	public String getDeviceId() {
		return deviceId;
	}
	
	public void setDeviceId(String deviceId) {
		this.deviceId = deviceId;
	}
	
	public String getName() {
		return name;
	}
	
	public void setName(String name) {
		this.name = name;
	}
	
	public String getScriptType() {
		return scriptType;
	}
	
	public void setScriptType(String scriptType) {
		this.scriptType = scriptType;
	}
	
	public String getValue() {
		return value;
	}
	
	public void setValue(String value) {
		this.value = value;
	}
	
	public String getMessage() {
		return message;
	}
	
	public void setMessage(String message) {
		this.message = message;
	}
	
}

@@ -947,16 +947,318 @@
 708L;%0A%09%0A
+%09%0A%09/**%0A%09 * example:%0A%09 * %0A%09 * scriptType = groovy, scriptId=s001%0A%09 * /var/pine/device/PC-948794KUANG/s001.groovy%0A%09 * /var/pine/device/$%7BdeviceId%7D/$%7BscriptId%7D%0A%09 * %0A%09 * scriptType = bsh, scriptId = s002%0A%09 * /var/pine/device/PC-948794KUANG/s002.bsh%0A%09 * /var/pine/device/$%7BdeviceId%7D/$%7BscriptId%7D%0A%09 * %0A%09 */%0A%09%0A
 %09private
@@ -1350,16 +1350,42 @@
 ptType;%0A
+%09private String scriptId;%0A
 %09private
@@ -1423,16 +1423,17 @@
 message;
+%09
 %0A%09%0A%09publ
@@ -1929,32 +1929,162 @@
 criptType;%0A%09%7D%0A%09%0A
+%09public String getScriptId() %7B%0A%09%09return scriptId;%0A%09%7D%0A%0A%09public void setScriptId(String scriptId) %7B%0A%09%09this.scriptId = scriptId;%0A%09%7D%0A%0A
 %09public String g

Update test