|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IJobDescription
This is a paper object describing a job. Each job in lcf has: - an identifier; - a description; - a repository connection; - one of a number of scheduling options: starting every n hours/days/weeks/months, on specific dates, or "continuous" (which basically establishes a priority queue based on modification frequency); - "seeds" (or starting points), which are the places that scanning begins. Also remember that since incremental deletion must occur on a job-by-job basis, the scanning data also records the job that performed the scan, so that each job can rescan previous ingested data, and delete documents that have been removed.
| Field Summary | |
|---|---|
static java.lang.String |
_rcsid
|
static int |
HOPCOUNT_ACCURATE
|
static int |
HOPCOUNT_NEVERDELETE
|
static int |
HOPCOUNT_NODELETE
|
static int |
START_DISABLE
|
static int |
START_WINDOWBEGIN
|
static int |
START_WINDOWINSIDE
|
static int |
TYPE_CONTINUOUS
|
static int |
TYPE_SPECIFIED
|
| Method Summary | |
|---|---|
void |
addHopCountFilter(java.lang.String linkType,
java.lang.Long maxHops)
Add a hopcount filter to the job. |
void |
addScheduleRecord(ScheduleRecord record)
Add a record. |
void |
clearHopCountFilters()
Clear the set of hopcount filters for the job. |
void |
clearScheduleRecords()
Clear all the scheduling records. |
void |
deleteScheduleRecord(int index)
Delete a specified schedule record. |
java.lang.String |
getConnectionName()
Get the connection name. |
java.lang.String |
getDescription()
Get the description. |
java.lang.Long |
getExpiration()
Get the expiration time, in milliseconds. |
java.util.Map |
getHopCountFilters()
Get the set of hopcount filters the job has defined. |
int |
getHopcountMode()
Get the hopcount mode. |
java.lang.Long |
getID()
Get the id. |
java.lang.Long |
getInterval()
Get the rescheduling interval, in milliseconds. |
boolean |
getIsNew()
Get isnew. |
java.lang.String |
getOutputConnectionName()
Get the output connection name. |
OutputSpecification |
getOutputSpecification()
Get the output specification (which can be modified). |
int |
getPriority()
Get the job priority. |
java.lang.Long |
getReseedInterval()
Get the reseeding interval, in milliseconds. |
ScheduleRecord |
getScheduleRecord(int index)
Get a specified schedule record. |
int |
getScheduleRecordCount()
Get the number of schedule records. |
DocumentSpecification |
getSpecification()
Get the document specification (which can be modified). |
int |
getStartMethod()
Get the job's start method. |
int |
getType()
Get the job type. |
void |
setConnectionName(java.lang.String connectionName)
Set the connection name. |
void |
setDescription(java.lang.String description)
Set the description. |
void |
setExpiration(java.lang.Long time)
Set the expiration time, in milliseconds. |
void |
setHopcountMode(int mode)
Set the hopcount mode. |
void |
setInterval(java.lang.Long interval)
Set the rescheduling interval, in milliseconds, or null if forever. |
void |
setOutputConnectionName(java.lang.String connectionName)
Set the output connection name. |
void |
setPriority(int priority)
Set the job priority. |
void |
setReseedInterval(java.lang.Long interval)
Set the reseeding interval, in milliseconds. |
void |
setStartMethod(int startMethod)
Set the job's start method. |
void |
setType(int type)
Set the job type. |
| Field Detail |
|---|
static final java.lang.String _rcsid
static final int TYPE_CONTINUOUS
static final int TYPE_SPECIFIED
static final int START_WINDOWBEGIN
static final int START_WINDOWINSIDE
static final int START_DISABLE
static final int HOPCOUNT_ACCURATE
static final int HOPCOUNT_NODELETE
static final int HOPCOUNT_NEVERDELETE
| Method Detail |
|---|
boolean getIsNew()
java.lang.Long getID()
void setDescription(java.lang.String description)
description - is the description.java.lang.String getDescription()
void setConnectionName(java.lang.String connectionName)
connectionName - is the connection name.java.lang.String getConnectionName()
void setOutputConnectionName(java.lang.String connectionName)
connectionName - is the output connection name.java.lang.String getOutputConnectionName()
void setType(int type)
type - is the type (as an integer).int getType()
void setStartMethod(int startMethod)
startMethod - is the start description.int getStartMethod()
void clearScheduleRecords()
void addScheduleRecord(ScheduleRecord record)
record - is the record to add.int getScheduleRecordCount()
ScheduleRecord getScheduleRecord(int index)
index - is the record number.
void deleteScheduleRecord(int index)
index - is the record number.void setInterval(java.lang.Long interval)
interval - is the default interval.java.lang.Long getInterval()
void setExpiration(java.lang.Long time)
time - is the maximum expiration time of a document, in milliseconds, or null if none.java.lang.Long getExpiration()
void setReseedInterval(java.lang.Long interval)
interval - is the interval, or null for infinite.java.lang.Long getReseedInterval()
OutputSpecification getOutputSpecification()
DocumentSpecification getSpecification()
void setPriority(int priority)
priority - is the priority.int getPriority()
java.util.Map getHopCountFilters()
void clearHopCountFilters()
void addHopCountFilter(java.lang.String linkType,
java.lang.Long maxHops)
linkType - is the type of link the filter applies to.maxHops - is the maximum hop count. Use null to remove a filter.int getHopcountMode()
void setHopcountMode(int mode)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||