public interface EquivalentScheduleResolver
Resolves EquivalentSchedules - schedules where sets of equivalent
Items are present for each
Broadcast.
Schedules are resolvable for a given Interval on a Channel
according to a particular source.
| Modifier and Type | Method and Description |
|---|---|
com.google.common.util.concurrent.ListenableFuture<EquivalentSchedule> |
resolveSchedules(Iterable<org.atlasapi.media.channel.Channel> channels,
org.joda.time.Interval interval,
org.atlasapi.media.entity.Publisher source,
Set<org.atlasapi.media.entity.Publisher> selectedSources)
Resolve a schedule, according to a
Publisher, of equivalent
Items broadcast on the provided
Channels over the given Interval. |
com.google.common.util.concurrent.ListenableFuture<EquivalentSchedule> resolveSchedules(Iterable<org.atlasapi.media.channel.Channel> channels, org.joda.time.Interval interval, org.atlasapi.media.entity.Publisher source, Set<org.atlasapi.media.entity.Publisher> selectedSources)
Resolve a schedule, according to a Publisher, of equivalent
Items broadcast on the provided
Channels over the given Interval.
Only Items from the selected sources are returned in the schedule.
The returned EquivalentSchedule must contain a (possibly
empty) EquivalentChannelSchedule for each requested
Channel.
channels - - channels for which to return schedules.interval - - interval over which the schedule should be resolved.source - - the schedule source.selectedSources - - the sources of which Items should be returned.ListenableFuture of the resolved schedule.Copyright © 2014. All rights reserved.