Uses of Record Class
cloud.opencode.base.tree.result.TreeResult.Violation
Packages that use TreeResult.Violation
-
Uses of TreeResult.Violation in cloud.opencode.base.tree.result
Methods in cloud.opencode.base.tree.result that return TreeResult.ViolationModifier and TypeMethodDescriptionstatic TreeResult.ViolationCreate an error violation 创建错误违规static TreeResult.ViolationCreate an info violation 创建信息违规static TreeResult.ViolationCreate a simple violation 创建简单违规static TreeResult.ViolationCreate a violation with field 创建带字段的违规static TreeResult.ViolationCreate a violation with field and code 创建带字段和代码的违规static TreeResult.ViolationCreate a warning violation 创建警告违规static TreeResult.ViolationCreate a violation with value 创建带值的违规Methods in cloud.opencode.base.tree.result that return types with arguments of type TreeResult.ViolationModifier and TypeMethodDescriptionTreeResult.Validation.getErrors()Get error violations 获取错误违规TreeResult.Validation.getViolationsBySeverity(TreeResult.Violation.Severity severity) Get violations by severity 按严重程度获取违规TreeResult.Validation.getWarnings()Get warning violations 获取警告违规TreeResult.Validation.violations()Returns the value of theviolationsrecord component.Methods in cloud.opencode.base.tree.result with parameters of type TreeResult.ViolationModifier and TypeMethodDescriptionstatic <T> TreeResult<T> TreeResult.validation(TreeResult.Violation violation) Create a validation result with single violation 创建单个违规的验证结果Method parameters in cloud.opencode.base.tree.result with type arguments of type TreeResult.ViolationModifier and TypeMethodDescriptiondefault TreeResult<T> TreeResult.onValidation(Consumer<? super List<TreeResult.Violation>> action) Execute action if validation failure 如果验证失败则执行操作static <T> TreeResult<T> TreeResult.validation(List<TreeResult.Violation> violations) Create a validation result 创建验证结果Constructor parameters in cloud.opencode.base.tree.result with type arguments of type TreeResult.ViolationModifierConstructorDescriptionValidation(List<TreeResult.Violation> violations) Compact constructor 紧凑构造函数