Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 48 for scheduled_job (0.49 seconds)

  1. src/test/java/org/codelibs/fess/job/CrawlJobTest.java

                }
            };
    
            scheduledJobs.add(job1);
            scheduledJobs.add(job2);
            scheduledJobs.add(job3);
    
            ComponentUtil.register(new ScheduledJobBhv() {
                @Override
                public void selectCursor(CBCall<ScheduledJobCB> cbLambda, EntityRowHandler<ScheduledJob> entityLambda) {
                    for (ScheduledJob job : scheduledJobs) {
                        entityLambda.handle(job);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 25K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/exception/JobNotFoundException.java

        /**
         * Constructs a new JobNotFoundException with a message derived from the scheduled job.
         *
         * @param scheduledJob the scheduled job that was not found
         */
        public JobNotFoundException(final ScheduledJob scheduledJob) {
            super(scheduledJob.toString());
        }
    
        /**
         * Constructs a new JobNotFoundException with the specified detail message.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/exception/JobNotFoundExceptionTest.java

    import org.codelibs.fess.opensearch.config.exentity.ScheduledJob;
    import org.codelibs.fess.unit.UnitFessTestCase;
    import org.junit.jupiter.api.Test;
    
    public class JobNotFoundExceptionTest extends UnitFessTestCase {
    
        @Test
        public void test_constructorWithScheduledJob() {
            // Test with scheduled job that has a custom toString implementation
            ScheduledJob scheduledJob = new ScheduledJob() {
                @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 9.2K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/opensearch/config/exentity/JobLogTest.java

            scheduledJob.setScriptType("groovy");
            scheduledJob.setScriptData("println 'hello'");
            scheduledJob.setJobLogging(Constants.T);
            scheduledJob.setAvailable(Constants.T);
            scheduledJob.setCrawler(Constants.F);
            scheduledJob.setTarget("all");
            return scheduledJob;
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:55:54 GMT 2026
    - 3.7K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/opensearch/config/exentity/JobLog.java

        private static final long serialVersionUID = 1L;
    
        private ScheduledJob scheduledJob;
    
        public JobLog() {
        }
    
        public JobLog(final ScheduledJob scheduledJob) {
            this.scheduledJob = scheduledJob;
            setJobName(scheduledJob.getName());
            setScriptType(scheduledJob.getScriptType());
            setScriptData(scheduledJob.getScriptData());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/app/service/ScheduledJobService.java

         */
        public OptionalEntity<ScheduledJob> getScheduledJob(final String id) {
            return scheduledJobBhv.selectByPK(id);
        }
    
        /**
         * Deletes a scheduled job.
         * @param scheduledJob The scheduled job to delete.
         */
        public void delete(final ScheduledJob scheduledJob) {
            scheduledJobBhv.delete(scheduledJob, op -> {
                op.setRefreshPolicy(Constants.TRUE);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/helper/JobHelperTest.java

        }
    
        @Test
        public void test_register_with_null_scheduledJob() {
            try {
                jobHelper.register((ScheduledJob) null);
                fail("Should throw ScheduledJobException");
            } catch (ScheduledJobException e) {
                assertEquals("scheduledJob parameter is null. Cannot register a null job.", e.getMessage());
            } catch (Exception e) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 6.5K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/app/web/api/admin/scheduler/ApiAdminSchedulerAction.java

        }
    
        /**
         * Creates an EditBody from a ScheduledJob entity.
         *
         * @param entity the scheduled job entity to convert
         * @return the converted EditBody
         */
        protected EditBody createEditBody(final ScheduledJob entity) {
            final EditBody body = new EditBody();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:55:54 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/scheduler/AdminSchedulerAction.java

            copyBeanToBean(entity, form, op -> op.exclude("crudMode").excludeNull());
            form.jobLogging = entity.isLoggingEnabled() ? Constants.ON : null;
            form.crawler = entity.isCrawlerJob() ? Constants.ON : null;
            form.available = entity.isEnabled() ? Constants.ON : null;
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 13:56:35 GMT 2025
    - 21.8K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/opensearch/config/exentity/ScheduledJobTest.java

            final ScheduledJob job = new ScheduledJob();
            assertFalse(job.isLoggingEnabled());
        }
    
        @Test
        public void test_isEnabled_true() {
            final ScheduledJob job = new ScheduledJob();
            job.setAvailable(Constants.T);
            assertTrue(job.isEnabled());
        }
    
        @Test
        public void test_isEnabled_false() {
            final ScheduledJob job = new ScheduledJob();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:55:54 GMT 2026
    - 15.8K bytes
    - Click Count (0)
Back to Top