|
Oracle Secure Enterprise Search Java API Reference 11g Release 1 (11.1.2.0.0) E14433-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CrawlerPluginManager
CrawlerPluginManager is an interface used by a crawler plug-in 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() plug-in manager cleanup; use getCrawlerStatus() from GeneralService if the cleanup depends on the crawler shutdown scenario. |
String |
getBaseAPIVersion() Get the version string of the plug-in API. |
CrawlerPlugin |
getCrawlerPlugin(CrawlingThreadService cts) |
int |
getDefaultAccessPolicy() Get the default access policy of the plug-in |
String |
getPluginDescription() Get the description of the plug-in |
String |
getPluginName() Get the name of the plug-in |
List |
getPluginParameters() Get the parameters of the plug-in |
String |
getPluginVersion() Get the version string of the plug-in |
void |
init(ParameterValues params, boolean forceRecrawl, Date lastCrawlTime, GeneralService generalMgr, int threadCount) Initialize the plug-in manager |
Field Detail |
---|
static final int POLICY_PUBLIC_ACCESS
static final int POLICY_SOURCE_LEVEL_ACL
static final int POLICY_DOCUMENT_LEVEL_ACL
static final String VERSION
Method Detail |
---|
String getBaseAPIVersion()
String getPluginName()
String getPluginDescription()
String getPluginVersion()
List getPluginParameters()
int getDefaultAccessPolicy()
void init(ParameterValues params, boolean forceRecrawl, Date lastCrawlTime, GeneralService generalMgr, int threadCount) throws PluginException
params
- the data source parametersforceRecrawl
- a flag asking plug-in to return all URLs if truelastCrawlTime
- the time last crawling was performedgeneralMgr
- general managerthreadCount
- number of plug-ins requiredPluginException
- if unable to initialize the plug-invoid cleanup() throws PluginException
PluginException
- if unable to cleanup the plug-in managerGeneralService.getCrawlerStatus()
CrawlerPlugin getCrawlerPlugin(CrawlingThreadService cts)
cts
- - crawling thread service object
|
Oracle Secure Enterprise Search Java API Reference 11g Release 1 (11.1.2.0.0) E14433-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |