Package com.microsoft.windowsazure.management.scheduler.models

Examples of com.microsoft.windowsazure.management.scheduler.models.JobCollectionIntrinsicSettings


                    result.setPromotionCode(promotionCodeInstance);
                }
               
                Element intrinsicSettingsElement = XmlUtility.getElementByTagNameNS(resourceElement, "http://schemas.microsoft.com/windowsazure", "IntrinsicSettings");
                if (intrinsicSettingsElement != null) {
                    JobCollectionIntrinsicSettings intrinsicSettingsInstance = new JobCollectionIntrinsicSettings();
                    result.setIntrinsicSettings(intrinsicSettingsInstance);
                   
                    Element planElement = XmlUtility.getElementByTagNameNS(intrinsicSettingsElement, "http://schemas.microsoft.com/windowsazure", "Plan");
                    if (planElement != null) {
                        JobCollectionPlan planInstance;
                        planInstance = JobCollectionPlan.valueOf(planElement.getTextContent());
                        intrinsicSettingsInstance.setPlan(planInstance);
                    }
                   
                    Element quotaElement = XmlUtility.getElementByTagNameNS(intrinsicSettingsElement, "http://schemas.microsoft.com/windowsazure", "Quota");
                    if (quotaElement != null) {
                        JobCollectionQuota quotaInstance = new JobCollectionQuota();
                        intrinsicSettingsInstance.setQuota(quotaInstance);
                       
                        Element maxJobCountElement = XmlUtility.getElementByTagNameNS(quotaElement, "http://schemas.microsoft.com/windowsazure", "MaxJobCount");
                        if (maxJobCountElement != null && (maxJobCountElement.getTextContent() == null || maxJobCountElement.getTextContent().isEmpty() == true) == false) {
                            int maxJobCountInstance;
                            maxJobCountInstance = DatatypeConverter.parseInt(maxJobCountElement.getTextContent());
View Full Code Here

TOP

Related Classes of com.microsoft.windowsazure.management.scheduler.models.JobCollectionIntrinsicSettings

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.