Class Rule
java.lang.Object
io.confluent.kafka.schemaregistry.client.rest.entities.Rule
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetDoc()getExpr()getKind()getMode()getName()If the mode is WRITEREAD or UPDOWN, the on-failure action can be a comma separated pair of actions, such as "none,error".If the mode is WRITEREAD or UPDOWN, the on-success action can be a comma separated pair of actions, such as "none,error".getTags()getType()inthashCode()booleantoString()voidvoidvalidate()
-
Field Details
-
NAME_MAX_LENGTH
public static final int NAME_MAX_LENGTH- See Also:
-
-
Constructor Details
-
Rule
-
-
Method Details
-
getName
-
getDoc
-
getKind
-
getMode
-
getType
-
getTags
-
getParams
-
getExpr
-
getOnSuccess
If the mode is WRITEREAD or UPDOWN, the on-success action can be a comma separated pair of actions, such as "none,error". The first action applies to WRITE (or UP) and the second action applies to READ (or DOWN). -
getOnFailure
If the mode is WRITEREAD or UPDOWN, the on-failure action can be a comma separated pair of actions, such as "none,error". The first action applies to WRITE (or UP) and the second action applies to READ (or DOWN). -
isDisabled
public boolean isDisabled() -
equals
-
hashCode
public int hashCode() -
toString
-
updateHash
-
validate
- Throws:
RuleException
-