- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 63 for cron (0.01 sec)
-
src/test/java/org/codelibs/fess/validation/CronExpressionValidatorTest.java
}; // Test each pattern and see what actually works for (String cron : potentiallyValidCrons) { boolean result = validator.isValid(cron, context); // Don't assert true/false here, just test that method doesn't throw assertNotNull("Validation should return a boolean result for: " + cron, Boolean.valueOf(result)); } }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 4.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/validation/CronExpressionTest.java
violations = validator.validate(bean); assertTrue(violations.isEmpty()); } // Test validation with invalid cron expressions public void test_invalidCronExpressions() { TestBean bean = new TestBean(); // Test invalid cron expression bean.setCronExpression("invalid"); Set<ConstraintViolation<TestBean>> violations = validator.validate(bean);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/job/AllJobScheduler.java
/** The timestamp when the scheduler was last updated */ protected long schedulerTime; @Override public void schedule(final LaCron cron) { schedulerTime = systemHelper.getCurrentTimeAsLong(); scheduledJobService.start(cron); final String myName = fessConfig.getSchedulerTargetName(); if (StringUtil.isNotBlank(myName)) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 4.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/JobHelper.java
jobManager.schedule(cron -> register(cron, scheduledJob)); } /** * Registers a scheduled job with the specified cron scheduler. * * @param cron the cron scheduler to use * @param scheduledJob the scheduled job to register */ public void register(final LaCron cron, final ScheduledJob scheduledJob) { if (scheduledJob == null) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 10.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/validation/CronExpression.java
import java.lang.annotation.Retention; import java.lang.annotation.Target; import jakarta.validation.Constraint; import jakarta.validation.Payload; /** * Validation constraint to ensure that a string is a valid cron expression. */ @Target({ METHOD, FIELD, ANNOTATION_TYPE, CONSTRUCTOR, PARAMETER }) @Retention(RUNTIME) @Documented @Constraint(validatedBy = CronExpressionValidator.class) public @interface CronExpression {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 1.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/scheduler/CreateForm.java
@Size(max = 100) public String name; /** * The target class for the scheduled job. */ @Required @Size(max = 100) public String target; /** * The cron expression defining when the job should run. */ @Size(max = 100) @CronExpression public String cronExpression; /** * The type of script for the scheduled job. */ @Required
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 3.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/ScheduledJobService.java
cb.fetchFirst(fessConfig.getPageScheduledJobMaxFetchSizeAsInteger()); }); } /** * Starts all available scheduled jobs. * @param cron The cron scheduler. */ public void start(final LaCron cron) { scheduledJobBhv.selectCursor(cb -> { cb.query().setAvailable_Equal(Constants.T); cb.query().addOrderBy_SortOrder_Asc();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 6.2K bytes - Viewed (0) -
.github/workflows/scorecard.yml
branch_protection_rule: # To guarantee Maintained check is occasionally updated. See # https://github.com/ossf/scorecard/blob/main/docs/checks.md#maintained schedule: - cron: '45 9 * * 0' push: branches: [ "master" ] # Declare default permissions as read only. permissions: read-all jobs: analysis: name: Scorecard analysis runs-on: ubuntu-latest
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Sep 03 19:19:31 UTC 2025 - 2.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/validation/CronExpressionValidator.java
} @Override public boolean isValid(final String value, final ConstraintValidatorContext context) { return determineValid(value); } /** * Determines if the given value is a valid cron expression. * @param value the value to validate * @return true if valid, false otherwise */ protected boolean determineValid(final String value) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 1.7K bytes - Viewed (0) -
src/main/resources/fess_message_pl.properties
constraints.TypeAny.message = {item} nie może być przekonwertowane na {propertyType}. constraints.UriType.message = {item} ma nierozpoznany URI. constraints.CronExpression.message = {item} nie jest prawidłowym wyrażeniem CRON. # ---------------------------------------------------------- # Application Exception # --------------------- # /- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 10 04:56:21 UTC 2025 - 12.5K bytes - Viewed (0)