- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for getJobExecutor (0.05 sec)
-
src/test/java/org/codelibs/fess/util/ComponentUtilTest.java
try { ComponentUtil.getJobExecutor("testJobExecutor"); fail("Should throw exception"); } catch (Exception e) { // Expected } } public void test_getJobExecutor_withoutSuffix() { try { ComponentUtil.getJobExecutor("test"); fail("Should throw exception"); } catch (Exception e) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 7.3K bytes - Viewed (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()) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 5.5K bytes - Viewed (0) -
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); } /**
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 28.9K bytes - Viewed (0)