Class ScheduleList
- java.lang.Object
-
- org.apache.manifoldcf.crawler.jobs.ScheduleList
-
public class ScheduleList extends java.lang.Object
This class describes an ordered set of schedule records. They are ordered only for UI nicety, not any functional reason.
-
-
Constructor Summary
Constructors Constructor Description ScheduleList()
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addRecord(ScheduleRecord sr)
Add a record.void
clear()
Clear it.void
deleteRecord(int index)
Delete a record.ScheduleList
duplicate()
Duplicate this list.ScheduleRecord
getRecord(int index)
Get the specified record.int
getRecordCount()
Get the number of records.
-
-
-
Field Detail
-
_rcsid
public static final java.lang.String _rcsid
- See Also:
- Constant Field Values
-
list
protected java.util.ArrayList list
-
-
Method Detail
-
clear
public void clear()
Clear it.
-
duplicate
public ScheduleList duplicate()
Duplicate this list.- Returns:
- the duplicate.
-
addRecord
public void addRecord(ScheduleRecord sr)
Add a record.- Parameters:
sr
- is the record to add to the end.
-
getRecordCount
public int getRecordCount()
Get the number of records.- Returns:
- the record count.
-
getRecord
public ScheduleRecord getRecord(int index)
Get the specified record.- Parameters:
index
- is the record number.- Returns:
- the record.
-
deleteRecord
public void deleteRecord(int index)
Delete a record.- Parameters:
index
- is the record number.
-
-