Package eu.admire.gateway.engine.ogsadai

Examples of eu.admire.gateway.engine.ogsadai.ProcessingElement


    public TraversableSingleActivityOutput addActivity(
            RequestNode source,
            Exchange exchange,
            PipelineWorkflow pipeline)
    {
        ProcessingElement getDS = new ProcessingElement("eu.admire.GetGatewayDataSource");
        getDS.createOutput(GetGatewayDataSourceResourceRESTActivity.OUTPUT);
        getDS.createInput(GetGatewayDataSourceResourceRESTActivity.INPUT_GATEWAY_URI);
        getDS.createInput(GetGatewayDataSourceResourceRESTActivity.INPUT_RESULT_NAME);
        ExternalInputNode output = (ExternalInputNode)source;
        getDS.addInput(
                GetGatewayDataSourceResourceRESTActivity.INPUT_GATEWAY_URI,
                new StringData(output.getGatewayAddress()));
        getDS.addInput(
                GetGatewayDataSourceResourceRESTActivity.INPUT_RESULT_NAME,
                new StringData(output.getResultName()));
        pipeline.add(getDS);
        return getDS.getOutput(GetGatewayDataSourceResourceRESTActivity.OUTPUT);
    }
View Full Code Here

TOP

Related Classes of eu.admire.gateway.engine.ogsadai.ProcessingElement

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.