Examples of insertEntityUnderRoot()


Examples of org.jitterbit.integration.data.project.IntegrationProject.insertEntityUnderRoot()

    @Test
    public void ensureSimpleScriptProcessWorks() {
        IntegrationProject project = IntegrationProject.createNewProject("Test");
        Operation op = new Operation("Op");
        project.insertEntityUnderRoot(op);
        op.setOperationType(ScriptOperationType.TYPE);
        OperationPipeline pipeline = ScriptOperationType.TYPE.createNewTemplate();
        Script script = new Script("S");
        project.insertEntityUnderRoot(script);
        ((ScriptActivity) pipeline.getFirstActivity()).setContent(script);
View Full Code Here

Examples of org.jitterbit.integration.data.project.IntegrationProject.insertEntityUnderRoot()

        Operation op = new Operation("Op");
        project.insertEntityUnderRoot(op);
        op.setOperationType(ScriptOperationType.TYPE);
        OperationPipeline pipeline = ScriptOperationType.TYPE.createNewTemplate();
        Script script = new Script("S");
        project.insertEntityUnderRoot(script);
        ((ScriptActivity) pipeline.getFirstActivity()).setContent(script);
        op.setPipeline(pipeline);
        ProcessFilter filter = new ProcessFilter(op);
        assertTrue(filter.apply(op));
        assertTrue(filter.apply(script));
View Full Code Here

Examples of org.jitterbit.integration.data.project.IntegrationProject.insertEntityUnderRoot()

                @Override
                public void run() {
                    ExpressionArea area = new ExpressionArea();
                    IntegrationProject project = IntegrationProject.createNewProject("Test");
                    Operation op = new Operation("Op");
                    project.insertEntityUnderRoot(op);
                    String oldPath = new EntityPath(op).toString();
                    String expression = getRunOperationCall(op);
                    area.setText(ScriptConstants.wrapInTags(expression));
                    op.setName("$Op");
                    String newPath = new EntityPath(op).toString();
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.