org.apache.manifoldcf.crawler.jobs
Class ScheduleList

java.lang.Object
  extended by 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.


Field Summary
static java.lang.String _rcsid
           
protected  java.util.ArrayList list
           
 
Constructor Summary
ScheduleList()
          Constructor.
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_rcsid

public static final java.lang.String _rcsid
See Also:
Constant Field Values

list

protected java.util.ArrayList list
Constructor Detail

ScheduleList

public ScheduleList()
Constructor.

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.