Package org.jitterbit.integration.data.entity.operation.pipeline

Examples of org.jitterbit.integration.data.entity.operation.pipeline.OperationPipeline$ScriptedOperationCollector


        addAssignPluginAction(popup);
    }

    @Override
    public void visit(TargetActivity activity) {
        OperationPipeline pipeline = opNode.getPipeline();
        EntityFilterProvider<TargetActivity> filter = pipeline.getType().getTargetActivityFilterProvider(pipeline);
        Receiver<Target> receiver = ActivityContentAcceptor.create(controller, opNode, activity);
        TargetContentProvider p = new TargetContentProvider(controller.getProject(), filter, receiver);
        configure(p);
        addContentProviderActions(popup, activity, p);
        popup.add(controller.getTestConnectionAction());
View Full Code Here


        addAssignPluginAction(popup);
    }

    @Override
    public void visit(TransformationActivity activity) {
        OperationPipeline pipeline = opNode.getPipeline();
        EntityFilterProvider<TransformationActivity> filter =
            pipeline.getType().getTransformationActivityFilterProvider(pipeline);
        Receiver<Transformation> receiver = ActivityContentAcceptor.create(controller, opNode, activity);
        TransformationContentProvider p = new TransformationContentProvider(controller.getProject(), filter, receiver);
        configure(p);
        addContentProviderActions(popup, activity, p);
        if (isPassThroughTransformationSupported(activity)) {
View Full Code Here

    }

    // XXX: At the moment we need this functionality only for WS responses. The goal is to allow
    // it anywhere, but that requires more validation work, so we restrict its use for now.
    private boolean isPassThroughTransformationSupported(TransformationActivity activity) {
        OperationPipeline pipeline = opNode.getPipeline();
        return pipeline.getType() == WebServiceOperationType.TYPE &&
            activity == new WebServicePipelineBrowser(pipeline).getResponseActivity();
    }
View Full Code Here

            activity == new WebServicePipelineBrowser(pipeline).getResponseActivity();
    }

    @Override
    public void visit(WebServiceCallActivity activity) {
        OperationPipeline pipeline = opNode.getPipeline();
        EntityFilterProvider<WebServiceCallActivity> filter =
            pipeline.getType().getWebServiceCallActivityFilterProvider(pipeline);
        Receiver<WebServiceCall> receiver = ActivityContentAcceptor.create(controller, opNode, activity);
        WebServiceCallContentProvider p = new WebServiceCallContentProvider(controller.getProject(), filter, receiver);
        configure(p);
        addContentProviderActions(popup, activity, p);
        addAssignPluginAction(popup);
View Full Code Here

    }

    private void insertConnectionPointMenu(PipelineActivityNode node, ActivityConnection connection, String text) {
        InsertionPointContextMenuFactory f = new InsertionPointContextMenuFactory(controller, text,
                        GraphResources.ICONS.getIcon("InsertionPoint.Yellow"));
        OperationPipeline pipeline = node.getParent().getPipeline();
        popup.add(f.createMenu(pipeline, connection));
    }
View Full Code Here

        OperationPipeline pipeline = node.getParent().getPipeline();
        popup.add(f.createMenu(pipeline, connection));
    }

    private boolean hasPreConnectionPoint(PipelineActivityNode node) {
        OperationPipeline pipeline = node.getParent().getPipeline();
        return pipeline.getType().hasPreConnectionPoint() && pipeline.getFirstActivity() == node.getDataObject();
    }
View Full Code Here

        OperationPipeline pipeline = node.getParent().getPipeline();
        return pipeline.getType().hasPreConnectionPoint() && pipeline.getFirstActivity() == node.getDataObject();
    }

    private boolean hasPostConnectionPoint(PipelineActivityNode node) {
        OperationPipeline pipeline = node.getParent().getPipeline();
        return pipeline.getType().hasPostConnectionPoint() && pipeline.getLastActivity() == node.getDataObject();
    }
View Full Code Here

            }
        }
    }
   
    private IntegrationEntityPipelineActivity<?> locateActivity() {
        OperationPipeline pipeline = locatePipeline();
        if (pipeline == null) {
            notUndoable();
            return null;
        }
        PipelineActivity a = pipeline.getActivityAtPosition(activityPosition);
        if (!(a instanceof IntegrationEntityPipelineActivity)) {
            notUndoable();
            return null;
        }
        return (IntegrationEntityPipelineActivity<?>) a;
View Full Code Here

   
    public WebServiceTransformationDropBehavior(OperationGraphController controller,
                                                OperationWrapperNode opNode,
                                                TransformationActivityNode node) {
        super(controller, node);
        OperationPipeline pipeline = opNode.getPipeline();
        if (pipeline.getType() != WebServiceOperationType.TYPE) {
            throw new IllegalArgumentException("opNode must represent a web service call");
        }
        browser = new WebServicePipelineBrowser(pipeline);
    }
View Full Code Here

    public PipelineActivityInsertedRemovedEdit(OperationGraphController controller,
                                               PipelineActivity activity,
                                               OperationWrapperNode opNode) {
        this.controller = controller;
        this.opId = opNode.getOperationId();
        OperationPipeline pipeline = opNode.getPipeline();
        this.activityType = activity.getType();
        this.activityPosition = pipeline.getPosition(activity);
        this.previousPosition = getPrevious(pipeline, activity);
        this.nextPosition = getNext(pipeline, activity);
        this.contentId = getContentId(activity);
    }
View Full Code Here

TOP

Related Classes of org.jitterbit.integration.data.entity.operation.pipeline.OperationPipeline$ScriptedOperationCollector

Copyright © 2018 www.massapicom. 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.