Package | Description |
---|---|
dk.netarkivet.harvester.datamodel |
Modifier and Type | Class and Description |
---|---|
class |
DailyFrequency
This class implements a frequency of a number of days.
|
class |
HourlyFrequency
This class implements a frequency of a number of hours.
|
class |
MinuteFrequency
Allows specification of a schedule with a frequency measured in minutes.
|
class |
MonthlyFrequency
This class implements a frequency of a number of months.
|
class |
WeeklyFrequency
This class implements a frequency of a number of weeks.
|
Modifier and Type | Field and Description |
---|---|
protected Frequency |
Schedule.frequency
Frequency of runs, possibly with a time it should happen at.
|
Modifier and Type | Method and Description |
---|---|
Frequency |
Schedule.getFrequency()
Get the frequency defining how often and when this schedule should be run.
|
static Frequency |
Frequency.getNewInstance(int timeunit,
boolean anytime,
int numtimeunits,
Integer minute,
Integer hour,
Integer dayofweek,
Integer dayofmonth)
Get a new instance of Frequency.
|
Modifier and Type | Method and Description |
---|---|
static Schedule |
Schedule.getInstance(Date startDate,
Date endDate,
Frequency freq,
String name,
String comments)
Get a new Schedule instance for a schedule that runs over a certain period.
|
static Schedule |
Schedule.getInstance(Date startDate,
int repeats,
Frequency freq,
String name,
String comments)
Get a new Schedule instance for a schedule that runs a certain number of times.
|
Constructor and Description |
---|
RepeatingSchedule(Date startDate,
int repeats,
Frequency frequency,
String name,
String comments)
Create a new RepeatingSchedule that runs a given number of times.
|
Schedule(Date startDate,
Frequency frequency,
String name,
String comments)
Create a new schedule starting at a specific time and going on for an undefined time.
|
Copyright © 2005–2018 The Royal Danish Library, the National Library of France and the Austrian National Library.. All rights reserved.