Package com.microsoft.windowsazure.services.media.models.Job

Examples of com.microsoft.windowsazure.services.media.models.Job.Creator


        return createJob(jobName, inputAsset, tasks);
    }

    public JobInfo createJob(String jobName, AssetInfo inputAsset,
            List<Task.CreateBatchOperation> tasks) throws ServiceException {
        Creator jobCreator = Job.create().setName(jobName)
                .addInputMediaAsset(inputAsset.getId()).setPriority(2);

        for (Task.CreateBatchOperation task : tasks) {
            jobCreator.addTaskCreator(task);
        }

        return service.create(jobCreator);
    }
View Full Code Here


        }

        JobNotificationSubscription jobNotificationSubcription = getJobNotificationSubscription(
                notificationEndPointId, TargetJobState.All);

        Creator creator = Job.create().setName(name).setPriority(priority)
                .addInputMediaAsset(assetInfo.getId())
                .addTaskCreator(getTaskCreator(0))
                .addJobNotificationSubscription(jobNotificationSubcription);

        // Act
View Full Code Here

TOP

Related Classes of com.microsoft.windowsazure.services.media.models.Job.Creator

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.