Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for getJobExecutor (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. 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)
  2. 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)
Back to Top