Class CronUtils

java.lang.Object
com.atlassian.bamboo.utils.CronUtils

public class CronUtils extends Object
Utility methods for cron related features.
See Also:
  • CronExpression
  • 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