public class Rule extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
NAME_MAX_LENGTH |
| Constructor and Description |
|---|
Rule(String name,
String doc,
RuleKind kind,
RuleMode mode,
String type,
Set<String> tags,
Map<String,String> params,
String expr,
String onSuccess,
String onFailure,
boolean disabled) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getDoc() |
String |
getExpr() |
RuleKind |
getKind() |
RuleMode |
getMode() |
String |
getName() |
String |
getOnFailure()
If the mode is WRITEREAD or UPDOWN, the on-failure action can be a comma separated
pair of actions, such as "none,error".
|
String |
getOnSuccess()
If the mode is WRITEREAD or UPDOWN, the on-success action can be a comma separated
pair of actions, such as "none,error".
|
SortedMap<String,String> |
getParams() |
SortedSet<String> |
getTags() |
String |
getType() |
int |
hashCode() |
boolean |
isDisabled() |
String |
toString() |
void |
updateHash(MessageDigest md) |
void |
validate() |
public static final int NAME_MAX_LENGTH
public String getName()
public String getDoc()
public RuleKind getKind()
public RuleMode getMode()
public String getType()
public String getExpr()
public String getOnSuccess()
public String getOnFailure()
public boolean isDisabled()
public void updateHash(MessageDigest md)
public void validate()
throws RuleException
RuleExceptionCopyright © 2025 Confluent, Inc.. All rights reserved.