Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 122 for job1 (0.05 seconds)

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

  1. src/test/java/org/codelibs/fess/app/web/api/admin/scheduler/ApiAdminSchedulerActionTest.java

            final ScheduledJob job = new ScheduledJob();
            job.setId(id);
            job.setName(name);
            job.setJobLogging(loggingEnabled ? Constants.T : Constants.F);
            job.setAvailable(enabled ? Constants.T : Constants.F);
            job.setScriptType("groovy");
            job.setScriptData("println 'test'");
            job.setTarget("all");
            return job;
        }
    
        @FunctionalInterface
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:55:54 GMT 2026
    - 13K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/scheduler/CreateForm.java

        public Integer crudMode;
    
        /**
         * The name of the scheduled job.
         */
        @Required
        @Size(max = 100)
        public String name;
    
        /**
         * The target class for the scheduled job.
         */
        @Required
        @Size(max = 100)
        public String target;
    
        /**
         * The cron expression defining when the job should run.
         */
        @Size(max = 100)
        @CronExpression
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/exception/JobNotFoundExceptionTest.java

            assertNotNull(exception);
            assertEquals("Job[name=\"Test & Job\", id='<123>']", exception.getMessage());
        }
    
        @Test
        public void test_constructorWithString_specialCharacters() {
            // Test with message containing special characters
            String message = "Job not found: \"My Job\" with params: {id=123, type='test'}";
    
            JobNotFoundException exception = new JobNotFoundException(message);
    
    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/job/PurgeDocJobTest.java

        }
    
        @Test
        public void test_constructor() {
            // Test that constructor creates instance without error
            PurgeDocJob job = new PurgeDocJob();
            assertNotNull(job);
        }
    
        @Test
        public void test_execute_success() {
            // Execute the job
            String result = purgeDocJob.execute();
    
            // Assert deleteByQuery was called
            assertTrue(deleteByQueryCalled);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 16.4K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/opensearch/config/exentity/ScheduledJob.java

            ComponentUtil.getJobManager().findJobByUniqueOf(LaJobUnique.of(getId())).ifPresent(job -> {
                job.launchNow();
            }).orElse(() -> {
                throw new JobNotFoundException(this);
            });
        }
    
        public void start(final Map<String, Object> params) {
            ComponentUtil.getJobManager().findJobByUniqueOf(LaJobUnique.of(getId())).ifPresent(job -> {
                if (params != null && !params.isEmpty()) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:55:54 GMT 2026
    - 3.6K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/job/AggregateLogJobTest.java

            aggregateLogJob = new AggregateLogJob();
        }
    
        @Test
        public void test_constructor() {
            // Test default constructor
            AggregateLogJob job = new AggregateLogJob();
            assertNotNull(job);
        }
    
        @Test
        public void test_execute_success() {
            // Setup mock SearchLogHelper that succeeds
            SearchLogHelper mockSearchLogHelper = new SearchLogHelper() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 12.3K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/app/job/AllJobSchedulerTest.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.app.job;
    
    import org.codelibs.fess.unit.UnitFessTestCase;
    import org.lastaflute.job.LaJob;
    import org.lastaflute.job.LaJobScheduler;
    
    public class AllJobSchedulerTest extends UnitFessTestCase {
    
        public void test_AllJobScheduler_implementsLaJobScheduler() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 12:58:11 GMT 2026
    - 1.6K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/app/pager/SchedulerPager.java

         */
        public String scriptType;
    
        /**
         * Whether the scheduled job is a crawler job.
         */
        public String crawler;
    
        /**
         * Whether logging is enabled for the scheduled job.
         */
        public String jobLogging;
    
        /**
         * Whether the scheduled job is available.
         */
        public String available;
    
        /**
         * Sort order of the scheduled job.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/job/PurgeDocJob.java

    import org.opensearch.index.query.QueryBuilder;
    import org.opensearch.index.query.QueryBuilders;
    
    /**
     * Job for purging expired documents from the search index.
     * This job removes documents that have passed their expiration time based on the expires field.
     * It helps maintain the search index by cleaning up outdated content automatically.
     */
    public class PurgeDocJob {
    
        /** Logger instance for this class */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/web/api/admin/scheduler/ApiAdminSchedulerAction.java

        }
    
        /**
         * Starts a scheduled job by ID.
         * When job logging is enabled, a pre-generated job log ID is returned in the response
         * as {@code jobLogId}. When job logging is disabled, {@code jobLogId} is {@code null}.
         *
         * @param id the ID of the scheduled job to start
         * @return JSON response with {@code jobLogId} (nullable) and status
         */
    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)
Back to Top