info.aduna.infosource.manager
Class RecrawlJob

java.lang.Object
  extended by info.aduna.infosource.manager.RecrawlJob
All Implemented Interfaces:
org.quartz.Job

public class RecrawlJob
extends Object
implements org.quartz.Job

An implementation of the Quartz Job interface which triggers a recrawl on a specific CrawlingRepository in an InfoSourceManager.


Field Summary
static String CLEAR_BEFORE_CRAWL
          The key used to specify whether a full- or incremental recrawl should be performed.
static String MANAGER_KEY
          The key used to store a reference to the InfoSourceManager on which to trigger a recrawl.
static String REPOSITORY_ID_KEY
          The key used to store the ID (String) of the CrawlingRepository in the JobDataMap.
 
Constructor Summary
RecrawlJob()
          Creates a new RecrawlJob.
 
Method Summary
 void execute(org.quartz.JobExecutionContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MANAGER_KEY

public static final String MANAGER_KEY
The key used to store a reference to the InfoSourceManager on which to trigger a recrawl.

See Also:
Constant Field Values

REPOSITORY_ID_KEY

public static final String REPOSITORY_ID_KEY
The key used to store the ID (String) of the CrawlingRepository in the JobDataMap.

See Also:
Constant Field Values

CLEAR_BEFORE_CRAWL

public static final String CLEAR_BEFORE_CRAWL
The key used to specify whether a full- or incremental recrawl should be performed.

See Also:
Constant Field Values
Constructor Detail

RecrawlJob

public RecrawlJob()
Creates a new RecrawlJob. This no-argument constructor is required by Quartz.

Method Detail

execute

public void execute(org.quartz.JobExecutionContext context)
Specified by:
execute in interface org.quartz.Job


Copyright © 1997-2008 Aduna. All Rights Reserved.