Examples of JobCollectionMaxRecurrence


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

                            quotaInstance.setMaxJobOccurrence(maxJobOccurrenceInstance);
                        }
                       
                        Element maxRecurrenceElement = XmlUtility.getElementByTagNameNS(quotaElement, "http://schemas.microsoft.com/windowsazure", "MaxRecurrence");
                        if (maxRecurrenceElement != null) {
                            JobCollectionMaxRecurrence maxRecurrenceInstance = new JobCollectionMaxRecurrence();
                            quotaInstance.setMaxRecurrence(maxRecurrenceInstance);
                           
                            Element frequencyElement = XmlUtility.getElementByTagNameNS(maxRecurrenceElement, "http://schemas.microsoft.com/windowsazure", "Frequency");
                            if (frequencyElement != null) {
                                JobCollectionRecurrenceFrequency frequencyInstance;
                                frequencyInstance = JobCollectionRecurrenceFrequency.valueOf(frequencyElement.getTextContent());
                                maxRecurrenceInstance.setFrequency(frequencyInstance);
                            }
                           
                            Element intervalElement = XmlUtility.getElementByTagNameNS(maxRecurrenceElement, "http://schemas.microsoft.com/windowsazure", "Interval");
                            if (intervalElement != null) {
                                int intervalInstance;
                                intervalInstance = DatatypeConverter.parseInt(intervalElement.getTextContent());
                                maxRecurrenceInstance.setInterval(intervalInstance);
                            }
                        }
                    }
                }
               
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.