Package org.codelibs.fess.job
Class SuggestJob
java.lang.Object
org.codelibs.fess.job.ExecJob
org.codelibs.fess.job.SuggestJob
This job is responsible for executing the suggest creator process.
It builds and runs a command-line process to generate suggest data,
handling classpath setup, system properties, and process monitoring.
-
Field Summary
Fields inherited from class org.codelibs.fess.job.ExecJob
jobExecutor, jvmOptions, lastaEnv, logFilePath, logLevel, logSuffix, processTimeout, sessionId, timeout, useLocalFesen -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.codelibs.fess.job.ExecJob
addFessConfigProperties, addFessCustomSystemProperties, addFessSystemProperties, addSystemProperty, appendJarFile, createSystemProperties, createTimeoutTask, deleteTempDir, execute, gcLogging, getLogName, jobExecutor, jvmOptions, lastaEnv, logFilePath, logLevel, logSuffix, remoteDebug, sessionId, timeout, useLocalFesen
-
Constructor Details
-
SuggestJob
public SuggestJob()Constructs a new suggest job.
-
-
Method Details
-
execute
Description copied from class:ExecJobExecutes the job and returns the result as a string. This method contains the main business logic for the specific job implementation. -
executeSuggestCreator
protected void executeSuggestCreator()Executes the suggest creator process. This method constructs the command line arguments and starts the process.- Throws:
JobProcessingException- if the process fails.
-
getExecuteType
Description copied from class:ExecJobReturns the execution type identifier for this job. This type is used for classpath construction, configuration, and logging purposes.- Specified by:
getExecuteTypein classExecJob- Returns:
- the execution type (e.g., "crawler", "suggest", etc.)
-