Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for scheduledJob (0.13 sec)

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

    import org.codelibs.fess.util.ComponentUtil;
    import org.lastaflute.job.LaScheduledJob;
    import org.lastaflute.job.key.LaJobUnique;
    
    /**
     * @author FreeGen
     */
    public class ScheduledJob extends BsScheduledJob {
    
        private static final long serialVersionUID = 1L;
    
        @Override
        public String getScriptType() {
            final String st = super.getScriptType();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/job/ScriptExecutorJob.java

            if (!runtime.getParameterMap().containsKey(Constants.SCHEDULED_JOB)) {
                logger.warn("{} is empty.", Constants.SCHEDULED_JOB);
                return;
            }
            runtime.stopIfNeeds();
    
            final SystemHelper systemHelper = ComponentUtil.getSystemHelper();
            final JobManager jobManager = ComponentUtil.getJobManager();
            final ScheduledJob scheduledJob = (ScheduledJob) runtime.getParameterMap().get(Constants.SCHEDULED_JOB);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/JobHelper.java

        public void register(final ScheduledJob scheduledJob) {
            final JobManager jobManager = ComponentUtil.getJobManager();
            jobManager.schedule(cron -> register(cron, scheduledJob));
        }
    
        public void register(final LaCron cron, final ScheduledJob scheduledJob) {
            if (scheduledJob == null) {
                throw new ScheduledJobException("No job.");
            }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/api/admin/scheduler/ApiAdminSchedulerAction.java

    import org.codelibs.fess.app.web.api.ApiResult.ApiResponse;
    import org.codelibs.fess.app.web.api.ApiResult.Status;
    import org.codelibs.fess.app.web.api.admin.FessApiAdminAction;
    import org.codelibs.fess.es.config.exentity.ScheduledJob;
    import org.lastaflute.web.Execute;
    import org.lastaflute.web.response.HtmlResponse;
    import org.lastaflute.web.response.JsonResponse;
    
    import jakarta.annotation.Resource;
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/service/ScheduledJobService.java

            });
        }
    
        public OptionalEntity<ScheduledJob> getScheduledJob(final String id) {
            return scheduledJobBhv.selectByPK(id);
        }
    
        public void delete(final ScheduledJob scheduledJob) {
            scheduledJobBhv.delete(scheduledJob, op -> {
                op.setRefreshPolicy(Constants.TRUE);
            });
            ComponentUtil.getJobHelper().remove(scheduledJob);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/es/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());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/job/AllJobScheduler.java

                    if (logger.isDebugEnabled()) {
                        logger.debug("Updating job schedule:{}", scheduledJob.getName());
                    }
                    try {
                        jobHelper.register(scheduledJob);
                    } catch (final Exception e) {
                        logger.warn("Failed to update schdule {}", scheduledJob, e);
                    }
                });
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/exception/JobNotFoundException.java

     */
    package org.codelibs.fess.exception;
    
    import org.codelibs.fess.es.config.exentity.ScheduledJob;
    
    public class JobNotFoundException extends FessSystemException {
    
        private static final long serialVersionUID = 1L;
    
        public JobNotFoundException(final ScheduledJob scheduledJob) {
            super(scheduledJob.toString());
        }
    
        public JobNotFoundException(final String message) {
            super(message);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/job/ExecJob.java

                final LaJobRuntime jobRuntime = ComponentUtil.getJobHelper().getJobRuntime();
                if (jobRuntime != null) {
                    final ScheduledJob job = (ScheduledJob) jobRuntime.getParameterMap().get(Constants.SCHEDULED_JOB);
                    if (job != null) {
                        prop.setProperty("job.runtime.id", job.getId());
                        prop.setProperty("job.runtime.name", job.getName());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/config/exbhv/ScheduledJobBhv.java

    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    import org.codelibs.core.lang.ThreadUtil;
    import org.codelibs.fess.es.config.bsbhv.BsScheduledJobBhv;
    import org.codelibs.fess.es.config.exentity.ScheduledJob;
    import org.codelibs.fess.util.ComponentUtil;
    import org.dbflute.optional.OptionalEntity;
    
    /**
     * @author FreeGen
     */
    public class ScheduledJobBhv extends BsScheduledJobBhv {
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.2K bytes
    - Viewed (0)
Back to top