Examples of WorkflowInterpreter


Examples of edu.indiana.extreme.xbaya.interpretor.WorkflowInterpreter

          } catch (Exception e) {
            DynamicWorkflowRunnerWindow.this.engine.getErrorWindow().error(e);
          }
        } else {

          WorkflowInterpreter workflowInterpreter = new WorkflowInterpreter(DynamicWorkflowRunnerWindow.this.engine, topicString);
          try {
            MonitorConfiguration notifConfig = DynamicWorkflowRunnerWindow.this.engine.getMonitor().getConfiguration();
            notifConfig.setTopic(topicString);
            DynamicWorkflowRunnerWindow.this.engine.getMonitor().start();

            DynamicWorkflowRunnerWindow.this.engine.getGUI().addDynamicExecutionToolsToToolbar();

            if(resourceMapping!=null)
              workflowInterpreter.setResourceMapping(resourceMapping);
           
            workflowInterpreter.scheduleDynamically();
          } catch (XBayaException e) {
            try {
              workflowInterpreter.cleanup();
            } catch (MonitorException e1) {
              DynamicWorkflowRunnerWindow.this.engine.getErrorWindow().error(e1);
            }
            DynamicWorkflowRunnerWindow.this.engine.getErrorWindow().error(e);
          }
View Full Code Here

Examples of edu.indiana.extreme.xbaya.interpretor.WorkflowInterpreter

//        inputNode.setDefaultValue("MyechoString");
//      } // other else ifs for other inputs
//
//    }
   
    WorkflowInterpreter interpreter = new WorkflowInterpreter(
        null, topic, workflow, username, password);
    try {
      interpreter.scheduleDynamically();
    } catch (XBayaException e) {
      // TODO Auto-generated catch block
      e.printStackTrace();
    }
   
View Full Code Here

Examples of edu.indiana.extreme.xbaya.interpretor.WorkflowInterpreter

              .getMonitor().getConfiguration();
          TavernaRunnerWindow.this.engine.getMonitor().start();
          notifConfig.setTopic(topicString);
          TavernaRunnerWindow.this.engine.getGUI()
              .addDynamicExecutionToolsToToolbar();
          new WorkflowInterpreter(TavernaRunnerWindow.this.engine,
              topicString).scheduleDynamically();
        } catch (XBayaException e) {
          TavernaRunnerWindow.this.engine.getErrorWindow().error(e);
        }
View Full Code Here

Examples of edu.indiana.extreme.xbaya.interpretor.WorkflowInterpreter

            MonitorConfiguration notifConfig = DynamicWorkflowRunnerWindow.this.engine.getMonitor()
                    .getConfiguration();
            DynamicWorkflowRunnerWindow.this.engine.getMonitor().start();
            notifConfig.setTopic(topicString);
            DynamicWorkflowRunnerWindow.this.engine.getGUI().addDynamicExecutionToolsToToolbar();
            new WorkflowInterpreter(DynamicWorkflowRunnerWindow.this.engine).scheduleDynamically(topicString);           
          } catch (XBayaException e) {
            DynamicWorkflowRunnerWindow.this.engine.getErrorWindow().error(e);
          }
         
        }
View Full Code Here

Examples of edu.indiana.extreme.xbaya.interpretor.WorkflowInterpreter

    try {
      conf = getConfiguration(configurations);
    } catch (URISyntaxException e1) {
        throw new XBayaRuntimeException(e1);
    }
    WorkflowInterpreter interpreter = new WorkflowInterpreter(conf, topic,
        workflow, username, password);
    System.err.println("Created the interpreter");
    try {
      interpreter.scheduleDynamically();
      System.err.println("Called the interpreter");
     
    } catch (XBayaException e) {
      throw new XBayaRuntimeException(e);
    }
View Full Code Here

Examples of org.apache.airavata.xbaya.interpretor.WorkflowInterpreter

            public void run() {
                XBayaConfiguration conf = DynamicWorkflowRunnerWindow.this.engine.getConfiguration();
                WorkflowInterpreterConfiguration workflowInterpreterConfiguration = new WorkflowInterpreterConfiguration(engine.getGUI().getWorkflow(),topicString,conf.getMessageBoxURL(), conf.getBrokerURL(), conf.getAiravataAPI(), conf, DynamicWorkflowRunnerWindow.this.engine.getGUI(), DynamicWorkflowRunnerWindow.this.engine.getMonitor());
                workflowInterpreterConfiguration.setRunWithCrossProduct(isRunCrossProduct);

                WorkflowInterpreter workflowInterpreter = new WorkflowInterpreter(
                    workflowInterpreterConfiguration, new GUIWorkflowInterpreterInteractorImpl(engine, engine.getGUI().getWorkflow()));
                DynamicWorkflowRunnerWindow.this.engine.registerWorkflowInterpreter(workflowInterpreter);
                try {
                    MonitorConfiguration notifConfig = DynamicWorkflowRunnerWindow.this.engine.getMonitor()
                            .getConfiguration();
                    notifConfig.setTopic(topicString);
                    DynamicWorkflowRunnerWindow.this.engine.getMonitor().start();

                    if (resourceMapping != null)
                        workflowInterpreter.setResourceMapping(resourceMapping);

                    workflowInterpreter.scheduleDynamically();
//                    try {
//            engine.getConfiguration().getJcrComponentRegistry().getRegistry().saveWorkflowExecutionName(topicString, instanceNameFinal);
//          } catch (RegistryException e) {
//            e.printStackTrace();
//          }
                } catch (WorkflowException e) {
                    try {
                        workflowInterpreter.cleanup();
                    } catch (MonitorException e1) {
                        DynamicWorkflowRunnerWindow.this.engine.getGUI().getErrorWindow().error(e1);
                    }
                    DynamicWorkflowRunnerWindow.this.engine.getGUI().getErrorWindow().error(e);
                }
View Full Code Here

Examples of org.apache.airavata.xbaya.interpretor.WorkflowInterpreter

            public void run() {
                XBayaConfiguration conf = DynamicWorkflowRunnerWindow.this.engine.getConfiguration();
                WorkflowInterpreterConfiguration workflowInterpreterConfiguration = new WorkflowInterpreterConfiguration(engine.getGUI().getWorkflow(),topicString,conf.getMessageBoxURL(), conf.getBrokerURL(), conf.getAiravataAPI(), conf, DynamicWorkflowRunnerWindow.this.engine.getGUI(), DynamicWorkflowRunnerWindow.this.engine.getMonitor());
                workflowInterpreterConfiguration.setRunWithCrossProduct(isRunCrossProduct);

                WorkflowInterpreter workflowInterpreter = new WorkflowInterpreter(
                    workflowInterpreterConfiguration, new GUIWorkflowInterpreterInteractorImpl(engine, engine.getGUI().getWorkflow()));
                DynamicWorkflowRunnerWindow.this.engine.registerWorkflowInterpreter(workflowInterpreter);
                try {
                    MonitorConfiguration notifConfig = DynamicWorkflowRunnerWindow.this.engine.getMonitor()
                            .getConfiguration();
                    notifConfig.setTopic(topicString);
                    DynamicWorkflowRunnerWindow.this.engine.getMonitor().start();

                    if (resourceMapping != null)
                        workflowInterpreter.setResourceMapping(resourceMapping);

                    workflowInterpreter.scheduleDynamically();
//                    try {
//            engine.getConfiguration().getJcrComponentRegistry().getRegistry().saveWorkflowExecutionName(topicString, instanceNameFinal);
//          } catch (RegistryException e) {
//            e.printStackTrace();
//          }
                } catch (WorkflowException e) {
                    try {
                        workflowInterpreter.cleanup();
                    } catch (MonitorException e1) {
                        DynamicWorkflowRunnerWindow.this.engine.getGUI().getErrorWindow().error(e1);
                    }
                    DynamicWorkflowRunnerWindow.this.engine.getGUI().getErrorWindow().error(e);
                }
View Full Code Here

Examples of org.apache.airavata.xbaya.interpretor.WorkflowInterpreter

                UUID.randomUUID().toString(),conf.getMessageBoxURL(), conf.getBrokerURL(), conf.getAiravataAPI(), conf, null,null,true);
    workflowInterpreterConfiguration.setNotifier(new StandaloneNotificationSender(workflowInterpreterConfiguration.getTopic(),workflowInterpreterConfiguration.getWorkflow()));

        SSWorkflowInterpreterInteractorImpl ssWorkflowInterpreterInteractorImpl = new SSWorkflowInterpreterInteractorImpl();

        WorkflowInterpreter interpretor = new WorkflowInterpreter(workflowInterpreterConfiguration,ssWorkflowInterpreterInteractorImpl);
        interpretor.scheduleDynamically();
    }
View Full Code Here

Examples of org.apache.airavata.xbaya.interpretor.WorkflowInterpreter

    WorkflowInterpreterConfiguration workflowInterpreterConfiguration = new WorkflowInterpreterConfiguration(workflow,
                UUID.randomUUID().toString(),conf.getMessageBoxURL(), conf.getBrokerURL(), conf.getAiravataAPI(), conf, null,null,true);
    workflowInterpreterConfiguration.setNotifier(new StandaloneNotificationSender(workflowInterpreterConfiguration.getTopic(),workflowInterpreterConfiguration.getWorkflow()));
        SSWorkflowInterpreterInteractorImpl ssWorkflowInterpreterInteractorImpl = new SSWorkflowInterpreterInteractorImpl();

        WorkflowInterpreter interpretor = new WorkflowInterpreter(workflowInterpreterConfiguration,ssWorkflowInterpreterInteractorImpl);
        interpretor.scheduleDynamically();
    }
View Full Code Here

Examples of org.apache.airavata.xbaya.interpretor.WorkflowInterpreter

                UUID.randomUUID().toString(), conf.getMessageBoxURL(), conf.getBrokerURL(), conf.getAiravataAPI(), conf,null,null,true);

        workflowInterpreterConfiguration.setNotifier(new StandaloneNotificationSender(workflowInterpreterConfiguration.getTopic(),workflowInterpreterConfiguration.getWorkflow()));
        SSWorkflowInterpreterInteractorImpl ssWorkflowInterpreterInteractorImpl = new SSWorkflowInterpreterInteractorImpl();

        WorkflowInterpreter interpretor = new WorkflowInterpreter(workflowInterpreterConfiguration,ssWorkflowInterpreterInteractorImpl);
        interpretor.scheduleDynamically();
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.