|
Oracle Secure Enterprise Search Java API Reference 10g Release 1 (10.1.8.2) E10465-01 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
CrawlerPluginManager is an interface used by a crawler plugin to submit URL-related data to the crawler.
Field Summary | |
static int |
POLICY_DOCUMENT_LEVEL_ACL |
static int |
POLICY_PUBLIC_ACCESS |
static int |
POLICY_SOURCE_LEVEL_ACL |
static String |
VERSION |
Method Summary | |
void |
cleanup() plugin manager cleanup; use getCrawlerStatus() from GeneralService if the clean up depends on the crawler shutdown scenario. |
String |
getBaseAPIVersion() Get the version string of the plugin API - this method should always return CrawlerPluginManager.VERSION |
CrawlerPlugin |
getCrawlerPlugin(CrawlingThreadService cts) provide a CrawlerPlugin instance. |
int |
getDefaultAccessPolicy() Get the default access policy of the plugin |
String |
getPluginDescription() Get the description of the plugin |
String |
getPluginName() Get the name of the plugin |
List |
getPluginParameters() Get the parameters of the plugin |
String |
getPluginVersion() Get the version string of the plugin |
void |
init(ParameterValues params, boolean forceRecrawl, Date lastCrawlTime, GeneralService generalMgr, int threadCount) Initialize the plugin manager |
Field Detail |
public static final int POLICY_PUBLIC_ACCESS
public static final int POLICY_SOURCE_LEVEL_ACL
public static final int POLICY_DOCUMENT_LEVEL_ACL
public static final String VERSION
Method Detail |
public String getBaseAPIVersion()
public String getPluginName()
public String getPluginDescription()
public String getPluginVersion()
public List getPluginParameters()
public int getDefaultAccessPolicy()
CrawlerPluginManager.POLICY_PUBLIC_ACCESS
, CrawlerPluginManager.POLICY_SOURCE_LEVEL_ACL
, or CrawlerPluginManager.POLICY_DOCUMENT_LEVEL_ACL
public void init(ParameterValues params, boolean forceRecrawl, Date lastCrawlTime, GeneralService generalMgr, int threadCount) throws PluginException
params
- the data source parametersforceRecrawl
- a flag asking plugin to return all URLs if truelastCrawlTime
- the time last crawling was performedgeneralMgr
- general managerthreadCount
- number of plugins requiredPluginException
- if unable to initialize the pluginpublic void cleanup() throws PluginException
PluginException
- if unable to clean up the plugin managerGeneralService.getCrawlerStatus()
public CrawlerPlugin getCrawlerPlugin(CrawlingThreadService cts)
cts
- crawling thread service object
|
Oracle Secure Enterprise Search Java API Reference 10g Release 1 (10.1.8.2) E10465-01 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |