Package com.atlassian.bamboo.utils
Class CronUtils
java.lang.Object
com.atlassian.bamboo.utils.CronUtils
Utility methods for cron related features.
- See Also:
-
CronExpression
-
Method Summary
Modifier and TypeMethodDescriptiongetCronExpressionValidationError
(@Nullable String cronExpression) Validates a cron expression, returning a possible validation error message
-
Method Details
-
getCronExpressionValidationError
@NotNull public static @NotNull Optional<String> getCronExpressionValidationError(@Nullable @Nullable String cronExpression) Validates a cron expression, returning a possible validation error message- Parameters:
cronExpression
- cron expression to validate- Returns:
- a possible validation error message
-