Class ExecJob

java.lang.Object
org.codelibs.fess.job.ExecJob
Direct Known Subclasses:
CrawlJob, GenerateThumbnailJob, PythonJob, SuggestJob

public abstract class ExecJob extends Object
  • Field Details

    • jobExecutor

      protected JobExecutor jobExecutor
    • sessionId

      protected String sessionId
    • useLocalFesen

      protected boolean useLocalFesen
    • logFilePath

      protected String logFilePath
    • logLevel

      protected String logLevel
    • jvmOptions

      protected List<String> jvmOptions
    • lastaEnv

      protected String lastaEnv
    • timeout

      protected int timeout
    • processTimeout

      protected boolean processTimeout
  • Constructor Details

    • ExecJob

      public ExecJob()
  • Method Details

    • execute

      public abstract String execute()
    • getExecuteType

      protected abstract String getExecuteType()
    • execute

      public String execute(JobExecutor jobExecutor)
    • jobExecutor

      public ExecJob jobExecutor(JobExecutor jobExecutor)
    • sessionId

      public ExecJob sessionId(String sessionId)
    • logFilePath

      public ExecJob logFilePath(String logFilePath)
    • logLevel

      public ExecJob logLevel(String logLevel)
    • timeout

      public ExecJob timeout(int timeout)
    • useLocalFesen

      public ExecJob useLocalFesen(boolean useLocalFesen)
    • remoteDebug

      public ExecJob remoteDebug()
    • gcLogging

      public ExecJob gcLogging()
    • jvmOptions

      public ExecJob jvmOptions(String... options)
    • lastaEnv

      public ExecJob lastaEnv(String env)
    • addSystemProperty

      protected void addSystemProperty(List<String> cmdList, String name, String defaultValue, String appendValue)
    • addFessConfigProperties

      protected void addFessConfigProperties(List<String> cmdList)
    • addFessSystemProperties

      protected void addFessSystemProperties(List<String> cmdList)
    • deleteTempDir

      protected void deleteTempDir(File ownTmpDir)
    • appendJarFile

      protected void appendJarFile(String cpSeparator, StringBuilder buf, File libDir, String basePath)
    • createTimeoutTask

      protected org.codelibs.core.timer.TimeoutTask createTimeoutTask()
    • createSystemProperties

      protected void createSystemProperties(List<String> cmdList, File propFile)