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

Examples of org.jitterbit.integration.data.entity.operation.OperationType


        }
    }

    private Configuration getConfiguration(ContentProviderContext context) {
        OperationPipeline pipeline = context.getPipeline();
        OperationType type = pipeline.getType();
        if (type == TransformationOperationType.TYPE) {
            return new TransformationConfiguration();
        }
        if (type == WebServiceOperationType.TYPE) {
            return new WebServiceCallConfiguration();
View Full Code Here


        public OperationTypeCache(Persistor p) {
            this();
            try {
                Map<OperationType, OperationNodeLayoutMemento> restored = Maps.newHashMap();
                for (Persistor typeRoot : p.getChildren(TYPE)) {
                    OperationType type = OperationType.valueOf(typeRoot.getString(NAME));
                    Persistor mementoRoot = typeRoot.getFirstChild(MEMENTO);
                    OperationNodeLayoutMemento memento = new OperationNodeLayoutMemento(mementoRoot);
                    restored.put(type, memento);
                }
                this.mementos.putAll(restored);
View Full Code Here

                ErrorLog.log(OperationNodeLayoutCache.class, "Failed to restore the OperationTypeCache", ex);
            }
        }

        public void add(OperationNodeLayout layout) {
            OperationType type = layout.getPipeline().getType();
            OperationNodeLayoutMemento m = new OperationNodeLayoutMemento(layout);
            mementos.put(type, m);
        }
View Full Code Here

    public OperationTypeMenuBuilder(OperationGraphController controller, OperationWrapperNode node) {
        this.controller = controller;
        this.node = node;
        items = Maps.newLinkedHashMap();
        OperationType current = node.getPipeline().getType();
        for (OperationType type : OperationType.getSelectableTypes()) {
            JRadioButtonMenuItem item = createMenuItem(current, type);
            items.put(item, type);
        }
        ButtonUtils.makeMutuallyExclusive(items.keySet());
View Full Code Here

    private class Listener implements ActionListener {

        @Override
        public void actionPerformed(ActionEvent e) {
            OperationType type = items.get(e.getSource());
            controller.setOperationType(node, type);
        }
View Full Code Here

        return property;
    }

    @Override
    public Predicate<IntegrationEntity> getSearcher(SearchOptions options) {
        final OperationType type = getValue();
        if (!isEnabled() || type == null) {
            return SearchFieldUtils.ALL;
        }
        return new Predicate<IntegrationEntity>() {
View Full Code Here

        project = p;
    }

    public void applyPluginIfNeeded(OperationPipeline pipeline) {
        needsSaving = false;
        OperationType opType = pipeline.getType();
        if (opType == TransformationOperationType.TYPE) {
            checkTransformation(pipeline);
        } else if (opType == WebServiceOperationType.TYPE) {
            checkWebServiceCall(pipeline);
        }
View Full Code Here

        panel.addInputField(new ComboBoxInputField(Strings.get("ExpandedOptions.Activity"), combo, null));
        combo.addItemListener(new ItemListener() {

            @Override
            public void itemStateChanged(ItemEvent e) {
                OperationType type = combo.getSelectedOperationType();
                applyOperationTypeSpecificSettings(type);
            }
        });
        return combo;
    }
View Full Code Here

            checkDeployAndRun(tx, op);
        }

        private Transformation getTransformationToTest(Operation op) {
            OperationPipeline pipeline = op.getPipeline();
            OperationType type = pipeline.getType();
            if (type == TransformationOperationType.TYPE) {
                return new TransformationPipelineBrowser(pipeline).getTransformation();
            } else if (type == WebServiceOperationType.TYPE) {
                return new WebServicePipelineBrowser(pipeline).getResponse();
            }
View Full Code Here

    @Override
    public void process(IntegrationProject project, IntegrationEntity entity) {
        Operation op = (Operation) entity;
        if (!op.hasPipeline()) {
            OperationType type = DefaultOperationTypePreference.get();
            op.setOperationType(type);
            OperationPipeline pipeline = type.createNewTemplate();
            op.setPipeline(pipeline);
        }
        SchedulePolicy sp = DefaultSchedulePolicyPreference.get();
        op.setSchedulePolicy(sp);
        SourceHistoryOption sourceHistoryOption = new SourceHistoryOption(DefaultSourceHistorySettingPreference.INSTANCE.get());
View Full Code Here

TOP

Related Classes of org.jitterbit.integration.data.entity.operation.OperationType

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.