Examples of addEnvironment()


Examples of Galaxy.Visitor.util.LoniEnvironment.addEnvironment()

    // TODO Auto-generated method stub
    for(Step s : workflow.getSteps()){
      //visit each step in the workflow
      Pair<GraphObject,LoniEnvironment> step = stepVisitor.visit(s, new LoniContext());
      //add the returned environment to the pipeline environment.
      le.addEnvironment(step.getElem2());
      //add the returned graphobject to the pipeline modulegroup
      moduleGroup.getModules().add(step.getElem1());
      //add the step's y value to the running sum of y values.
      totalY += s.getPosition().getFromTop();
      //update furthest left position
View Full Code Here

Examples of com.jigen.ant.Jigen.addEnvironment()

    antJigen.setWixHome(wixHome);
   
    com.jigen.xsd.JigenDocument.Jigen jigen = document.getJigen();
   
    antJigen.addProduct    (importProduct    (jigen.getProduct()));
    antJigen.addEnvironment(importEnvironment(jigen.getEnvironment()));
   
    for (com.jigen.xsd.Resource resource : jigen.getResourceArray())
      antJigen.addResource(importResource(resource));
   
    for (com.jigen.xsd.Runnable resource : jigen.getRunnableArray())
View Full Code Here

Examples of io.apigee.trireme.core.NodeScript.addEnvironment()

        NodeEnvironment localEnv = new NodeEnvironment();
        NodeScript script = localEnv.createScript("environmenttest.js",
                                                  new File("./target/test-classes/tests/environmenttest.js"),
                                                  new String[] { "foo", "bar" });

        script.addEnvironment("foo", "bar");

        ScriptStatus status = script.execute().get();
        assertEquals(0, status.getExitCode());
    }
View Full Code Here

Examples of io.fabric8.process.manager.support.command.Command.addEnvironment()

            return 0;
        }
        Command command = new Command(arguments).setDirectory(baseDir);
        Map<String,String> environment = getEnvironment();
        if (environment != null && environment.size() > 0) {
            command = command.addEnvironment(environment);
        }
        return command.execute(executor);
    }
}
View Full Code Here

Examples of org.apache.axis2.transport.testkit.TransportTestSuiteBuilder.addEnvironment()

       
        TransportTestSuiteBuilder builder = new TransportTestSuiteBuilder(suite);
       
        ContentTypeServiceConfigurator cfgtr = new ContentTypeServiceConfigurator("transport.vfs.ContentType");
       
        builder.addEnvironment(new VFSTestEnvironment(new File("target/vfs3")),
                new VFSTransportDescriptionFactory());
       
        builder.addAsyncChannel(new VFSAsyncFileChannel("req/in"));
       
        builder.addAxisAsyncTestClient(new AxisAsyncTestClient());
View Full Code Here

Examples of org.apache.axis2.transport.testkit.TransportTestSuiteBuilder.addEnvironment()

        // SYNAPSE-434
        suite.addExclude("(test=MinConcurrency)");
       
        TransportTestSuiteBuilder builder = new TransportTestSuiteBuilder(suite);
       
        builder.addEnvironment(new GreenMailTestEnvironment("pop3"), MailMessageContextValidator.INSTANCE);
        builder.addEnvironment(new GreenMailTestEnvironment("imap"), MailMessageContextValidator.INSTANCE);
       
        MailChannel channel = new MailChannel();
       
        builder.addAsyncChannel(channel);
View Full Code Here

Examples of org.apache.axis2.transport.testkit.TransportTestSuiteBuilder.addEnvironment()

        suite.addExclude("(test=MinConcurrency)");
       
        TransportTestSuiteBuilder builder = new TransportTestSuiteBuilder(suite);
       
        builder.addEnvironment(new GreenMailTestEnvironment("pop3"), MailMessageContextValidator.INSTANCE);
        builder.addEnvironment(new GreenMailTestEnvironment("imap"), MailMessageContextValidator.INSTANCE);
       
        MailChannel channel = new MailChannel();
       
        builder.addAsyncChannel(channel);
       
View Full Code Here

Examples of org.apache.axis2.transport.testkit.TransportTestSuiteBuilder.addEnvironment()

        JMSTestEnvironment[] environments = new JMSTestEnvironment[] { new QpidTestEnvironment(), new ActiveMQTestEnvironment() };
        for (boolean singleCF : new boolean[] { false, true }) {
            for (boolean cfOnSender : new boolean[] { false, true }) {
                for (JMSTestEnvironment env : environments) {
                    builder.addEnvironment(env, new JMSTransportDescriptionFactory(singleCF, cfOnSender, 1));
                }
            }
        }
       
        builder.addAsyncChannel(new JMSAsyncChannel(JMSConstants.DESTINATION_TYPE_QUEUE, ContentTypeMode.TRANSPORT));
View Full Code Here

Examples of org.apache.catalina.deploy.NamingResources.addEnvironment()

                ("Invalid environment name - already exists '" + envName + "'");
        }
        env = new ContextEnvironment();
        env.setName(envName);
        env.setType(type);
        nresources.addEnvironment(env);

        // Return the corresponding MBean name
        ManagedBean managed = Registry.getRegistry(null, null)
            .findManagedBean("ContextEnvironment");
        ObjectName oname =
View Full Code Here

Examples of org.apache.catalina.deploy.NamingResources.addEnvironment()

                ("Invalid environment name - already exists '" + envName + "'");
        }
        env = new ContextEnvironment();
        env.setName(envName);
        env.setType(type);
        nresources.addEnvironment(env);
       
        // Return the corresponding MBean name
        ManagedBean managed = registry.findManagedBean("ContextEnvironment");
        ObjectName oname =
            MBeanUtils.createObjectName(managed.getDomain(), env);
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.