Package eu.scape_project.planning.services

Examples of eu.scape_project.planning.services.IServiceInfo


            for (String measure : measures) {
                if (!processedMeasures.contains(measure)) {
                    List<IServiceInfo> qaWfs = queryQaComponents(measure, sourceMimetype, targetMimetype);
                    Iterator<IServiceInfo> qaIt = qaWfs.iterator();
                    if (qaIt.hasNext()) {
                        IServiceInfo wfi = qaIt.next();
                        WorkflowDescription wfd = MyExperimentRESTClient.getWorkflow(wfi.getDescriptor());
                        wfd.readMetadata();
                        List<Port> outputPorts = wfd.getOutputPorts();

                        List<String> leftMeasures = new ArrayList<String>();
                        List<String> rightMeasures = new ArrayList<String>();
View Full Code Here


    private void recommendCcComponents(List<RecommendedComponent> recommendedComponents, Set<String> processedMeasures,
        final List<String> measures, final String measure, final String targetMimetype) throws PlanningServiceException {
        List<IServiceInfo> ccWfs = queryCcComponents(measure, targetMimetype);
        Iterator<IServiceInfo> ccIt = ccWfs.iterator();
        if (ccIt.hasNext()) {
            IServiceInfo wfi = ccIt.next();
            WorkflowDescription wfd = MyExperimentRESTClient.getWorkflow(wfi.getDescriptor());
            wfd.readMetadata();
            List<Port> outputPorts = wfd.getOutputPorts();
            List<String> ccMeasures = new ArrayList<String>();
            for (Port port : outputPorts) {
                if (measures.contains(port.getValue())) {
View Full Code Here

TOP

Related Classes of eu.scape_project.planning.services.IServiceInfo

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.