Uses of Class
dk.netarkivet.harvester.datamodel.Schedule
-
Packages that use Schedule Package Description dk.netarkivet.harvester.datamodel -
-
Uses of Schedule in dk.netarkivet.harvester.datamodel
Subclasses of Schedule in dk.netarkivet.harvester.datamodel Modifier and Type Class Description class
RepeatingSchedule
This class implements a schedule that should run a certain number of times.class
TimedSchedule
This class implements a schedule that runs over a specified period of time.Methods in dk.netarkivet.harvester.datamodel that return Schedule Modifier and Type Method Description static Schedule
Schedule. getInstance(java.util.Date startDate, int repeats, Frequency freq, java.lang.String name, java.lang.String comments)
Get a new Schedule instance for a schedule that runs a certain number of times.static Schedule
Schedule. getInstance(java.util.Date startDate, java.util.Date endDate, Frequency freq, java.lang.String name, java.lang.String comments)
Get a new Schedule instance for a schedule that runs over a certain period.Schedule
PartialHarvest. getSchedule()
Returns the schedule defined for this harvest definition.abstract Schedule
ScheduleDAO. read(java.lang.String scheduleName)
Read an existing schedule.Schedule
ScheduleDBDAO. read(java.lang.String scheduleName)
Read an existing schedule.Methods in dk.netarkivet.harvester.datamodel that return types with arguments of type Schedule Modifier and Type Method Description abstract java.util.Iterator<Schedule>
ScheduleDAO. getAllSchedules()
Get iterator to all available schedules.java.util.Iterator<Schedule>
ScheduleDBDAO. getAllSchedules()
Get iterator to all available schedules.java.util.Iterator<Schedule>
ScheduleDAO. iterator()
Get an iterator over the schedules handled by this DAO.Methods in dk.netarkivet.harvester.datamodel with parameters of type Schedule Modifier and Type Method Description abstract void
ScheduleDAO. create(Schedule schedule)
Create a new schedule.void
ScheduleDBDAO. create(Schedule schedule)
Create a new schedule.static PartialHarvest
HarvestDefinition. createPartialHarvest(java.util.List<DomainConfiguration> domainConfigurations, Schedule schedule, java.lang.String harvestDefName, java.lang.String comments, java.lang.String audience)
Create new instance of a PartialHavest configured according to the properties of the supplied DomainConfiguration.void
PartialHarvest. setSchedule(Schedule schedule)
Set the schedule to be used for this harvestdefinition.abstract void
ScheduleDAO. update(Schedule schedule)
Update a schedule in the DAO.void
ScheduleDBDAO. update(Schedule schedule)
Update a schedule in the DAO.Constructors in dk.netarkivet.harvester.datamodel with parameters of type Schedule Constructor Description PartialHarvest(java.util.List<DomainConfiguration> domainConfigurations, Schedule schedule, java.lang.String harvestDefName, java.lang.String comments, java.lang.String audience)
Create new instance of a PartialHavest configured according to the properties of the supplied DomainConfiguration.
-