* @param subWorkflow
*/
public WorkflowInterpreter(XBayaEngine engine, String topic, Workflow workflow, boolean subWorkflow) {
this.engine = engine;
this.configuration = engine.getConfiguration();
this.myProxyChecker = new MyProxyChecker(this.engine);
this.workflow = workflow;
this.isSubWorkflow = subWorkflow;
this.mode = GUI_MODE;
this.notifier = new NotificationSender(this.configuration.getBrokerURL(), topic);
this.topic = topic;