Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for setJobStatus (0.29 sec)

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

                    }
                    jobLog.setScriptResult(ret.toString());
                }
                jobLog.setJobStatus(Constants.OK);
            } catch (final Throwable t) {
                logger.warn("Failed to execute {}: {}", id, script, t);
                jobLog.setJobStatus(Constants.FAIL);
                jobLog.setScriptResult(systemHelper.abbreviateLongText(t.getLocalizedMessage()));
            } finally {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/es/config/exentity/JobLog.java

            setScriptData(scheduledJob.getScriptData());
            setStartTime(ComponentUtil.getSystemHelper().getCurrentTimeAsLong());
            setLastUpdated(ComponentUtil.getSystemHelper().getCurrentTimeAsLong());
            setJobStatus(Constants.RUNNING);
            final String myName = ComponentUtil.getFessConfig().getSchedulerTargetName();
            setTarget(StringUtil.isNotBlank(myName) ? myName : Constants.DEFAULT_JOB_TARGET);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/service/JobLogService.java

                    mustNot.setEndTime_Exists();
                });
            });
            if (!list.isEmpty()) {
                list.forEach(jobLog -> {
                    jobLog.setJobStatus(Constants.FAIL);
                    jobLog.setScriptResult("No response from Job.");
                    jobLog.setEndTime(ComponentUtil.getSystemHelper().getCurrentTimeAsLong());
                });
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/config/bsbhv/BsJobLogBhv.java

                final RESULT result = entityType.newInstance();
                result.setEndTime(DfTypeUtil.toLong(source.get("endTime")));
                result.setJobName(DfTypeUtil.toString(source.get("jobName")));
                result.setJobStatus(DfTypeUtil.toString(source.get("jobStatus")));
                result.setLastUpdated(DfTypeUtil.toLong(source.get("lastUpdated")));
                result.setScriptData(DfTypeUtil.toString(source.get("scriptData")));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/es/config/bsentity/BsJobLog.java

            this.jobName = value;
        }
    
        public String getJobStatus() {
            checkSpecifiedProperty("jobStatus");
            return convertEmptyToNull(jobStatus);
        }
    
        public void setJobStatus(String value) {
            registerModifiedProperty("jobStatus");
            this.jobStatus = value;
        }
    
        public Long getLastUpdated() {
            checkSpecifiedProperty("lastUpdated");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/es/config/bsentity/dbmeta/JobLogDbm.java

            setupEpg(_epgMap, et -> ((JobLog) et).getJobName(), (et, vl) -> ((JobLog) et).setJobName(DfTypeUtil.toString(vl)), "jobName");
            setupEpg(_epgMap, et -> ((JobLog) et).getJobStatus(), (et, vl) -> ((JobLog) et).setJobStatus(DfTypeUtil.toString(vl)), "jobStatus");
            setupEpg(_epgMap, et -> ((JobLog) et).getLastUpdated(), (et, vl) -> ((JobLog) et).setLastUpdated(DfTypeUtil.toLong(vl)),
                    "lastUpdated");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 11K bytes
    - Viewed (0)
Back to top