Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- adjustInto(Temporal) - Method in class cloud.opencode.base.cron.CronExpression
-
Adjusts the temporal to the next execution time of this cron expression 将时间调节为此Cron表达式的下次执行时间
- 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
- countExecutionsBetween(String, ZonedDateTime, ZonedDateTime) - Static method in class cloud.opencode.base.cron.OpenCron
-
Counts executions between two times 计算两个时间点之间的执行次数
- countExecutionsBetween(ZonedDateTime, ZonedDateTime) - Method in class cloud.opencode.base.cron.CronExpression
-
Counts executions between two times 计算两个时间点之间的执行次数
- 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
- CronExplanation - Record Class in cloud.opencode.base.cron
-
Cron Explanation - One-Stop Debugging Info Container for Cron Expressions Cron解释 - Cron表达式的一站式调试信息容器
- CronExplanation(String, String, List, Duration) - Constructor for record class cloud.opencode.base.cron.CronExplanation
-
Compact constructor — validates inputs and creates a defensive copy of the list.
- 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 设置月中日字段
- dayOfMonthRange(int, int) - Method in class cloud.opencode.base.cron.CronBuilder
-
Sets the day-of-month field to a range (e.g., 10-20) 设置月中日字段为范围(如10-20)
- 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表达式的人类可读描述
- describe(String, Locale) - Static method in class cloud.opencode.base.cron.OpenCron
-
Gets a human-readable description in the specified locale 获取指定语言的人类可读描述
- describe(Locale) - Method in class cloud.opencode.base.cron.CronExpression
-
Gets a human-readable description in the specified locale 获取指定语言的人类可读描述
- description() - Method in record class cloud.opencode.base.cron.CronExplanation
-
Returns the value of the
descriptionrecord component. - displayName() - Method in enum class cloud.opencode.base.cron.CronField
-
Gets the display name of this field 获取此字段的显示名称
E
- equals(Object) - Method in record class cloud.opencode.base.cron.CronExplanation
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class cloud.opencode.base.cron.CronExpression
- estimatedInterval() - Method in record class cloud.opencode.base.cron.CronExplanation
-
Returns the value of the
estimatedIntervalrecord component. - 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)
- executionsBetween(String, ZonedDateTime, ZonedDateTime) - Static method in class cloud.opencode.base.cron.OpenCron
-
Lists all executions between two times 列出两个时间点之间的所有执行时间
- executionsBetween(ZonedDateTime, ZonedDateTime) - Method in class cloud.opencode.base.cron.CronExpression
-
Lists all executions between two times 列出两个时间点之间的所有执行时间
- executionsBetween(ZonedDateTime, ZonedDateTime, int) - Method in class cloud.opencode.base.cron.CronExpression
-
Lists executions between two times with a limit 列出两个时间点之间的执行时间(带限制)
- explain(String, ZonedDateTime) - Static method in class cloud.opencode.base.cron.OpenCron
-
Gets a comprehensive explanation for debugging 获取用于调试的综合解释信息
- explain(ZonedDateTime) - Method in class cloud.opencode.base.cron.CronExpression
-
Gets a comprehensive explanation for debugging 获取用于调试的综合解释信息
- expression() - Method in record class cloud.opencode.base.cron.CronExplanation
-
Returns the value of the
expressionrecord component.
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 record class cloud.opencode.base.cron.CronExplanation
-
Returns a hash code value for this object.
- hashCode() - Method in class cloud.opencode.base.cron.CronExpression
- hasOverlap(String, String, ZonedDateTime, ZonedDateTime) - Static method in class cloud.opencode.base.cron.OpenCron
-
Checks if two expressions overlap in a time range 检查两个表达式在时间范围内是否有重叠
- hasOverlapBetween(CronExpression, ZonedDateTime, ZonedDateTime) - Method in class cloud.opencode.base.cron.CronExpression
-
Checks if this and another expression have overlapping executions in a time range 检查此表达式与另一个表达式在时间范围内是否有重叠执行
- 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
- isEquivalent(String, String) - Static method in class cloud.opencode.base.cron.OpenCron
-
Checks if two cron expressions produce the same schedule 检查两个Cron表达式是否产生相同的调度
- isEquivalentTo(CronExpression) - Method in class cloud.opencode.base.cron.CronExpression
-
Checks if this expression is structurally equivalent to another 检查此表达式是否与另一个结构等价
- 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号午夜 - monthRange(int, int) - Method in class cloud.opencode.base.cron.CronBuilder
-
Sets the month field to a range (e.g., 3-9) 设置月份字段为范围(如3-9)
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(String, ZonedDateTime, Predicate) - Static method in class cloud.opencode.base.cron.OpenCron
-
Gets the next execution time that satisfies a filter 获取满足过滤条件的下次执行时间
- nextExecution(ZonedDateTime) - Method in class cloud.opencode.base.cron.CronExpression
-
Gets the next execution time after the given time 获取给定时间之后的下次执行时间
- nextExecution(ZonedDateTime, int) - Method in class cloud.opencode.base.cron.CronExpression
-
Gets the next execution time with configurable search window 获取可配置搜索窗口的下次执行时间
- nextExecution(ZonedDateTime, Predicate) - Method in class cloud.opencode.base.cron.CronExpression
-
Gets the next execution time that satisfies a filter 获取满足过滤条件的下次执行时间
- nextExecutions() - Method in record class cloud.opencode.base.cron.CronExplanation
-
Returns the value of the
nextExecutionsrecord component. - 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次执行时间
- nextOverlap(CronExpression, ZonedDateTime) - Method in class cloud.opencode.base.cron.CronExpression
-
Finds the next time both this and another expression fire simultaneously 查找此表达式与另一个表达式同时触发的下一个时间
- nextOverlap(String, String, ZonedDateTime) - Static method in class cloud.opencode.base.cron.OpenCron
-
Finds the next time both expressions fire simultaneously 查找两个表达式同时触发的下一个时间
- 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(String, ZonedDateTime, Predicate) - Static method in class cloud.opencode.base.cron.OpenCron
-
Gets the previous execution time that satisfies a filter 获取满足过滤条件的上次执行时间
- previousExecution(ZonedDateTime) - Method in class cloud.opencode.base.cron.CronExpression
-
Gets the previous execution time before the given time 获取给定时间之前的上次执行时间
- previousExecution(ZonedDateTime, int) - Method in class cloud.opencode.base.cron.CronExpression
-
Gets the previous execution time with configurable search window 获取可配置搜索窗口的上次执行时间
- previousExecution(ZonedDateTime, Predicate) - Method in class cloud.opencode.base.cron.CronExpression
-
Gets the previous execution time that satisfies a filter 获取满足过滤条件的上次执行时间
- 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) 解析字段字符串中的名称别名(不区分大小写)
- reverseStream(String, ZonedDateTime) - Static method in class cloud.opencode.base.cron.OpenCron
-
Returns a lazy stream of past execution times (newest first) 返回过去执行时间的惰性流(最新在前)
- reverseStream(ZonedDateTime) - Method in class cloud.opencode.base.cron.CronExpression
-
Returns a lazy, ordered stream of past execution times (newest first) 返回一个惰性的、有序的过去执行时间流(最新在前)
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)
- stream(String, ZonedDateTime) - Static method in class cloud.opencode.base.cron.OpenCron
-
Returns a lazy stream of future execution times 返回未来执行时间的惰性流
- stream(ZonedDateTime) - Method in class cloud.opencode.base.cron.CronExpression
-
Returns a lazy, ordered stream of future execution times 返回一个惰性的、有序的未来执行时间流
- 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 设置为星期四
- timeFromLastExecution(String, ZonedDateTime) - Static method in class cloud.opencode.base.cron.OpenCron
-
Gets the duration since the last execution 获取距上次执行的时间间隔
- timeFromLastExecution(ZonedDateTime) - Method in class cloud.opencode.base.cron.CronExpression
-
Gets the duration since the last execution 获取距上次执行的时间间隔
- timeToNextExecution(String, ZonedDateTime) - Static method in class cloud.opencode.base.cron.OpenCron
-
Gets the duration until the next execution 获取距下次执行的时间间隔
- timeToNextExecution(ZonedDateTime) - Method in class cloud.opencode.base.cron.CronExpression
-
Gets the duration until the next execution 获取距下次执行的时间间隔
- toString() - Method in record class cloud.opencode.base.cron.CronExplanation
-
Returns a nicely formatted multi-line debug output.
- 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