Package org.apache.airavata.workflow.tracking.types

Examples of org.apache.airavata.workflow.tracking.types.DataProductNotificationType


            throw new RuntimeException("Data object passed was NULL.");
        if (dataObj.getId() == null)
            throw new RuntimeException("Data object's ID was NULL.");

        DataConsumedDocument activity = DataConsumedDocument.Factory.newInstance();
        DataProductNotificationType activityType = activity.addNewDataConsumed();

        // set the data product to the consumed data
        DataProductType dataProduct = activityType.addNewDataProduct();
        // set data ID and size
        dataProduct.setId(dataObj.getId().toString());
        dataProduct.setSizeInBytes(dataObj.getSizeInBytes());
        // set data URLs
        List<URI> locations = dataObj.getLocations();
View Full Code Here


            throw new RuntimeException("Data object passed was NULL.");
        if (dataObj.getId() == null)
            throw new RuntimeException("Data object's ID was NULL.");

        DataProducedDocument activity = DataProducedDocument.Factory.newInstance();
        DataProductNotificationType activityType = activity.addNewDataProduced();

        // set the data product to the produced data
        DataProductType dataProduct = activityType.addNewDataProduct();
        // set data ID and size
        dataProduct.setId(dataObj.getId().toString());
        dataProduct.setSizeInBytes(dataObj.getSizeInBytes());
        // set data URLs
        List<URI> locations = dataObj.getLocations();
View Full Code Here

            // create initial produced notification container
            dataProducedBatchActivity = DataProducedDocument.Factory.newInstance();
        }

        // get existing produced notification container
        DataProductNotificationType activityType = dataProducedBatchActivity.addNewDataProduced();

        // add new data product to the produced data
        DataProductType dataProduct = activityType.addNewDataProduct();
        // set data ID and size
        dataProduct.setId(dataObj.getId().toString());
        dataProduct.setSizeInBytes(dataObj.getSizeInBytes());
        // set data URLs
        List<URI> locations = dataObj.getLocations();
View Full Code Here

            throw new RuntimeException("Data object passed was NULL.");
        if (dataObj.getId() == null)
            throw new RuntimeException("Data object's ID was NULL.");

        DataConsumedDocument activity = DataConsumedDocument.Factory.newInstance();
        DataProductNotificationType activityType = activity.addNewDataConsumed();

        // set the data product to the consumed data
        DataProductType dataProduct = activityType.addNewDataProduct();
        // set data ID and size
        dataProduct.setId(dataObj.getId().toString());
        dataProduct.setSizeInBytes(dataObj.getSizeInBytes());
        // set data URLs
        List<URI> locations = dataObj.getLocations();
View Full Code Here

            throw new RuntimeException("Data object passed was NULL.");
        if (dataObj.getId() == null)
            throw new RuntimeException("Data object's ID was NULL.");

        DataProducedDocument activity = DataProducedDocument.Factory.newInstance();
        DataProductNotificationType activityType = activity.addNewDataProduced();

        // set the data product to the produced data
        DataProductType dataProduct = activityType.addNewDataProduct();
        // set data ID and size
        dataProduct.setId(dataObj.getId().toString());
        dataProduct.setSizeInBytes(dataObj.getSizeInBytes());
        // set data URLs
        List<URI> locations = dataObj.getLocations();
View Full Code Here

            // create initial produced notification container
            dataProducedBatchActivity = DataProducedDocument.Factory.newInstance();
        }

        // get existing produced notification container
        DataProductNotificationType activityType = dataProducedBatchActivity.addNewDataProduced();

        // add new data product to the produced data
        DataProductType dataProduct = activityType.addNewDataProduct();
        // set data ID and size
        dataProduct.setId(dataObj.getId().toString());
        dataProduct.setSizeInBytes(dataObj.getSizeInBytes());
        // set data URLs
        List<URI> locations = dataObj.getLocations();
View Full Code Here

TOP

Related Classes of org.apache.airavata.workflow.tracking.types.DataProductNotificationType

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.