import com.webmbt.MBTException;
import com.webmbt.plugin.*;
/**
 * AutoGenerated from the model Demo_EmbeddedSys for java and groovy. You must enable JavaPlugin for the model. 
 * Unused methods may be removed from this class. 
 * @Date Mon Apr 10 20:54:14 CDT 2017
 */
public class MyEmbeddedSysHandler implements PluginHandlerIntf { 
private PluginMgr pluginMgr; 
private JavaAppPlugin javaPluginObj; 
private MbtScriptExecutor scriptExec; // provides access to system mscript functions like info(), error(), etc. 
public void init (PluginMgr pluginMgr_p) {
	this.pluginMgr = pluginMgr_p;
	// Requires JavaPlugin enabled for the model, or you will get a null pointer exception!
	this.javaPluginObj = (JavaAppPlugin) this.pluginMgr.getPlugin("JavaApp");
	this.scriptExec = this.javaPluginObj.getScriptExecutor(); 
  
	// Add other initialization code here 
}
public void MBT_start () throws MBTException {
	// add your MBT start up script to prep for the execution, for example loading dataset.
	return;
}
public void MBT_end () throws MBTException {
	// add your MBT cleanup script, for example log execution status to database or email you.
	return;
}
public void CancelOnly_setup () throws MBTException {
	// add your mcase setup script, for example load your data driven test data from database.
	return;
}
public void QuickPathToVending_setup () throws MBTException {
	// add your mcase setup script, for example load your data driven test data from database.
	return;
}
public void End_onentry () throws MBTException {
	//TODO: auto generated by TestOptimal.
	return;
}
public void End_onexit () throws MBTException {
	//TODO: auto generated by TestOptimal.
	return;
}
public void Start_onentry () throws MBTException {
	//TODO: auto generated by TestOptimal.
	return;
}
public void Start_onexit () throws MBTException {
	//TODO: auto generated by TestOptimal.
	return;
}
public void Start_add_prep () throws MBTException {
	//TODO: auto generated by TestOptimal.
	return;
}
public void Start_add_action () throws MBTException {
	//TODO: auto generated by TestOptimal.
	return;
}
public void Start_add_verify () throws MBTException {
	//TODO: auto generated by TestOptimal.
	return;
}
public void Start_divide_prep () throws MBTException {
	//TODO: auto generated by TestOptimal.
	return;
}
public void Start_divide_action () throws MBTException {
	//TODO: auto generated by TestOptimal.
	return;
}
public void Start_divide_verify () throws MBTException {
	//TODO: auto generated by TestOptimal.
	return;
}
public void Start_multiply_prep () throws MBTException {
	//TODO: auto generated by TestOptimal.
	return;
}
public void Start_multiply_action () throws MBTException {
	//TODO: auto generated by TestOptimal.
	return;
}
public void Start_multiply_verify () throws MBTException {
	//TODO: auto generated by TestOptimal.
	return;
}
public void Start_substract_prep () throws MBTException {
	//TODO: auto generated by TestOptimal.
	return;
}
public void Start_substract_action () throws MBTException {
	//TODO: auto generated by TestOptimal.
	return;
}
public void Start_substract_verify () throws MBTException {
	//TODO: auto generated by TestOptimal.
	return;
}
}
Print/export
QR Code
QR Code example_java_handler_for_embedded_system (generated for current page)