Class ScheduleList
- java.lang.Object
-
- org.apache.manifoldcf.crawler.jobs.ScheduleList
-
public class ScheduleList extends java.lang.ObjectThis 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 voidaddRecord(ScheduleRecord sr)Add a record.voidclear()Clear it.voiddeleteRecord(int index)Delete a record.ScheduleListduplicate()Duplicate this list.ScheduleRecordgetRecord(int index)Get the specified record.intgetRecordCount()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.
-
-