Class SuggestJob

java.lang.Object
org.codelibs.fess.job.ExecJob
org.codelibs.fess.job.SuggestJob

public class SuggestJob extends ExecJob
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.
  • Constructor Details

    • SuggestJob

      public SuggestJob()
      Constructs a new suggest job.
  • Method Details

    • execute

      public String execute()
      Description copied from class: ExecJob
      Executes the job and returns the result as a string. This method contains the main business logic for the specific job implementation.
      Specified by:
      execute in class ExecJob
      Returns:
      the execution result message or summary
    • 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

      protected String getExecuteType()
      Description copied from class: ExecJob
      Returns the execution type identifier for this job. This type is used for classpath construction, configuration, and logging purposes.
      Specified by:
      getExecuteType in class ExecJob
      Returns:
      the execution type (e.g., "crawler", "suggest", etc.)