recurrenceInstance.setEndTime(endTimeInstance);
}
JsonNode scheduleValue2 = recurrenceValue2.get("schedule");
if (scheduleValue2 != null) {
JobRecurrenceSchedule scheduleInstance = new JobRecurrenceSchedule();
recurrenceInstance.setSchedule(scheduleInstance);
JsonNode minutesArray2 = scheduleValue2.get("minutes");
if (minutesArray2 != null) {
for (JsonNode minutesValue : ((ArrayNode) minutesArray2)) {
scheduleInstance.getMinutes().add(minutesValue.getIntValue());
}
}
JsonNode hoursArray2 = scheduleValue2.get("hours");
if (hoursArray2 != null) {
for (JsonNode hoursValue : ((ArrayNode) hoursArray2)) {
scheduleInstance.getHours().add(hoursValue.getIntValue());
}
}
JsonNode weekDaysArray2 = scheduleValue2.get("weekDays");
if (weekDaysArray2 != null) {
for (JsonNode weekDaysValue : ((ArrayNode) weekDaysArray2)) {
scheduleInstance.getDays().add(SchedulerClientImpl.parseJobScheduleDay(weekDaysValue.getTextValue()));
}
}
JsonNode monthsArray2 = scheduleValue2.get("months");
if (monthsArray2 != null) {
for (JsonNode monthsValue : ((ArrayNode) monthsArray2)) {
scheduleInstance.getMonths().add(monthsValue.getIntValue());
}
}
JsonNode monthDaysArray2 = scheduleValue2.get("monthDays");
if (monthDaysArray2 != null) {
for (JsonNode monthDaysValue : ((ArrayNode) monthDaysArray2)) {
scheduleInstance.getMonthDays().add(monthDaysValue.getIntValue());
}
}
JsonNode monthlyOccurrencesArray2 = scheduleValue2.get("monthlyOccurrences");
if (monthlyOccurrencesArray2 != null) {
for (JsonNode monthlyOccurrencesValue : ((ArrayNode) monthlyOccurrencesArray2)) {
JobScheduleMonthlyOccurrence jobScheduleMonthlyOccurrenceInstance = new JobScheduleMonthlyOccurrence();
scheduleInstance.getMonthlyOccurrences().add(jobScheduleMonthlyOccurrenceInstance);
JsonNode dayValue = monthlyOccurrencesValue.get("day");
if (dayValue != null) {
JobScheduleDay dayInstance;
dayInstance = SchedulerClientImpl.parseJobScheduleDay(dayValue.getTextValue());