urbanairship-core/src/main/java/com/urbanairship/automation/AutomationEngine.java
private List<T> convertEntries(Collection<ScheduleEntry> entries) {
        List<T> schedules = new ArrayList<>();
        for (ScheduleEntry entry : entries) {
            try {
                schedules.add(driver.createSchedule(entry.scheduleId, entry));
            } catch (Exception e) {
                Logger.error("Unable to create schedule.", e);
                cancel(Collections.singletonList(entry.scheduleId));
            }
        }

        return schedules;
    }
/**
     * Converts a list of generic entries to typed entries.
     *
     * @param entries The list of entries to convert.
     * @return The list of converted entries.
     */
Converts a list of generic entries to typed entries.
@param entries The list of entries to convert.
@return The list of converted entries.
Converts a list of generic entries to typed entries . @param entries The list of entries to convert . @return The list of converted entries .
private List<T> convertEntries(Collection<ScheduleEntry> entries) {
        List<T> schedules = new ArrayList<>();
        for (ScheduleEntry entry : entries) {
            try {
                schedules.add(driver.createSchedule(entry.scheduleId, entry));
            } catch (Exception e) {
                Logger.error("Unable to create schedule.", e);
                cancel(Collections.singletonList(entry.scheduleId));
            }
        }
        return schedules;
    }
private List < T > convertEntries ( Collection < ScheduleEntry > entries ) { List < T > schedules = new ArrayList < > ( ) ; for ( ScheduleEntry entry : entries ) { try { schedules . add ( driver . createSchedule ( entry . scheduleId , entry ) ) ; } catch ( Exception e ) { Logger . error ( "Unable to create schedule." , e ) ; cancel ( Collections . singletonList ( entry . scheduleId ) ) ; } } return schedules ; }
Converts a list of generic entries to typed entries.
Converts a list of generic entries to typed entries .