Package org.jitterbit.integration.data.project

Examples of org.jitterbit.integration.data.project.ProjectDependencies


        public void dependenciesWereUpdated(ManagedProjectEvent evt) {
            update();
        }

        private void update() {
            ProjectDependencies deps = project.getDependencyStore();
            for (OperationWrapperNode opNode : page.getGraph().getModel().getOperationNodes()) {
                OperationWrapper op = opNode.getDataObject();
                List<HttpEndpoint> endpoints = deps.getDependingObjects(op.getActivity())
                    .keepAll(EntityFilters.allOfType(EntityType.HttpEndpoint))
                    .transform(KongaFunctions.cast(HttpEndpoint.class));
                op.setHttpEndpointTriggers(endpoints);
            }
        }
View Full Code Here


                            + " can only be used in an operation that is triggered by an HTTP Endpoint.");
        }
    }
   
    private boolean isTriggeredByEndpoint() {
        ProjectDependencies deps = collector.context().getDependencies();
        for (IntegrationEntity e : deps.getDependingObjects(operation)) {
            if (isEndpointTrigger(e)) {
                return true;
            }
        }
        return false;
View Full Code Here

TOP

Related Classes of org.jitterbit.integration.data.project.ProjectDependencies

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.