public class MatterCrawlingJob extends BaseCrawlingJob
DEFAULT_GROUP_NAME, DEFAULT_MAX_SEGMENTS, DEFAULT_WITH_COMMIT, DEFAULT_WITH_OPTIMIZE, groupName, KEY_CRAWLING_TYPE, KEY_GROUP_NAME, KEY_MAX_SEGMENTS, KEY_WITH_COMMIT, KEY_WITH_OPTIMIZE
コンストラクタと説明 |
---|
MatterCrawlingJob() |
修飾子とタイプ | メソッドと説明 |
---|---|
JobResult |
execute()
クローリング処理を実行します。
|
protected void |
executeDelete(UpdateService updateService)
コンテンツの削除処理を実装します。
|
protected void |
executeDelta(UpdateService updateService)
IM-Workflowの案件情報のインデックス作成(差分作成)処理を実装します。
|
protected String |
getType()
IM-Workflowのコンテンツタイプを表す コンテンツタイプを表す文字列を返します。
|
protected void |
initialize()
IM-Workflowクローラの初期化を行います。
|
commit, executeReindex, getCrawlingType, getGroupName, getTenantId, getUpdateService, optimize
canParseToBoolean, getJobContext, getParameter, getParameter, getParameterAsBoolean, getParameterAsBoolean, getParameterAsInteger, getParameterAsInteger
public JobResult execute() throws JobExecuteException
BaseCrawlingJob
execute
インタフェース内 Job
execute
クラス内 BaseCrawlingJob
JobExecuteException
- ジョブ実行中に例外がスローされた場合、 実行処理の結果がエラーとして扱います。メッセージにはスローされた例外のローカライズメッセージが使用されます。BaseJob.execute()
protected void executeDelete(UpdateService updateService) throws JobExecuteException
BaseCrawlingJob
BaseCrawlingJob.getType()
メソッドから取得したコンテンツタイプと同じタイプのコンテンツを全て削除します。@Override protected void executeDelete(final UpdateService updateService) throws JobExecuteException { // コンテンツの削除 super.executeDelete(updateService); // 外部データの削除 ... }
executeDelete
クラス内 BaseCrawlingJob
updateService
- 更新サービスJobExecuteException
- コンテンツ削除処理に失敗した場合protected void executeDelta(UpdateService updateService) throws JobExecuteException
executeDelta
クラス内 BaseCrawlingJob
updateService
- 更新サービスJobExecuteException
- コンテンツ作成処理に失敗した場合BaseCrawlingJob.executeDelta(jp.co.intra_mart.foundation.contentssearch.service.UpdateService)
protected String getType()
getType
クラス内 BaseCrawlingJob
BaseCrawlingJob.getType()
protected void initialize() throws JobExecuteException
initialize
クラス内 BaseCrawlingJob
JobExecuteException
- 初期化処理に失敗した場合BaseCrawlingJob.initialize()
Copyright © 2012 NTT DATA INTRAMART CORPORATION