Package com.atlassian.bamboo.utils
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 Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static @NotNull Optional<String>
getCronExpressionValidationError(@Nullable String cronExpression)
Validates a cron expression, returning a possible validation error message
-
-
-
Method Detail
-
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
-
-