Package edu.indiana.extreme.xbaya.workflow

Examples of edu.indiana.extreme.xbaya.workflow.WorkflowClient.load()


        GcSearchList list = client.list();
        for (GcSearchResult result : list.results()) {
            logger.info(result.getTitle());
        }

        client.load(workflow.getGPELTemplateID());
    }

    /**
     * @throws ComponentException
     * @throws GraphException
View Full Code Here


        // Deploy
        URI templateID = client.createScriptAndDeploy(workflow0, false);

        // Load a workflow template from the GPEL Engine.
        Workflow workflowTemplate = client.load(templateID);

        // Instantiate the workflow template.
        GcInstance instance = client.instantiate(workflowTemplate,
                this.configuration.getDSCURL());
        // ID to retrieve the workflow instance
View Full Code Here

        logger.info("instanceID: " + instanceID);

        // Start the workflow instance.
        // WsdlDefinitions wsdl = client.start(instance);

        Workflow workflowInstance = client.load(instanceID,
                WorkflowType.INSTANCE);
        assertNotNull(workflowInstance);
    }

    /**
 
View Full Code Here

        client.setEngineURL(XBayaConstants.DEFAULT_GPEL_ENGINE_URL);

        URI templateID = client.createScriptAndDeploy(workflow0, false);

        // Load a workflow template from the GPEL Engine.
        Workflow workflow = client.load(templateID);

        // Get the metadata for input.
        XmlElement inputAppinfo = workflow.getInputMetadata();
        logger
                .info("inputAppinfo: "
View Full Code Here

        logger.info("resourceID: " + resourceID);

        URI templateID2 = myLead.load(resourceID);

        Workflow workflow2 = gpelClient.load(templateID2);

        logger.info("workflow name: " + workflow2.getName());
        assertEquals(workflow.getName(), workflow2.getName());
    }
}
View Full Code Here

     * @param type
     */
    private void runInThread(URI templateID, WorkflowClient.WorkflowType type) {
        WorkflowClient client = GPELLoader.this.engine.getWorkflowClient();
        try {
            Workflow workflow = client.load(templateID, type);
            this.loadingDialog.hide();
            if (this.canceled) {
                return;
            }
            this.engine.setWorkflow(workflow);
View Full Code Here

      if (this.incorrectWorkflowIDs.contains(workflowInstanceID)) {
        // Do not try to load a workflow that failed before.
        return;
      }
      WorkflowClient client = this.engine.getWorkflowClient();
      Workflow loadedWorkflow = client.load(workflowInstanceID,
          WorkflowType.INSTANCE);
      GraphCanvas canvas = this.engine.getGUI().newGraphCanvas(true);
      canvas.setWorkflow(loadedWorkflow);
    } catch (GraphException e) {
      this.incorrectWorkflowIDs.add(workflowInstanceID);
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.