|
Oracle Secure Enterprise Search Java API Reference 10g Release 1 (10.1.8) B32260-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 java.lang.String |
VERSION |
Method Summary | |
void |
cleanup() plugin manager cleanup; use getCrawlerStatus() from GeneralService if the clean up depends on the crawler shutdown scenario. |
java.lang.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 |
java.lang.String |
getPluginDescription() Get the description of the plugin |
java.lang.String |
getPluginName() Get the name of the plugin |
java.util.List |
getPluginParameters() Get the parameters of the plugin |
java.lang.String |
getPluginVersion() Get the version string of the plugin |
void |
init(ParameterValues params, boolean forceRecrawl, java.util.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 java.lang.String VERSION
Method Detail |
public java.lang.String getBaseAPIVersion()
public java.lang.String getPluginName()
public java.lang.String getPluginDescription()
public java.lang.String getPluginVersion()
public java.util.List getPluginParameters()
public int getDefaultAccessPolicy()
public void init(ParameterValues params, boolean forceRecrawl, java.util.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) B32260-01 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |