Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for isEnabled (0.19 sec)

  1. src/main/java/org/codelibs/fess/app/web/api/admin/scheduler/ApiAdminSchedulerAction.java

        @Execute(urlPattern = "{}/@word")
        public JsonResponse<ApiResult> post$start(final String id) {
            scheduledJobService.getScheduledJob(id).ifPresent(entity -> {
                if (!entity.isEnabled() || entity.isRunning()) {
                    throwValidationErrorApi(messages -> {
                        messages.addErrorsFailedToStartJob(GLOBAL, entity.getName());
                    });
                }
                try {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 7.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/scheduler/AdminSchedulerAction.java

                        LaRequestUtil.getOptionalRequest().ifPresent(request -> {
                            request.setAttribute("running", entity.isRunning());
                            request.setAttribute("enabled", entity.isEnabled());
                        });
                    }).orElse(() -> {
                        throwValidationError(messages -> messages.addErrorsCrudCouldNotFindCrudTable(GLOBAL, id), this::asListHtml);
                    });
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 18.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/es/config/exentity/ScheduledJob.java

        public boolean isLoggingEnabled() {
            return Constants.T.equals(getJobLogging());
        }
    
        public boolean isCrawlerJob() {
            return Constants.T.equals(getCrawler());
        }
    
        public boolean isEnabled() {
            return Constants.T.equals(getAvailable());
        }
    
        public boolean isRunning() {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 3.1K bytes
    - Viewed (0)
Back to top