Uses of Record Class
cloud.opencode.base.rules.trace.RuleTrace
Packages that use RuleTrace
-
Uses of RuleTrace in cloud.opencode.base.rules.trace
Methods in cloud.opencode.base.rules.trace that return RuleTraceModifier and TypeMethodDescriptionstatic RuleTraceCreates a trace for a rule that failed during execution 创建执行期间失败的规则轨迹static RuleTraceCreates a trace for a rule that fired (condition matched and action executed) 创建已触发规则的轨迹(条件匹配且动作已执行)static RuleTraceRuleTrace.notMatched(String name, Duration duration) Creates a trace for a rule whose condition did not match 创建条件不匹配的规则轨迹static RuleTraceCreates a trace for a rule that was skipped (disabled) 创建被跳过(禁用)的规则轨迹Methods in cloud.opencode.base.rules.trace that return types with arguments of type RuleTraceModifier and TypeMethodDescriptionExecutionTrace.failedRules()Returns the list of rule traces that failed 返回已失败的规则轨迹列表ExecutionTrace.firedRules()Returns the list of rule traces that fired 返回已触发的规则轨迹列表Finds a rule trace by rule name 按规则名称查找规则轨迹ExecutionTrace.ruleTraces()Returns the value of theruleTracesrecord component.Method parameters in cloud.opencode.base.rules.trace with type arguments of type RuleTraceModifier and TypeMethodDescriptionstatic ExecutionTraceCreates an execution trace from a list of rule traces and total duration, computing fired/skipped/failed counts automatically 从规则轨迹列表和总持续时间创建执行轨迹,自动计算触发/跳过/失败计数Constructor parameters in cloud.opencode.base.rules.trace with type arguments of type RuleTraceModifierConstructorDescriptionExecutionTrace(List<RuleTrace> ruleTraces, Duration totalDuration, int firedCount, int skippedCount, int failedCount) Canonical constructor with validation 带验证的规范构造函数