Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- at(int, int) - Method in class cloud.opencode.base.cron.CronBuilder
-
Sets hour and minute for execution 设置执行的小时和分钟
B
- build() - Method in class cloud.opencode.base.cron.CronBuilder
-
Builds and parses the cron expression into a
CronExpression构建并解析Cron表达式为CronExpression - builder() - Static method in class cloud.opencode.base.cron.OpenCron
-
Creates a new cron expression builder 创建新的Cron表达式构建器
- buildExpression() - Method in class cloud.opencode.base.cron.CronBuilder
-
Builds the cron expression string 构建Cron表达式字符串
C
- cloud.opencode.base.cron - module cloud.opencode.base.cron
-
OpenCode Base Cron Module Cron 表达式模块
- cloud.opencode.base.cron - package cloud.opencode.base.cron
- cloud.opencode.base.cron.exception - package cloud.opencode.base.cron.exception
- create() - Static method in class cloud.opencode.base.cron.CronBuilder
-
Creates a new builder 创建新构建器
- CronBuilder - Class in cloud.opencode.base.cron
-
Cron Builder - Fluent API for Building Cron Expressions Cron构建器 - 构建Cron表达式的流式API
- CronExpression - Class in cloud.opencode.base.cron
-
Cron Expression - Full-Featured Cron Expression Parser and Evaluator Cron表达式 - 功能完整的Cron表达式解析器和评估器
- CronField - Enum Class in cloud.opencode.base.cron
-
Cron Field Definition - Enum for Cron Expression Fields Cron字段定义 - Cron表达式字段枚举
- CronMacro - Class in cloud.opencode.base.cron
-
Cron Macro - Predefined Cron Expression Shortcuts Cron宏 - 预定义的Cron表达式快捷方式
- CronValidator - Class in cloud.opencode.base.cron
-
Cron Validator - Cron Expression Validation Utility Cron验证器 - Cron表达式验证工具类
D
- DAILY - Static variable in class cloud.opencode.base.cron.OpenCron
-
@daily— Every day at midnight | 每天午夜 - day() - Method in class cloud.opencode.base.cron.CronBuilder
-
Sets to every day (default, no-op) 设置为每天(默认,无操作)
- DAY_OF_MONTH - Enum constant in enum class cloud.opencode.base.cron.CronField
-
Day of month field (1-31) 月中日字段(1-31)
- DAY_OF_WEEK - Enum constant in enum class cloud.opencode.base.cron.CronField
-
Day of week field (0-6, SUN=0) 星期字段(0-6,SUN=0)
- dayOfMonth(int) - Method in class cloud.opencode.base.cron.CronBuilder
-
Sets the day-of-month field 设置月中日字段
- dayOfWeek(DayOfWeek) - Method in class cloud.opencode.base.cron.CronBuilder
- describe() - Method in class cloud.opencode.base.cron.CronExpression
-
Gets a human-readable description of this expression 获取此表达式的人类可读描述
- describe(String) - Static method in class cloud.opencode.base.cron.OpenCron
-
Gets a human-readable description of a cron expression 获取Cron表达式的人类可读描述
- displayName() - Method in enum class cloud.opencode.base.cron.CronField
-
Gets the display name of this field 获取此字段的显示名称
E
- equals(Object) - Method in class cloud.opencode.base.cron.CronExpression
- every() - Static method in class cloud.opencode.base.cron.CronBuilder
-
Creates a new builder with fluent "every" semantics 创建具有"每"语义的新构建器
- everyDays(int) - Static method in class cloud.opencode.base.cron.CronBuilder
-
Creates schedule that fires every N days at midnight 创建每N天午夜触发的调度
- everyHours(int) - Static method in class cloud.opencode.base.cron.CronBuilder
-
Creates schedule that fires every N hours 创建每N小时触发的调度
- everyMinutes(int) - Static method in class cloud.opencode.base.cron.CronBuilder
-
Creates schedule that fires every N minutes 创建每N分钟触发的调度
- everySeconds(int) - Static method in class cloud.opencode.base.cron.CronBuilder
-
Creates schedule that fires every N seconds (6-field cron) 创建每N秒触发的调度(6字段cron)
F
- fieldError(String, int, int, int) - Static method in exception class cloud.opencode.base.cron.exception.OpenCronException
-
Creates exception for invalid field values 为无效字段值创建异常
- fieldError(String, String, String) - Static method in exception class cloud.opencode.base.cron.exception.OpenCronException
-
Creates exception for invalid field expression 为无效字段表达式创建异常
- friday() - Method in class cloud.opencode.base.cron.CronBuilder
-
Sets to Friday 设置为星期五
G
- getEstimatedInterval(String) - Static method in class cloud.opencode.base.cron.CronValidator
-
Gets the estimated interval between consecutive executions 获取连续执行之间的预估间隔
- getEstimatedInterval(String) - Static method in class cloud.opencode.base.cron.OpenCron
-
Gets the estimated interval between executions 获取执行之间的预估间隔
- getExpression() - Method in class cloud.opencode.base.cron.CronExpression
-
Gets the original expression string 获取原始表达式字符串
- getExpression() - Method in exception class cloud.opencode.base.cron.exception.OpenCronException
-
Gets the cron expression that caused the error 获取导致错误的Cron表达式
- getField() - Method in exception class cloud.opencode.base.cron.exception.OpenCronException
-
Gets the problematic field name 获取有问题的字段名称
H
- hashCode() - Method in class cloud.opencode.base.cron.CronExpression
- hasSeconds() - Method in class cloud.opencode.base.cron.CronExpression
-
Checks if this expression uses 6-field format (with seconds) 检查此表达式是否使用6字段格式(含秒)
- hour(int) - Method in class cloud.opencode.base.cron.CronBuilder
-
Sets the hour field 设置小时字段
- HOUR - Enum constant in enum class cloud.opencode.base.cron.CronField
-
Hours field (0-23) 小时字段(0-23)
- HOURLY - Static variable in class cloud.opencode.base.cron.OpenCron
-
@hourly— Every hour | 每小时 - hourRange(int, int) - Method in class cloud.opencode.base.cron.CronBuilder
-
Sets the hour field to a range 设置小时字段为范围
I
- isInRange(int) - Method in enum class cloud.opencode.base.cron.CronField
-
Checks if the given value is within the valid range 检查给定值是否在有效范围内
- isMacro(String) - Static method in class cloud.opencode.base.cron.CronMacro
-
Checks if the input is a known macro 检查输入是否是已知宏
- isValid(String) - Static method in class cloud.opencode.base.cron.CronValidator
-
Checks if a cron expression is valid 检查Cron表达式是否有效
- isValid(String) - Static method in class cloud.opencode.base.cron.OpenCron
-
Checks if a cron expression is valid 检查Cron表达式是否有效
L
- lastDayOfMonth() - Method in class cloud.opencode.base.cron.CronBuilder
-
Sets to the last day of the month (L) 设置为月最后一天(L)
- lastDayOfMonth(int) - Method in class cloud.opencode.base.cron.CronBuilder
-
Sets to N days before the last day of month (L-N) 设置为月最后一天前N天(L-N)
- lastDayOfWeek(DayOfWeek) - Method in class cloud.opencode.base.cron.CronBuilder
-
Sets to the last occurrence of a day of week in the month (nL) 设置为月中最后一个某星期几(nL)
- lastWeekdayOfMonth() - Method in class cloud.opencode.base.cron.CronBuilder
-
Sets to the last weekday of the month (LW) 设置为月最后一个工作日(LW)
M
- matches(ZonedDateTime) - Method in class cloud.opencode.base.cron.CronExpression
-
Check if a time matches this cron expression 检查时间是否匹配此Cron表达式
- max() - Method in enum class cloud.opencode.base.cron.CronField
-
Gets the maximum value 获取最大值
- min() - Method in enum class cloud.opencode.base.cron.CronField
-
Gets the minimum value 获取最小值
- minute(int) - Method in class cloud.opencode.base.cron.CronBuilder
-
Sets the minute field 设置分钟字段
- MINUTE - Enum constant in enum class cloud.opencode.base.cron.CronField
-
Minutes field (0-59) 分钟字段(0-59)
- minuteRange(int, int) - Method in class cloud.opencode.base.cron.CronBuilder
-
Sets the minute field to a range 设置分钟字段为范围
- monday() - Method in class cloud.opencode.base.cron.CronBuilder
-
Sets to Monday 设置为星期一
- month(int) - Method in class cloud.opencode.base.cron.CronBuilder
-
Sets the month field 设置月份字段
- MONTH - Enum constant in enum class cloud.opencode.base.cron.CronField
-
Month field (1-12) 月份字段(1-12)
- MONTHLY - Static variable in class cloud.opencode.base.cron.OpenCron
-
@monthly— 1st of each month at midnight | 每月1号午夜
N
- nearestWeekday(int) - Method in class cloud.opencode.base.cron.CronBuilder
-
Sets to the nearest weekday to a specific day (nW) 设置为最接近指定日的工作日(nW)
- nextExecution(String, ZonedDateTime) - Static method in class cloud.opencode.base.cron.OpenCron
-
Gets the next execution time 获取下次执行时间
- nextExecution(ZonedDateTime) - Method in class cloud.opencode.base.cron.CronExpression
-
Gets the next execution time after the given time 获取给定时间之后的下次执行时间
- nextExecutions(String, ZonedDateTime, int) - Static method in class cloud.opencode.base.cron.OpenCron
-
Gets the next N execution times 获取下N次执行时间
- nextExecutions(ZonedDateTime, int) - Method in class cloud.opencode.base.cron.CronExpression
-
Gets the next N execution times after the given time 获取给定时间之后的下N次执行时间
- nthDayOfWeek(DayOfWeek, int) - Method in class cloud.opencode.base.cron.CronBuilder
-
Sets to the Nth occurrence of a day of week in the month (n#m) 设置为月中第N个某星期几(n#m)
O
- OpenCron - Class in cloud.opencode.base.cron
-
OpenCron - Cron Expression Facade OpenCron - Cron表达式门面类
- OpenCronException - Exception Class in cloud.opencode.base.cron.exception
-
Cron Exception - Exception for Cron Expression Errors Cron异常 - Cron表达式错误异常
- OpenCronException(String) - Constructor for exception class cloud.opencode.base.cron.exception.OpenCronException
-
Constructs exception with message 构造带消息的异常
- OpenCronException(String, String, String, Throwable) - Constructor for exception class cloud.opencode.base.cron.exception.OpenCronException
-
Constructs exception with all diagnostic fields 构造带所有诊断字段的异常
- OpenCronException(String, Throwable) - Constructor for exception class cloud.opencode.base.cron.exception.OpenCronException
-
Constructs exception with message and cause 构造带消息和原因的异常
P
- parse(String) - Static method in class cloud.opencode.base.cron.CronExpression
-
Parse a cron expression 解析Cron表达式
- parse(String) - Static method in class cloud.opencode.base.cron.OpenCron
-
Parses a cron expression 解析Cron表达式
- parseError(String, String) - Static method in exception class cloud.opencode.base.cron.exception.OpenCronException
-
Creates exception for parse errors 为解析错误创建异常
- parseError(String, String, Throwable) - Static method in exception class cloud.opencode.base.cron.exception.OpenCronException
-
Creates exception for parse errors with cause 为带原因的解析错误创建异常
- previousExecution(String, ZonedDateTime) - Static method in class cloud.opencode.base.cron.OpenCron
-
Gets the previous execution time 获取上次执行时间
- previousExecution(ZonedDateTime) - Method in class cloud.opencode.base.cron.CronExpression
-
Gets the previous execution time before the given time 获取给定时间之前的上次执行时间
- previousExecutions(String, ZonedDateTime, int) - Static method in class cloud.opencode.base.cron.OpenCron
-
Gets the previous N execution times 获取前N次执行时间
- previousExecutions(ZonedDateTime, int) - Method in class cloud.opencode.base.cron.CronExpression
-
Gets the previous N execution times before the given time 获取给定时间之前的前N次执行时间
R
- resolve(String) - Static method in class cloud.opencode.base.cron.CronMacro
-
Resolves a macro to its cron expression 将宏解析为Cron表达式
- resolveAliases(String) - Method in enum class cloud.opencode.base.cron.CronField
-
Resolves name aliases in a field string (case-insensitive) 解析字段字符串中的名称别名(不区分大小写)
S
- saturday() - Method in class cloud.opencode.base.cron.CronBuilder
-
Sets to Saturday 设置为星期六
- second(int) - Method in class cloud.opencode.base.cron.CronBuilder
-
Sets the second field (enables 6-field cron format) 设置秒字段(启用6字段cron格式)
- SECOND - Enum constant in enum class cloud.opencode.base.cron.CronField
-
Seconds field (0-59) 秒字段(0-59)
- secondRange(int, int) - Method in class cloud.opencode.base.cron.CronBuilder
-
Sets the second field to a range (enables 6-field cron) 设置秒字段为范围(启用6字段cron)
- sunday() - Method in class cloud.opencode.base.cron.CronBuilder
-
Sets to Sunday 设置为星期日
T
- thursday() - Method in class cloud.opencode.base.cron.CronBuilder
-
Sets to Thursday 设置为星期四
- toString() - Method in class cloud.opencode.base.cron.CronExpression
- tuesday() - Method in class cloud.opencode.base.cron.CronBuilder
-
Sets to Tuesday 设置为星期二
U
- unknownMacro(String) - Static method in exception class cloud.opencode.base.cron.exception.OpenCronException
-
Creates exception for unknown macro 为未知宏创建异常
V
- validate(String) - Static method in class cloud.opencode.base.cron.CronValidator
-
Validates a cron expression 验证Cron表达式
- validate(String) - Static method in class cloud.opencode.base.cron.OpenCron
-
Validates a cron expression, throwing on failure 验证Cron表达式,失败时抛出异常
- validate(String, Duration) - Static method in class cloud.opencode.base.cron.CronValidator
-
Validates a cron expression with a minimum interval check 验证Cron表达式并检查最小间隔
- validate(String, Duration) - Static method in class cloud.opencode.base.cron.OpenCron
-
Validates a cron expression with minimum interval check 验证Cron表达式并检查最小间隔
- valueOf(String) - Static method in enum class cloud.opencode.base.cron.CronField
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class cloud.opencode.base.cron.CronField
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- wednesday() - Method in class cloud.opencode.base.cron.CronBuilder
-
Sets to Wednesday 设置为星期三
- weekdays() - Method in class cloud.opencode.base.cron.CronBuilder
-
Sets to weekdays (Monday-Friday) 设置为工作日(周一到周五)
- weekends() - Method in class cloud.opencode.base.cron.CronBuilder
-
Sets to weekends (Saturday-Sunday) 设置为周末(周六和周日)
- WEEKLY - Static variable in class cloud.opencode.base.cron.OpenCron
-
@weekly— Sunday at midnight | 每周日午夜
Y
- YEARLY - Static variable in class cloud.opencode.base.cron.OpenCron
-
@yearly— January 1st at midnight | 每年1月1日午夜
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form