- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for getJobExecutor (0.06 seconds)
-
src/main/java/org/codelibs/fess/util/ComponentUtil.java
} /** * Gets a job executor by name. * @param name The name of the job executor. * @return The job executor instance. */ public static JobExecutor getJobExecutor(final String name) { if (name.endsWith(JOB_EXECUTOR_SUFFIX)) { return getComponent(name); } return getComponent("script" + JOB_EXECUTOR_SUFFIX); } /**Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 06:59:19 GMT 2026 - 30.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/ComponentUtilTest.java
try { ComponentUtil.getJobExecutor("testJobExecutor"); fail("Should throw exception"); } catch (Exception e) { // Expected } } @Test public void test_getJobExecutor_withoutSuffix() { try { ComponentUtil.getJobExecutor("test"); fail("Should throw exception");Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 7.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/job/ScriptExecutorJob.java
} final String scriptType = scheduledJob.getScriptType(); final String script = scheduledJob.getScriptData(); final JobExecutor jobExecutor = ComponentUtil.getJobExecutor(scriptType); if (jobExecutor == null) { throw new ScheduledJobException("No jobExecutor: " + scriptType); } if (!jobManager.findJobByUniqueOf(LaJobUnique.of(id)).isPresent()) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 11:55:54 GMT 2026 - 5.7K bytes - Click Count (0)