Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 5 of 5 for isLoggingEnabled (0.09 seconds)

  1. src/main/java/org/codelibs/fess/opensearch/config/exentity/ScheduledJob.java

        public String getScriptType() {
            final String st = super.getScriptType();
            if (StringUtil.isBlank(st)) {
                return "groovy";
            }
            return st;
        }
    
        public boolean isLoggingEnabled() {
            return Constants.T.equals(getJobLogging());
        }
    
        public boolean isCrawlerJob() {
            return Constants.T.equals(getCrawler());
        }
    
        public boolean isEnabled() {
    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)
  2. src/main/java/org/codelibs/fess/app/job/ScriptExecutorJob.java

            try {
                if (scheduledJob.isLoggingEnabled()) {
                    jobHelper.store(jobLog);
                    task = jobHelper.startMonitorTask(jobLog);
                }
    
                if (logger.isDebugEnabled()) {
                    logger.debug("Starting job: id={}, scriptType={}, script={}", id, scriptType, script);
                } else if (scheduledJob.isLoggingEnabled() && logger.isInfoEnabled()) {
    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)
  3. src/test/java/org/codelibs/fess/opensearch/config/exentity/ScheduledJobTest.java

            final ScheduledJob job = new ScheduledJob();
            job.setJobLogging(Constants.T);
            assertTrue(job.isLoggingEnabled());
        }
    
        @Test
        public void test_isLoggingEnabled_false() {
            final ScheduledJob job = new ScheduledJob();
            job.setJobLogging(Constants.F);
            assertFalse(job.isLoggingEnabled());
        }
    
        @Test
        public void test_isLoggingEnabled_null() {
    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)
  4. src/main/java/org/codelibs/fess/app/web/api/admin/scheduler/ApiAdminSchedulerAction.java

                    throwValidationErrorApi(messages -> {
                        messages.addErrorsFailedToStartJob(GLOBAL, entity.getName());
                    });
                }
                try {
                    if (entity.isLoggingEnabled()) {
                        jobLogId[0] = UUID.randomUUID().toString().replace("-", "");
                        entity.start(Map.of(Constants.JOB_LOG_ID, jobLogId[0]));
                    } else {
    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)
  5. src/main/java/org/codelibs/fess/app/web/admin/scheduler/AdminSchedulerAction.java

         */
        protected void loadScheduledJob(final EditForm form, final ScheduledJob entity) {
            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)
Back to Top