Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 6 of 6 for jobLogId (0.03 seconds)

  1. src/main/java/org/codelibs/fess/app/job/ScriptExecutorJob.java

                jobHelper.unregister(scheduledJob);
                return;
            }
    
            final JobLog jobLog = new JobLog(scheduledJob);
            final String jobLogId = (String) runtime.getParameterMap().get(Constants.JOB_LOG_ID);
            if (jobLogId != null) {
                jobLog.setId(jobLogId);
            }
            final String scriptType = scheduledJob.getScriptType();
            final String script = scheduledJob.getScriptData();
    
    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)
  2. src/main/java/org/codelibs/fess/app/web/api/admin/scheduler/ApiAdminSchedulerAction.java

         * 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
         */
        // PUT /api/admin/scheduler/{id}/start
        @Execute(urlPattern = "{}/@word")
    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)
  3. src/test/java/org/codelibs/fess/app/web/api/admin/scheduler/ApiAdminSchedulerActionTest.java

    import org.lastaflute.web.response.JsonResponse;
    
    /**
     * Tests for the scheduler start API endpoint contract.
     * Verifies that {@code PUT /api/admin/scheduler/{id}/start} returns the correct
     * {@code jobLogId} based on the job's logging configuration.
     */
    public class ApiAdminSchedulerActionTest extends UnitFessTestCase {
    
        @Override
        protected boolean isUseOneTimeContainer() {
            return true;
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:55:54 GMT 2026
    - 13K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/app/web/api/ApiResult.java

             */
            public ApiStartJobResponse jobLogId(final String jobLogId) {
                this.jobLogId = jobLogId;
                return this;
            }
    
            @Override
            public ApiResult result() {
                return new ApiResult(this);
            }
        }
    
        /**
         * Represents an API response for a delete operation.
         */
        public static class ApiDeleteResponse extends ApiResponse {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:55:54 GMT 2026
    - 25.8K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/app/web/api/ApiResultTest.java

            final ApiStartJobResponse returned = response.jobLogId("abc123def456");
            assertSame(response, returned);
            assertEquals("abc123def456", response.jobLogId);
        }
    
        @Test
        public void test_ApiStartJobResponse_withNullJobLogId() {
            final ApiStartJobResponse response = new ApiStartJobResponse();
            response.jobLogId(null);
            assertNull(response.jobLogId);
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:55:54 GMT 2026
    - 4.5K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/Constants.java

        public static final String SCHEDULED_JOB = "scheduledJob";
    
        /** Job log ID parameter key for passing pre-generated ID to job execution. */
        public static final String JOB_LOG_ID = "jobLogId";
    
        /** Default job target value (all configurations). */
        public static final String DEFAULT_JOB_TARGET = "all";
    
        /** Default job script type (Groovy). */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:55:54 GMT 2026
    - 35.8K bytes
    - Click Count (0)
Back to Top