public class Rule extends Object
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
disabled |
protected String |
doc |
protected String |
expr |
protected RuleKind |
kind |
protected RuleMode |
mode |
protected String |
name |
protected String |
onFailure |
protected String |
onSuccess |
protected Map<String,String> |
params |
protected Set<String> |
tags |
protected String |
type |
| Constructor and Description |
|---|
Rule() |
@Parameter(required=true) protected String name
@Parameter(required=false) protected String doc
@Parameter(required=false) protected RuleKind kind
@Parameter(required=false) protected RuleMode mode
@Parameter(required=true) protected String type
@Parameter(required=false) protected String expr
@Parameter(required=false) protected String onSuccess
@Parameter(required=false) protected String onFailure
@Parameter(required=false) protected boolean disabled
Copyright © 2026 Confluent, Inc.. All rights reserved.